diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-03-06 19:18:29 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-03-06 19:18:29 +0000 |
commit | 773bb028e7355d831a58c06348ddc4cd1bfe61af (patch) | |
tree | 97ac92a3d42db350a94025cf60122cf175f9b46e /configure.in | |
parent | 87dd9b9b9d89c208b1a3feea7a6af2193a436ec9 (diff) | |
download | emacs-773bb028e7355d831a58c06348ddc4cd1bfe61af.tar.gz |
Check for ncurses.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in index a977091e79f..b16e2779a87 100644 --- a/configure.in +++ b/configure.in @@ -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 |