summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--configure.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.in b/configure.in
index dbf3774..3ff5d91 100644
--- a/configure.in
+++ b/configure.in
@@ -31,12 +31,12 @@ 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, readline, ,
- [AC_MSG_WARN(Cannot find GNU readline lib, using default flag)
- LIBS = "$LIBS -lreadline"])
+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_MSG_WARN(Cannot find GNU history lib... using default flag)
+ LIBS="$LIBS -lhistory"])
dnl Check for glib
AM_PATH_GLIB(1.2.0,