Browse Source

new automake patch

Paul Eggert 23 years ago
parent
commit
1735867f56
1 changed files with 34 additions and 0 deletions
  1. 34 0
      README-alpha

+ 34 - 0
README-alpha

@@ -23,6 +23,12 @@ Please send comments and problem reports to <[email protected]>.
 
 This release was built with GNU automake 1.5 patched as follows:
 
+2001-09-24  Paul Eggert  <[email protected]>
+
+	* 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  <[email protected]>
 
 	* 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])