From 6a4657567b792e4ed67b9ea8ae4a4fa5c4c6b8fd Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 23 Jun 2000 15:39:33 +0000 Subject: [PATCH] Define the post-2.13 stuff conditionally on autoconf version. --- ChangeLog | 9 +++++++++ aclocal.m4 | 7 +++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e970ec8df3b..16686556a4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2000-06-23 Dave Love + + * configure.in [HAVE_TIMEVAL]: Move gettimeofday test here, test + for struct timezone and test how we can call gettimeofday. + Check for OSF 5+. + + * aclocal.m4: Define the post-2.13 stuff conditionally on autoconf + version. + 2000-06-23 Gerd Moellmann * configure.in (HAVE_LIBXP): Change test for libXp. diff --git a/aclocal.m4 b/aclocal.m4 index e5bc43cdbc1..f10d11c5500 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,6 +1,7 @@ dnl The following are from prerelease autoconf 2.14a. When 2.14 is dnl released, we should be able to zap them and just use AC_PREREQ(2.14). +ifelse(_AC_VERSION_COMPARE(AC_ACVERSION, [2.14]), -1, # AC_PROG_CC_STDC # --------------- @@ -278,8 +279,8 @@ else fi ])# AC_C_PROTOTYPES -dnl The following isn't in the prerelease autoconf at this time, but -dnl eggert expects it to go in eventually. +dnl The following is a bit different from the prerelease autoconf at +dnl this time since that requires extra definitions. dnl By default, many hosts won't let programs access large files; dnl one must use special compiler options to get large-file access to work. @@ -353,3 +354,5 @@ AC_DEFUN(AC_SYS_LARGEFILE, [#include ], [return !ftello;]) fi ]) + +) dnl ifelse -- 2.39.2