From aa955fdcbb0413b169c5f7137b88df97cac7cc52 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 4 Oct 1999 12:44:50 +0000 Subject: [PATCH] 1999-10-04 Akim Demaille Beware of the expansions of $n in comments. * acgeneral.m4 (AC_OUTPUT): Changed $1 into [$1] in dnls. --- ChangeLog | 6 ++++++ acgeneral.m4 | 8 +++++--- lib/autoconf/general.m4 | 8 +++++--- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index bf6372ce..c780e8d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1999-10-04 Akim Demaille + + Beware of the expansions of $n in comments. + + * acgeneral.m4 (AC_OUTPUT): Changed $1 into [$1] in dnls. + 1999-10-04 Akim Demaille Revert partially the previous changes: AC_CHECK_HEADERS_DIRENT is diff --git a/acgeneral.m4 b/acgeneral.m4 index 2bcc3ffa..9b7bbc4f 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -2904,8 +2904,10 @@ Usage: $CONFIG_STATUS @BKL@OPTIONS@BKR@ FILE... --version Print the version of Autoconf and exit --help Display this help and exit -dnl Output this only if there are files to instantiate. -ifset(ifdef([AC_LIST_HEADERS], 1)$1, +dnl Issue this section only if there were actually config files. +dnl The following test checks if one of AC_LIST_HEADERS, the CONFIG_FILES +dnl which are given via [$1], or AC_LIST_LINKS is set. +ifset(ifdef([AC_LIST_HEADERS], 1)ifdef([AC_LIST_LINKS], 1)[$1], [Files to instantiate: ifset($1, [ Configuration files: \$config_files @@ -2985,7 +2987,7 @@ EOF dnl Issue this section only if there were actually config files. dnl The following test checks if one of AC_LIST_HEADERS, the CONFIG_FILES -dnl which are given via $1, or AC_LIST_LINKS is set. +dnl which are given via [$1], or AC_LIST_LINKS is set. ifset(ifdef([AC_LIST_HEADERS], 1)ifdef([AC_LIST_LINKS], 1)[$1], [cat >> $CONFIG_STATUS <> $CONFIG_STATUS <