]> Dogcows Code - chaz/tar/commitdiff
new automake patch
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Sep 2001 20:07:51 +0000 (20:07 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 26 Sep 2001 20:07:51 +0000 (20:07 +0000)
README-alpha

index a37193b9e235f47ab46ea69319d399fdda84bb52..3c45c19c6e6ea3a05b92c6d966a7bba69493939b 100644 (file)
@@ -23,6 +23,12 @@ Please send comments and problem reports to <bug-tar@gnu.org>.
 
 This release was built with GNU automake 1.5 patched as follows:
 
+2001-09-24  Paul Eggert  <eggert@twinsun.com>
+
+       * m4/header.m4 (_AM_Config_Header_Index): Remove.
+       (AM_CONFIG_HEADER): Don't use it.  It wasn't working, and was
+       causing needless rebuilds.
+
 2001-09-14  Paul Eggert  <eggert@twinsun.com>
 
        * lib/am/distdir.am (REMOVE_DISTDIR):
@@ -129,6 +135,34 @@ diff -pu -r1.5 -r1.5.0.1
        @echo "$(distdir).tar.gz is ready for distribution" | \
          sed 'h;s/./=/g;p;x;p;x'
  endif %?TOPDIR_P%
+===================================================================
+RCS file: m4/header.m4,v
+retrieving revision 1.5
+retrieving revision 1.5.0.1
+diff -pu -r1.5 -r1.5.0.1
+--- m4/header.m4       2001/07/21 05:27:26     1.5
++++ m4/header.m4       2001/09/24 18:29:30     1.5.0.1
+@@ -11,18 +11,16 @@ AC_PREREQ([2.12])
+ AC_DEFUN([AM_CONFIG_HEADER],
+ [ifdef([AC_FOREACH],dnl
+-       [dnl init our file count if it isn't already
+-       m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
++       [
+        dnl prepare to store our destination file list for use in config.status
+        AC_FOREACH([_AM_File], [$1],
+                   [m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
+-                  m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
+                   dnl and add it to the list of files AC keeps track of, along
+                   dnl with our hook
+                   AC_CONFIG_HEADERS(_AM_File,
+ dnl COMMANDS, [, INIT-CMDS]
+ [# update the timestamp
+-echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
++echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h"
+ ][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
+                   m4_popdef([_AM_Dest])])],dnl
+ [AC_CONFIG_HEADER([$1])
 
 
 
This page took 0.024594 seconds and 4 git commands to generate.