summaryrefslogtreecommitdiffhomepage
path: root/configure.in
diff options
context:
space:
mode:
authorjaortega <jaortega>2000-11-18 21:12:54 +0000
committerjaortega <jaortega>2000-11-18 21:12:54 +0000
commitf731595f43e2b2d204218efd0e2042312cc33a9d (patch)
treeb5eed566f6e79da8c7ef8836bf2e8c28091a787f /configure.in
parentcf46fd449bd2b7a6ff41ac174c46af5ac41eb509 (diff)
downloadmdk-f731595f43e2b2d204218efd0e2042312cc33a9d.tar.gz
mdk-f731595f43e2b2d204218efd0e2042312cc33a9d.tar.bz2
missing check for ncurses added to configure.in
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in9
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,