Hello Noah,
thank you for your comments; all were accepted and committed,
see the attached patch.
Have a nice day,
Stepan
Index: ChangeLog
===================================================================
RCS file: /cvsroot/autoconf/autoconf/ChangeLog,v
retrieving revision 1.2587
diff -u -r1.2587 ChangeLog
--- ChangeLog 5 Jul 2005 11:08:41 -0000 1.2587
+++ ChangeLog 5 Jul 2005 11:23:16 -0000
@@ -1,5 +1,11 @@
2005-07-05 Stepan Kasal <[EMAIL PROTECTED]>
+ * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the
+ description, the macro now accepts only a single tag.
+ (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/
+
+2005-07-05 Stepan Kasal <[EMAIL PROTECTED]>
+
* lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also
at_top_builddir, for compatibility with older autotest.
* lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix
@@ -36,6 +42,15 @@
report a name for the working directory.
* NEWS: Remove the claim that we test for funny chars in dir names.
+2005-07-01 Stepan Kasal <[EMAIL PROTECTED]>
+
+ * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's
+ replaced ...
+ * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro.
+ * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE):
+ Now accept a single tag, not whitespace separated list.
+ (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop.
+
2005-06-30 Stepan Kasal <[EMAIL PROTECTED]>
* doc/autoconf.texi (Configuration Headers): Change the explanation
Index: lib/autoconf/status.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autoconf/status.m4,v
retrieving revision 1.68
diff -u -r1.68 status.m4
--- lib/autoconf/status.m4 4 Jul 2005 06:33:56 -0000 1.68
+++ lib/autoconf/status.m4 5 Jul 2005 11:23:16 -0000
@@ -213,7 +213,7 @@
# _AC_CONFIG_DEPENDENCIES(DEST[:SOURCE1[:SOURCE2...]])
# ----------------------------------------------------
-# Declare the DESTs depend upon their SOURCE1 etc.
+# Declare the DEST depends upon SOURCE1 etc.
m4_define([_AC_CONFIG_DEPENDENCIES],
[_AC_CONFIG_DEPENDENCY(m4_bpatsubst([$1], [:], [,]))dnl
])
@@ -224,12 +224,11 @@
#
# Verify that there is no double definition of an output file
# (precisely, guarantees there is no common elements between
-# CONFIG_HEADERS, CONFIG_FILES, CONFIG_LINKS, and CONFIG_SUBDIRS).
+# CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS, CONFIG_COMMANDS and
+# CONFIG_SUBDIRS).
#
-# Note that this macro does not check if the list $[1] itself
-# contains doubles.
m4_define([_AC_CONFIG_UNIQUE],
-[m4_pushdef([AC_Dest], m4_bpatsubst(AC_File, [:.*]))dnl
+[m4_pushdef([AC_Dest], m4_bpatsubst([$1], [:.*]))dnl
AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_FILES],
[AC_FATAL(`AC_Dest' [is already registered with AC_CONFIG_FILES.])])dnl
AC_CONFIG_IF_MEMBER(AC_Dest, [AC_LIST_HEADERS],