Avoid outputting config_files' code in config.status' if there

are none.

* acgeneral.m4 (AC_OUTPUT): Don't register $1 to `AC_CONFIG_FILES'
if $1 is empty.
Normalize the names of the sections in `config.status --help'.
This commit is contained in:
Akim Demaille 2000-02-09 17:36:03 +00:00
parent cd2c46e4ab
commit a3df6b1558
3 changed files with 17 additions and 6 deletions

View File

@ -1,3 +1,12 @@
2000-02-09 Akim Demaille <akim@epita.fr>
Avoid outputting `config_files' code in `config.status' if there
are none.
* acgeneral.m4 (AC_OUTPUT): Don't register $1 to `AC_CONFIG_FILES'
if $1 is empty.
Normalize the names of the sections in `config.status --help'.
2000-02-09 Akim Demaille <akim@epita.fr>
* README-alpha: New file, based on Automake's.

View File

@ -3228,7 +3228,8 @@ define([AC_LIST_SUBDIRS])
# shells die. Unfortunately the limit is not known precisely...
define(AC_OUTPUT,
[dnl Dispatch the extra arguments to their native macros.
AC_CONFIG_FILES([$1])dnl
ifval([$1],
[AC_CONFIG_FILES([$1])])dnl
AC_OUTPUT_COMMANDS([$2], [$3])dnl
trap '' 1 2 15
AC_CACHE_SAVE
@ -3331,12 +3332,12 @@ ifset([AC_LIST_HEADERS],
])dnl
ifset([AC_LIST_LINKS],
[Links to install:
[Configuration links:
\$config_links
])dnl
ifset([AC_LIST_COMMANDS],
[Individual commands to run:
[Configuration commands:
\$config_commands
])dnl

View File

@ -3228,7 +3228,8 @@ define([AC_LIST_SUBDIRS])
# shells die. Unfortunately the limit is not known precisely...
define(AC_OUTPUT,
[dnl Dispatch the extra arguments to their native macros.
AC_CONFIG_FILES([$1])dnl
ifval([$1],
[AC_CONFIG_FILES([$1])])dnl
AC_OUTPUT_COMMANDS([$2], [$3])dnl
trap '' 1 2 15
AC_CACHE_SAVE
@ -3331,12 +3332,12 @@ ifset([AC_LIST_HEADERS],
])dnl
ifset([AC_LIST_LINKS],
[Links to install:
[Configuration links:
\$config_links
])dnl
ifset([AC_LIST_COMMANDS],
[Individual commands to run:
[Configuration commands:
\$config_commands
])dnl