From f314ef0234dd04d11b12b1ccb13c191d5c1ba520 Mon Sep 17 00:00:00 2001 From: kcr Date: Thu, 18 Dec 2008 04:49:37 +0000 Subject: [PATCH] r4265@bucket (orig r255): kcr | 2008-01-20 22:14:09 -0500 get various prototypes and externs from termcap.h if it exists git-svn-id: svn://svn.1ts.org/debian/trunk/zephyr@327 cbed1d16-5ef5-0310-b6a1-d4a37b08ba1f --- 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 -- 2.45.2