]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1999-10-31 Akim Demaille <akim@epita.fr>
authorAkim Demaille <akim@epita.fr>
Tue, 21 Dec 1999 11:08:51 +0000 (11:08 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 21 Dec 1999 11:08:51 +0000 (11:08 +0000)
Remove spurious empty lines appearing in configures.

* acgeneral.m4 (AC_CONFIG_UNIQUE): Produce no output.  Instead of
  fighting with dnl, divert to KILL upon entry, and pop at exit.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index e5086cce0d2c3a976e7c4954f95d12bf98e47b80..e137c375aa1782ccc8a917ce52de9ed444e1a147 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,14 @@
 1999-10-31  Akim Demaille  <akim@epita.fr>
 
-       * acgeneral.m4 (AC_INIT_PARSE_ARGS): Avoid to use double quotes
-       inside "`...`": some shells parse this inccorrectly.
+       Remove spurious empty lines appearing in configures.
+
+       * acgeneral.m4 (AC_CONFIG_UNIQUE): Produce no output.  Instead of
+       fighting with dnl, divert to KILL upon entry, and pop at exit.
+
+1999-10-31  Akim Demaille  <akim@epita.fr>
+
+       * acgeneral.m4 (AC_INIT_PARSE_ARGS): Avoid using double quotes
+       inside "`...`": some shells parse this incorrectly.
 
 1999-10-31  Akim Demaille  <akim@epita.fr>
 
index c877bed95df6cc450a6d68d826382f473eaba0ca..3b188cc844511b202c2ef4e0ac3fba8cc04137b5 100644 (file)
@@ -2928,8 +2928,10 @@ dnl ----------------------------------
 dnl Verify that there is no double definition of an output file
 dnl (precisely, guarantees there is no common elements between
 dnl CONFIG_HEADERS, CONFIG_FILES, CONFIG_LINKS, and CONFIG_SUBDIRS).
+dnl This macro should output nothing, so we divert to /dev/null.
 define(AC_CONFIG_UNIQUE,
-[AC_FOREACH([AC_File], [$1],
+[AC_DIVERT_PUSH(AC_DIVERSION_KILL)
+AC_FOREACH([AC_File], [$1],
  [AC_CONFIG_IF_MEMBER(AC_File, [AC_LIST_HEADERS],
      [AC_FATAL(`AC_File' [is already registered with AC_CONFIG_HEADER or AC_CONFIG_HEADERS.])])
   AC_CONFIG_IF_MEMBER(AC_File, [AC_LIST_LINKS],
@@ -2939,7 +2941,8 @@ define(AC_CONFIG_UNIQUE,
   AC_CONFIG_IF_MEMBER(AC_File, [AC_LIST_COMMANDS],
      [AC_FATAL(`AC_File' [is already registered with AC_CONFIG_COMMANDS.])])
   AC_CONFIG_IF_MEMBER(AC_File, [AC_LIST_FILES],
-     [AC_FATAL(`AC_File' [is already registered with AC_CONFIG_FILES or AC_OUTPUT.])])])dnl
+     [AC_FATAL(`AC_File' [is already registered with AC_CONFIG_FILES or AC_OUTPUT.])])])
+AC_DIVERT_POP()dnl
 ])
 
 
index c877bed95df6cc450a6d68d826382f473eaba0ca..3b188cc844511b202c2ef4e0ac3fba8cc04137b5 100644 (file)
@@ -2928,8 +2928,10 @@ dnl ----------------------------------
 dnl Verify that there is no double definition of an output file
 dnl (precisely, guarantees there is no common elements between
 dnl CONFIG_HEADERS, CONFIG_FILES, CONFIG_LINKS, and CONFIG_SUBDIRS).
+dnl This macro should output nothing, so we divert to /dev/null.
 define(AC_CONFIG_UNIQUE,
-[AC_FOREACH([AC_File], [$1],
+[AC_DIVERT_PUSH(AC_DIVERSION_KILL)
+AC_FOREACH([AC_File], [$1],
  [AC_CONFIG_IF_MEMBER(AC_File, [AC_LIST_HEADERS],
      [AC_FATAL(`AC_File' [is already registered with AC_CONFIG_HEADER or AC_CONFIG_HEADERS.])])
   AC_CONFIG_IF_MEMBER(AC_File, [AC_LIST_LINKS],
@@ -2939,7 +2941,8 @@ define(AC_CONFIG_UNIQUE,
   AC_CONFIG_IF_MEMBER(AC_File, [AC_LIST_COMMANDS],
      [AC_FATAL(`AC_File' [is already registered with AC_CONFIG_COMMANDS.])])
   AC_CONFIG_IF_MEMBER(AC_File, [AC_LIST_FILES],
-     [AC_FATAL(`AC_File' [is already registered with AC_CONFIG_FILES or AC_OUTPUT.])])])dnl
+     [AC_FATAL(`AC_File' [is already registered with AC_CONFIG_FILES or AC_OUTPUT.])])])
+AC_DIVERT_POP()dnl
 ])