configure: remove ncurses_lib from first readline test

This commit is contained in:
Miroslav Lichvar 2014-08-13 10:49:06 +02:00
parent 7799e14770
commit f632b6d4cb

4
configure vendored
View file

@ -535,12 +535,12 @@ if [ $feat_readline = "1" ]; then
if [ "x$READLINE_LINK" = "x" ] && [ $try_readline = "1" ]; then if [ "x$READLINE_LINK" = "x" ] && [ $try_readline = "1" ]; then
if test_code readline 'stdio.h readline/readline.h readline/history.h' \ if test_code readline 'stdio.h readline/readline.h readline/history.h' \
"$readline_inc" "$readline_lib $ncurses_lib -lreadline" \ "$readline_inc" "$readline_lib -lreadline" \
'add_history(readline("prompt"));' 'add_history(readline("prompt"));'
then then
add_def FEAT_READLINE add_def FEAT_READLINE
READLINE_COMPILE="$readline_inc" READLINE_COMPILE="$readline_inc"
READLINE_LINK="$readline_lib $ncurses_lib -lreadline" READLINE_LINK="$readline_lib -lreadline"
fi fi
fi fi