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 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>
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],
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
])
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],
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
])