]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (AC_OUTPUT): When dispatching your arguments, use
authorAkim Demaille <akim@epita.fr>
Thu, 10 Feb 2000 16:25:47 +0000 (16:25 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 10 Feb 2000 16:25:47 +0000 (16:25 +0000)
ifval, not ifset!
Dispatch actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index 5704b3a6cdf9e4c61cbc9a2334865878912ad823..9e2d52e37025d37463558dea012db9d878ff152b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-02-10  Akim Demaille  <akim@epita.fr>
+
+       * acgeneral.m4 (AC_OUTPUT): When dispatching your arguments, use
+       ifval, not ifset!
+       Dispatch actions to AC_CONFIG_COMMANDS not AC_OUTPUT_COMMANDS, to
+       avoid unneeded warnings for obsolete use of AC_OUTPUT_COMMANDS.
+
 2000-02-10  Akim Demaille  <akim@epita.fr>
 
        * acgeneral.m4 (AC_VERBOSE): This is a tab, not spaces.
index 574cc31b451a88fa319082bc3c666bd81d22f221..694423a26221781028831412732e43d17aee0719 100644 (file)
@@ -3313,8 +3313,8 @@ define(AC_OUTPUT,
 [dnl Dispatch the extra arguments to their native macros.
 ifval([$1],
       [AC_CONFIG_FILES([$1])])dnl
-ifset([$2$3],
-      [AC_OUTPUT_COMMANDS([$2], [$3])])dnl
+ifval([$2$3],
+      [AC_CONFIG_COMMANDS(default, [[$2]], [[$3]])])dnl
 trap '' 1 2 15
 AC_CACHE_SAVE
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
index 574cc31b451a88fa319082bc3c666bd81d22f221..694423a26221781028831412732e43d17aee0719 100644 (file)
@@ -3313,8 +3313,8 @@ define(AC_OUTPUT,
 [dnl Dispatch the extra arguments to their native macros.
 ifval([$1],
       [AC_CONFIG_FILES([$1])])dnl
-ifset([$2$3],
-      [AC_OUTPUT_COMMANDS([$2], [$3])])dnl
+ifval([$2$3],
+      [AC_CONFIG_COMMANDS(default, [[$2]], [[$3]])])dnl
 trap '' 1 2 15
 AC_CACHE_SAVE
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15