diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/appl/telnet/telnet/configure.in | 1 | ||||
| -rw-r--r-- | src/appl/telnet/telnet/telnet.c | 2 |
2 files changed, 2 insertions, 1 deletions
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*/ |
