]> andersk Git - libfaim.git/blobdiff - configure.in
- Tue Mar 13 20:23:04 UTC 2001
[libfaim.git] / configure.in
index c7586a27b94ac6b0ef5726f7ccfe0a5abd6e91f2..5827443f2af802f1521d49c842d05ab4c6e1df40 100644 (file)
@@ -28,8 +28,6 @@ if test "$enable_debug" = yes ; then
         CFLAGS="$CFLAGS -Wall -g"
 fi
 
-AC_SUBST(CFLAGS)
-
 dnl Checks for header files.
 AC_HEADER_STDC
 AC_HEADER_SYS_WAIT
@@ -50,6 +48,14 @@ AC_FUNC_STRFTIME
 AC_FUNC_VPRINTF
 AC_CHECK_FUNCS(gethostname gettimeofday select socket strdup strstr strtol uname)
 
+AC_CHECK_LIB(readline, rl_callback_handler_install,
+       READLINELIB="-lreadline",
+       AC_MSG_ERROR(unable to find GNU readline);
+)
+
+AC_SUBST(CFLAGS)
+AC_SUBST(READLINELIB)
+
 AC_OUTPUT([
        Makefile
        include/Makefile
This page took 0.037323 seconds and 4 git commands to generate.