1999-10-31 Akim Demaille <akim@epita.fr>

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.
This commit is contained in:
Akim Demaille 1999-12-21 11:08:51 +00:00
parent 28497c7168
commit e410d7671e
3 changed files with 19 additions and 6 deletions

View File

@ -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>

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

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