From: thib Date: Tue, 23 Jan 2007 22:47:35 +0000 (+0000) Subject: replaced sys/termios.h by termios.h X-Git-Tag: ver3_0_3-rc1~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e868c60e854cd8dde759c0fd2e38bb9503ac8b1d;p=fcron replaced sys/termios.h by termios.h --- diff --git a/config.h.in b/config.h.in index 9984416..03d9818 100644 --- a/config.h.in +++ b/config.h.in @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: config.h.in,v 1.59 2007-01-01 18:51:50 thib Exp $ */ + /* $Id: config.h.in,v 1.60 2007-01-23 22:51:22 thib Exp $ */ /* *********************************************************** */ @@ -361,9 +361,6 @@ /* Define if you have the header file. */ #undef HAVE_SYS_SOCKET_H -/* Define if you have the header file. */ -#undef HAVE_SYS_TERMIOS_H - /* Define if you have the header file. */ #undef HAVE_SYS_TIME_H @@ -379,6 +376,9 @@ /* Define if you have the header file. */ #undef HAVE_SYSLOG_H +/* Define if you have the header file. */ +#undef HAVE_TERMIOS_H + /* Define if you have the header file. */ #undef HAVE_UNISTD_H diff --git a/configure.in b/configure.in index 32ae9f4..05d731d 100644 --- a/configure.in +++ b/configure.in @@ -9,7 +9,7 @@ AC_INIT(allow.c) AC_CONFIG_HEADER(config.h) AC_PREREQ(2.57) -vers="3.0.2-rc1" +vers="3.0.3-rc1" vers_quoted="\"$vers\"" AC_DEFINE_UNQUOTED(VERSION, $vers) AC_DEFINE_UNQUOTED(VERSION_QUOTED, $vers_quoted) @@ -38,13 +38,15 @@ AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(fcntl.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h) AC_CHECK_HEADERS(errno.h sys/fcntl.h getopt.h limits.h) AC_CHECK_HEADERS(stdarg.h) -AC_CHECK_HEADERS(sys/termios.h) +AC_CHECK_HEADERS(termios.h) AC_CHECK_HEADERS(strings.h) AC_CHECK_HEADERS(sys/types.h sys/socket.h sys/un.h) AC_CHECK_HEADERS(security/pam_appl.h pam/pam_appl.h crypt.h shadow.h) AC_CHECK_HEADERS(sys/resource.h) AC_CHECK_HEADERS(grp.h) +AC_CHECK_SIZEOF(time_t) + dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_PID_T diff --git a/global.h b/global.h index 78db5b1..1cf25c7 100644 --- a/global.h +++ b/global.h @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: global.h,v 1.46 2006-01-11 00:53:14 thib Exp $ */ + /* $Id: global.h,v 1.47 2007-01-23 22:49:03 thib Exp $ */ /* @@ -98,8 +98,8 @@ #include #endif -#ifdef HAVE_SYS_TERMIOS_H -#include +#ifdef HAVE_TERMIOS_H +#include #endif #ifdef HAVE_UNISTD_H