summaryrefslogtreecommitdiffstats
path: root/rules/readline.in
diff options
context:
space:
mode:
authorJuergen Beisert <j.beisert@pengutronix.de>2007-01-30 17:51:29 +0000
committerJuergen Beisert <j.beisert@pengutronix.de>2007-01-30 17:51:29 +0000
commit873a193b58dc8e094a13ae86c5ce0a4edd974981 (patch)
tree2e8b378f9108782627fe8d02716084956daf80b3 /rules/readline.in
parent55edb550782b92a0eedff95b95c3b49b8dd7fec0 (diff)
downloadptxdist-873a193b58dc8e094a13ae86c5ce0a4edd974981.tar.gz
ptxdist-873a193b58dc8e094a13ae86c5ce0a4edd974981.tar.xz
* readline: adding termcap or ncurses to be used
- configure does not do the right thing yet. If termcap and ncurses is found it selects termcap even if --with-curses was given git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6979 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/readline.in')
-rw-r--r--rules/readline.in33
1 files changed, 30 insertions, 3 deletions
diff --git a/rules/readline.in b/rules/readline.in
index 4d8cb2b27..aa76721b0 100644
--- a/rules/readline.in
+++ b/rules/readline.in
@@ -1,7 +1,34 @@
-config READLINE
+menuconfig READLINE
bool
- select NCURSES
+ select NCURSES if READLINE_NCURSES
+ select TERMCAP if READLINE_TERMCAP
select GCCLIBS_GCC_S
- prompt "readline"
+ prompt "readline "
help
Shared libraries for terminal handling
+
+choice
+ prompt "termcap library to be used"
+ 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"
+ help
+ Links the readline library against the termcap library
+
+ config READLINE_NCURSES
+ bool
+ prompt "ncurses"
+ help
+ Links the readline library against the ncurses library
+
+endchoice