configure: remove ncurses_lib from first readline test
This commit is contained in:
parent
7799e14770
commit
f632b6d4cb
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue