fix -lm
This commit is contained in:
parent
76088ca8b3
commit
d688ee0295
4
configure
vendored
4
configure
vendored
@ -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
|
||||
|
@ -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(
|
||||
|
Reference in New Issue
Block a user