From: Theodore Tso Date: Wed, 14 Apr 1999 16:01:02 +0000 (+0000) Subject: configure.in: Check for setupterm() in libncurses in addition to X-Git-Tag: krb5-1.1-beta1~227 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f43d8e40871a50f389d4c966bd5cf35da8c9e40;p=krb5.git configure.in: Check for setupterm() in libncurses in addition to libcurses. (Will be needed for Linux/Redhat 6.0) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11358 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog index a843a7f05..f8a986b60 100644 --- a/src/appl/telnet/telnet/ChangeLog +++ b/src/appl/telnet/telnet/ChangeLog @@ -1,3 +1,8 @@ +1999-04-13 + + * configure.in: Check for setupterm() in libncurses in addition to + libcurses. (Will be needed for Linux/Redhat 6.0) + 1998-11-13 Theodore Ts'o * Makefile.in: Set the myfulldir and mydir variables (which are diff --git a/src/appl/telnet/telnet/configure.in b/src/appl/telnet/telnet/configure.in index 2edefa2c7..f7edb158b 100644 --- a/src/appl/telnet/telnet/configure.in +++ b/src/appl/telnet/telnet/configure.in @@ -5,8 +5,9 @@ AC_VFORK AC_CHECK_HEADERS(string.h arpa/nameser.h unistd.h sys/select.h stdlib.h arpa/inet.h sys/filio.h) AC_CHECK_LIB(termcap,main,AC_DEFINE(TERMCAP) LIBS="$LIBS -ltermcap", - AC_CHECK_LIB(curses,setupterm,LIBS="$LIBS -lcurses") -) + AC_CHECK_LIB(curses,setupterm,LIBS="$LIBS -lcurses", + AC_CHECK_LIB(ncurses,setupterm,LIBS="$LIBS -lncurses") +)) AC_CHECK_FUNCS(gettosbyname setupterm) AC_HEADER_CHECK(termios.h,AC_DEFINE(USE_TERMIO) ac_termio=1) if test -z "$ac_termio"; then