From: Jaakko Heinonen Date: Tue, 23 Aug 2005 10:03:34 +0000 (+0000) Subject: - termios.h is not needed X-Git-Tag: upstream/0.6.1~2^2~174 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=ce5cddb064b82a0103d1e02f5749d8614dcdb6c6;p=pkg%2Fabook.git - termios.h is not needed --- diff --git a/config.h.in b/config.h.in index 812793b..7f64307 100644 --- a/config.h.in +++ b/config.h.in @@ -83,9 +83,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H -/* Define to 1 if you have the header file. */ -#undef HAVE_TERMIOS_H - /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H diff --git a/configure b/configure index 7d43b58..5e87a7c 100755 --- a/configure +++ b/configure @@ -4023,8 +4023,7 @@ fi - -for ac_header in unistd.h locale.h termios.h sys/ioctl.h +for ac_header in unistd.h locale.h sys/ioctl.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then diff --git a/configure.in b/configure.in index d75364f..01b2193 100644 --- a/configure.in +++ b/configure.in @@ -15,7 +15,7 @@ fi AC_C_INLINE AC_PROG_INSTALL AC_HEADER_STDC -AC_CHECK_HEADERS(unistd.h locale.h termios.h sys/ioctl.h) +AC_CHECK_HEADERS(unistd.h locale.h sys/ioctl.h) AC_CHECK_HEADER(stdarg.h,AC_DEFINE(HAVE_STDARG_H, 1, [Define if you have the header file.]),AC_MSG_ERROR([*** stdarg.h is missing on your system ***])) AC_FUNC_STRCOLL AC_CHECK_FUNCS(setlocale) diff --git a/ui.c b/ui.c index 4f162e1..40dc1e1 100644 --- a/ui.c +++ b/ui.c @@ -26,9 +26,6 @@ #ifdef HAVE_CONFIG_H # include "config.h" #endif -#ifdef HAVE_TERMIOS_H -# include -#endif #ifdef HAVE_SYS_IOCTL_H # include #endif