diff options
author | Karl Ramm <kcr@mit.edu> | 2008-01-21 03:14:09 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2008-01-21 03:14:09 +0000 |
commit | a418b69cbced2ce64bf55796fdb890026233e65e (patch) | |
tree | 945735c7be9d437acfe7919a5d50afbc1a8a9b96 | |
parent | b6ea75cfc9712b77a0886c4348d6fb519641e40e (diff) |
get various prototypes and externs from termcap.h if it exists
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | zwgc/tty_filter.c | 1 |
3 files changed, 3 insertions, 3 deletions
@@ -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 <termcap.h> #endif |