]> git.eshelyaron.com Git - emacs.git/commitdiff
Check for ncurses.
authorRichard M. Stallman <rms@gnu.org>
Wed, 6 Mar 1996 19:18:29 +0000 (19:18 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 6 Mar 1996 19:18:29 +0000 (19:18 +0000)
configure.in

index a977091e79f8e56faef225228d5d750592e1c640..b16e2779a87d643713df474c636aac3f41683aa6 100644 (file)
@@ -1235,6 +1235,12 @@ AC_CHECK_LIB(Xbsd, main, LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd")
 
 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