From: Mark Eichin Date: Mon, 8 Aug 1994 23:11:36 +0000 (+0000) Subject: test for setupterm explicitly X-Git-Tag: krb5-1.0-beta4.2~52 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5d984e906a0f9cea15598f5ff5e220aeb0dc5ea1;p=krb5.git test for setupterm explicitly git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4066 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/telnet/telnet/configure.in b/src/appl/telnet/telnet/configure.in index 5a12b2d0e..471bab620 100644 --- a/src/appl/telnet/telnet/configure.in +++ b/src/appl/telnet/telnet/configure.in @@ -22,6 +22,7 @@ AC_FUNC_CHECK(gettosbyname,AC_DEFINE(HAS_GETTOS)) AC_HEADER_CHECK(sys/filio.h,AC_DEFINE(FILIO_H)) AC_HEADER_CHECK(sys/stream.h,AC_DEFINE(STREAMS)) AC_FUNC_CHECK(cgetent,AC_DEFINE(HAS_CGETENT)) +AC_FUNC_CHECK(setupterm,AC_DEFINE(HAS_SETUPTERM)) AC_HAVE_LIBRARY(-lndbm) AC_HAVE_LIBRARY(-ldbm) AC_OUTPUT(Makefile,[EXTRA_RULES]) diff --git a/src/appl/telnet/telnet/telnet.c b/src/appl/telnet/telnet/telnet.c index e1008313b..0b5f97357 100644 --- a/src/appl/telnet/telnet/telnet.c +++ b/src/appl/telnet/telnet/telnet.c @@ -740,7 +740,7 @@ is_unique(name, as, ae) return (1); } -#ifdef TERMCAP +#ifndef HAS_SETUPTERM char termbuf[1024]; /*ARGSUSED*/