From a726016710323f1078698ae6284273bffda63304 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 1 Sep 2010 19:26:42 +0200 Subject: [PATCH] bash: improved to use the installed libreadline if possible --- shells/bash/bash.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shells/bash/bash.conf b/shells/bash/bash.conf index 22ecd773e..c371a3c56 100644 --- a/shells/bash/bash.conf +++ b/shells/bash/bash.conf @@ -54,6 +54,11 @@ fi var_append confopt " " "--without-bash-malloc" +# use the installed libreadline if possible +if pkginstalled readline; then + var_append extraconfopt ' ' "--with-installed-readline" +fi + [ "$SDECFG_PKG_BASH_PROGCOMP" = 0 ] && var_append confopt " " "--disable-progcomp" [ "$SDECFG_PKG_BASH_HELP_CMD" = 0 ] &&