]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* bin/autom4te.in ($icache): Load it only if older than autom4te.
authorAkim Demaille <akim@epita.fr>
Thu, 9 Aug 2001 10:27:40 +0000 (10:27 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 9 Aug 2001 10:27:40 +0000 (10:27 +0000)
ChangeLog
bin/autom4te.in
configure

index be96cbd36abd8878a8060db0c87697273665e191..bed4659a333290ae5684441bc29a9763624a049c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-09  Akim Demaille  <akim@epita.fr>
+
+       * bin/autom4te.in ($icache): Load it only if older than autom4te.
+
 2001-08-07  Akim Demaille  <akim@epita.fr>
 
        * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be
index 4bd77dd29bae85bee6b94b3f5b14e7f163259132..5c1ffe0dd13e67fe5cc21b9fd4f9f13b303e368d 100644 (file)
@@ -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,
index 36b8e700c26149b717640c933b3b88e652f94fe9..52cce180284d088826acc328052a96d63de37f6a 100755 (executable)
--- 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 <bug-autoconf@gnu.org>.
 #
@@ -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 <<EOF
 ac_cs_version="\\
 GNU Autoconf config.status 2.52c
-configured by $0, generated by GNU Autoconf 2.52,
+configured by $0, generated by GNU Autoconf 2.52c,
   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
 
 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
@@ -1645,7 +1645,7 @@ cat >&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
-