From a418b69cbced2ce64bf55796fdb890026233e65e Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Mon, 21 Jan 2008 03:14:09 +0000 Subject: get various prototypes and externs from termcap.h if it exists --- configure | 3 ++- configure.in | 2 +- zwgc/tty_filter.c | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index efc8d42..9ec9b6c 100755 --- a/configure +++ b/configure @@ -21330,7 +21330,8 @@ done -for ac_header in sys/select.h sys/msgbuf.h sys/cdefs.h krb5_err.h + +for ac_header in sys/select.h sys/msgbuf.h sys/cdefs.h krb5_err.h termcap.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then diff --git a/configure.in b/configure.in index fc16ee7..d1c4f6b 100644 --- a/configure.in +++ b/configure.in @@ -37,7 +37,7 @@ AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h paths.h termios.h sgtty.h unistd.h malloc.h) AC_CHECK_HEADERS(sys/filio.h sys/ioctl.h sys/time.h sys/file.h sys/utsname.h) -AC_CHECK_HEADERS(sys/select.h sys/msgbuf.h sys/cdefs.h krb5_err.h) +AC_CHECK_HEADERS(sys/select.h sys/msgbuf.h sys/cdefs.h krb5_err.h termcap.h) if test "$no_x" != "yes"; then ZWGC_LIBX11=-lX11 diff --git a/zwgc/tty_filter.c b/zwgc/tty_filter.c index f2b6024..e1cfe98 100644 --- a/zwgc/tty_filter.c +++ b/zwgc/tty_filter.c @@ -24,7 +24,6 @@ static const char rcsid_tty_filter_c[] = "$Id$"; /* The tty & plain filters: */ /* */ /****************************************************************************/ -#define HAVE_TERMCAP_H #ifdef HAVE_TERMCAP_H #include #endif -- cgit v1.2.3