summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rules/readline.in7
-rw-r--r--rules/readline.make11
2 files changed, 3 insertions, 15 deletions
diff --git a/rules/readline.in b/rules/readline.in
index d531c7c6a..036860409 100644
--- a/rules/readline.in
+++ b/rules/readline.in
@@ -13,13 +13,6 @@ choice
default READLINE_NCURSES
depends on READLINE
- config READLINE_NOPREFERENCE
- bool
- prompt "no preference"
- help
- Tries to autodetect what library is present. If ncurses
- and termcap will be found termcap has precedence over ncurses.
-
config READLINE_TERMCAP
bool
prompt "termcap"
diff --git a/rules/readline.make b/rules/readline.make
index 5df94bb13..385777c5d 100644
--- a/rules/readline.make
+++ b/rules/readline.make
@@ -32,16 +32,11 @@ READLINE_LICENSE := GPL-3.0+
READLINE_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
+ --disable-multibyte \
--enable-shared \
--disable-static\
- --disable-multibyte
-
-ifdef PTXCONF_READLINE_TERMCAP
-READLINE_AUTOCONF += --without-curses
-endif
-ifdef PTXCONF_READLINE_NCURSES
-READLINE_AUTOCONF += --with-curses
-endif
+ $(GLOBAL_LARGE_FILE_OPTION) \
+ --$(call ptx/wwo,PTXCONF_READLINE_NCURSES)-curses
# ----------------------------------------------------------------------------
# Target-Install