From: Akim Demaille Date: Thu, 9 Aug 2001 10:27:40 +0000 (+0000) Subject: * bin/autom4te.in ($icache): Load it only if older than autom4te. X-Git-Tag: AUTOCONF-2.52d~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b0cae0fed1b950ec8daabe6f697a1710eb8ca43;p=thirdparty%2Fautoconf.git * bin/autom4te.in ($icache): Load it only if older than autom4te. --- diff --git a/ChangeLog b/ChangeLog index be96cbd36..bed4659a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-08-09 Akim Demaille + + * bin/autom4te.in ($icache): Load it only if older than autom4te. + 2001-08-07 Akim Demaille * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be diff --git a/bin/autom4te.in b/bin/autom4te.in index 4bd77dd29..5c1ffe0dd 100644 --- a/bin/autom4te.in +++ b/bin/autom4te.in @@ -958,8 +958,11 @@ if (! -d "$cache") or die "$me: cannot create $cache: $!\n"; } +# Read the cache index if available and older than autom4te itself. +# If autom4te is younger, then some structures such as Request, might +# have changed, which would corrupt its processing. Request->load ($icache) - if -f $icache; + if -f $icache && mtime ($icache) > mtime ($0); # Add the new trace requests. my $req = Request->request ('input' => \@ARGV, diff --git a/configure b/configure index 36b8e700c..52cce1802 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by Autoconf 2.52 for GNU Autoconf 2.52c. +# Generated by Autoconf 2.52c for GNU Autoconf 2.52c. # # Report bugs to . # @@ -657,7 +657,7 @@ test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\EOF GNU Autoconf configure 2.52c -generated by GNU Autoconf 2.52 +generated by GNU Autoconf 2.52c Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. @@ -672,7 +672,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU Autoconf $as_me 2.52c, which was -generated by GNU Autoconf 2.52. Invocation command line was +generated by GNU Autoconf 2.52c. Invocation command line was $ $0 $@ @@ -1563,7 +1563,7 @@ EOF cat >>$CONFIG_STATUS <&5 << _ACEOF ## Running config.status. ## ## ----------------------- ## -This file was extended by $as_me (GNU Autoconf 2.52c) 2.52, executed with +This file was extended by $as_me (GNU Autoconf 2.52c) 2.52c, executed with CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS @@ -1982,4 +1982,3 @@ Below you will find information on the status of this version of Autoconf. EOF sed -n '/^\* Status/,$p' $srcdir/BUGS -