From 30086a17f118c47befa0900eaf3b6ebc36e7b195 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 26 May 1998 19:32:02 +0000 Subject: [PATCH] * configure.in: Re-order check for setupterm to avoid lossage if setupterm is defined in libtermcap or libcurses. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10584 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/telnet/telnet/ChangeLog | 5 +++++ src/appl/telnet/telnet/configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/appl/telnet/telnet/ChangeLog b/src/appl/telnet/telnet/ChangeLog index 8bb990c7b..3e582855f 100644 --- a/src/appl/telnet/telnet/ChangeLog +++ b/src/appl/telnet/telnet/ChangeLog @@ -1,3 +1,8 @@ +Tue May 26 15:27:55 1998 Tom Yu + + * configure.in: Re-order check for setupterm to avoid lossage if + setupterm is defined in libtermcap or libcurses. + 1998-05-06 Theodore Ts'o * main.c (main): POSIX states that getopt returns -1 when it diff --git a/src/appl/telnet/telnet/configure.in b/src/appl/telnet/telnet/configure.in index 38e06cd30..2edefa2c7 100644 --- a/src/appl/telnet/telnet/configure.in +++ b/src/appl/telnet/telnet/configure.in @@ -3,11 +3,11 @@ CONFIG_RULES AC_PROG_INSTALL 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_FUNCS(gettosbyname setupterm) AC_CHECK_LIB(termcap,main,AC_DEFINE(TERMCAP) LIBS="$LIBS -ltermcap", AC_CHECK_LIB(curses,setupterm,LIBS="$LIBS -lcurses") ) +AC_CHECK_FUNCS(gettosbyname setupterm) AC_HEADER_CHECK(termios.h,AC_DEFINE(USE_TERMIO) ac_termio=1) if test -z "$ac_termio"; then AC_HEADER_CHECK(termio.h,AC_DEFINE(SYSV_TERMIO),ac_sysv_termio=1) -- 2.26.2