summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index a27a6ed..34e456c 100644
--- a/configure.in
+++ b/configure.in
@@ -734,6 +734,21 @@ AC_MSG_RESULT($withval)
LIBS="$withval $LIBS"
], AC_MSG_RESULT(no))
+# This is used to generate Setup.config
+AC_SUBST(USE_NCURSES_MODULE)
+AC_CHECK_LIB(ncurses, initscr,
+ [USE_NCURSES_MODULE=""],
+ [USE_NCURSES_MODULE="#"],
+ -ltermcap)
+
+# This is used to generate Setup.config
+AC_SUBST(USE_READLINE_MODULE)
+AC_CHECK_LIB(readline, readline,
+ [USE_READLINE_MODULE=""],
+ [USE_READLINE_MODULE="#"],
+ -ltermcap)
+
+# This is used to generate Setup.config
AC_SUBST(USE_THREAD_MODULE)
USE_THREAD_MODULE=""