]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Regenerate.
authoranoncvs <anoncvs>
Tue, 29 Oct 2002 17:54:01 +0000 (17:54 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:49 +0000 (12:08 +0200)
libasprintf/aclocal.m4

index 4607b33619cddc9ff1d665477955d8dda65a8c86..95c9894da3a01defd219677c68ac8d4093d8c9cc 100644 (file)
@@ -504,16 +504,18 @@ 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"
+echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
 ][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
                    m4_popdef([_AM_Dest])])],dnl
 [AC_CONFIG_HEADER([$1])