fix readline configuration: if readline not found autoconf should still
go on.
This commit is contained in:
parent
50dea76186
commit
7463a9d31d
11
configure.in
11
configure.in
@ -654,13 +654,12 @@ then
|
|||||||
AC_CHECK_LIB([readline], [main],[
|
AC_CHECK_LIB([readline], [main],[
|
||||||
AC_DEFINE([HAVE_LIBREADLINE], [1], [Define if you have libreadline])
|
AC_DEFINE([HAVE_LIBREADLINE], [1], [Define if you have libreadline])
|
||||||
LIBS="-lreadline $LIBS"
|
LIBS="-lreadline $LIBS"
|
||||||
],
|
|
||||||
[if test "x$with_readline" != xcheck; then
|
|
||||||
AC_MSG_FAILURE(
|
|
||||||
[--with-readline was given, but test for readline failed])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
AC_CHECK_TYPES([rl_hook_func_t, rl_completion_func_t])
|
AC_CHECK_TYPES([rl_hook_func_t, rl_completion_func_t])
|
||||||
|
],
|
||||||
|
[
|
||||||
|
AC_MSG_RESULT( [test for readline failed])
|
||||||
|
]
|
||||||
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$yap_cv_gmp" != "no"
|
if test "$yap_cv_gmp" != "no"
|
||||||
|
Reference in New Issue
Block a user