diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/configure.in b/configure.in index 3ff5d91..12d178d 100644 --- a/configure.in +++ b/configure.in @@ -31,12 +31,9 @@ test "x$prefix" = xNONE && prefix=$ac_default_prefix AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/share/locale") dnl Check for readline and history -AC_CHECK_LIB(readline, completion_matches, , - [AC_MSG_WARN(Cannot find GNU readline lib... using default flag) - LIBS="$LIBS -lreadline"]) -AC_CHECK_LIB(history, add_history, , - [AC_MSG_WARN(Cannot find GNU history lib... using default flag) - LIBS="$LIBS -lhistory"]) +AC_CHECK_LIB(ncurses, initscr, , AC_MSG_ERROR(Cannot find ncurses lib)) +AC_CHECK_LIB(readline, readline, , AC_MSG_ERROR(Cannot find GNU readline lib)) +AC_CHECK_LIB(history, add_history, , AC_MSG_ERROR(Cannot find GNU history lib)) dnl Check for glib AM_PATH_GLIB(1.2.0, |