This commit is contained in:
Vitor Santos Costa 2012-09-27 11:48:58 +01:00
parent 76088ca8b3
commit d688ee0295
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -6579,7 +6579,7 @@ fi
$as_echo "$ac_cv_lib_ncurses_main" >&6; }
if test "x$ac_cv_lib_ncurses_main" = xyes; then :
LDFLAGS="-lncurses $LDFLAGS"
LIBS="-lncurses $LIBS"
fi
@ -6618,7 +6618,7 @@ if test "x$ac_cv_lib_readline_main" = xyes; then :
$as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
LIBS="-lreadline $LDFLAGS"
LIBS="-lreadline $LIBS"
else
if test "x$with_readline" != xcheck; then

View File

@ -748,11 +748,11 @@ fi
if test "$yap_cv_readline" != "no"
then
AC_CHECK_LIB([ncurses], [main],[
LDFLAGS="-lncurses $LDFLAGS"
LIBS="-lncurses $LIBS"
])
AC_CHECK_LIB([readline], [main],[
AC_DEFINE([HAVE_LIBREADLINE], [1],[Define if you have libreadline])
LIBS="-lreadline $LDFLAGS"
LIBS="-lreadline $LIBS"
],
[if test "x$with_readline" != xcheck; then
AC_MSG_FAILURE(