changeset 14774:6ad33cc68905

Check for ncurses.
author Richard M. Stallman <rms@gnu.org>
date Wed, 06 Mar 1996 19:18:29 +0000
parents 045d60026d13
children f4cc1bc9ec2c
files configure.in
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Mar 06 19:17:17 1996 +0000
+++ b/configure.in	Wed Mar 06 19:18:29 1996 +0000
@@ -1235,6 +1235,12 @@
 
 AC_CHECK_LIB(pthreads, cma_open)
 
+dnl If we can find a tparm in libcurses.a, it means we have ncurses.
+AC_CHECK_LIB(curses, tparm, HAVE_NCURSES=yes)
+if test x"${HAVE_NCURSES}" = "xyes" ; then
+  AC_DEFINE(HAVE_NCURSES)
+fi
+
 AC_MSG_CHECKING(for XFree86)
 if test -d /usr/X386/include; then
   HAVE_XFREE386=yes