diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2007-01-30 17:51:29 +0000 |
---|---|---|
committer | Juergen Beisert <j.beisert@pengutronix.de> | 2007-01-30 17:51:29 +0000 |
commit | 873a193b58dc8e094a13ae86c5ce0a4edd974981 (patch) | |
tree | 2e8b378f9108782627fe8d02716084956daf80b3 /rules/readline.make | |
parent | 55edb550782b92a0eedff95b95c3b49b8dd7fec0 (diff) | |
download | ptxdist-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.make')
-rw-r--r-- | rules/readline.make | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/rules/readline.make b/rules/readline.make index be9e44484..5ce1942fe 100644 --- a/rules/readline.make +++ b/rules/readline.make @@ -2,7 +2,7 @@ # $Id: template 1681 2004-09-01 18:12:49Z $ # # Copyright (C) 2004 by Sascha Hauer -# +# # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions @@ -65,7 +65,18 @@ READLINE_MAKEVARS = DESTDIR=$(SYSROOT) # # autoconf # -READLINE_AUTOCONF = $(CROSS_AUTOCONF_USR) +READLINE_AUTOCONF := $(CROSS_AUTOCONF_USR) \ + --enable-shared \ + --disable-static\ + --disable-multibyte + +ifdef PTXCONF_READLINE_TERMCAP +READLINE_AUTOCONF += --without-curses +endif +ifdef PTXCONF_READLINE_NCURSES +# uses termcap instead of ncurses if both are found! +READLINE_AUTOCONF += --with-curses +endif $(STATEDIR)/readline.prepare: $(readline_prepare_deps_default) @$(call targetinfo, $@) |