]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
authorDerek Price <derek@ximbiot.com>
Wed, 26 Mar 2003 14:33:20 +0000 (14:33 +0000)
committerDerek Price <derek@ximbiot.com>
Wed, 26 Mar 2003 14:33:20 +0000 (14:33 +0000)
sense.  Verbosify the diversion definitions comment.

ChangeLog
lib/autotest/general.m4

index 4d0d7a90d431bd165ccb7a2b40740a58bb8e97ba..60afb52bb18cac5013bb5300ba085234a7910796 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-26  Derek Price  <derek@ximbiot.com>
+
+       * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more
+       sense.  Verbosify the diversion definitions comment.
+
 2003-03-26  Derek Price  <derek@ximbiot.com>
 
        * lib/autotest/general.m4 (AT_INIT): Remove redundant call to
index 146d683f133e9f5c59e813d06abe90e64177eb3e..c481be3b8f12c99ea8f75c3a54622860576ee87c 100644 (file)
 # such potential, you must delete any notice of this special exception
 # to the GPL from your modified version.
 
-# Use of diversions:
-#
-#  - DEFAULT
+# _m4_divert(DIVERSION-NAME)
+# --------------------------
+# Convert a diversion name into its number.  Otherwise, return
+# DIVERSION-NAME which is supposed to be an actual diversion number.
+# Of course it would be nicer to use m4_case here, instead of zillions
+# of little macros, but it then takes twice longer to run `autoconf'!
+#
+# From M4sugar:
+#    -1. KILL
+# 10000. GROW
+#
+# From M4sh:
+#    0. BINSH
+#    1. HEADER-REVISION
+#    2. HEADER-COMMENT
+#    3. HEADER-COPYRIGHT
+#    4. M4SH-INIT
+# 1000. BODY
+#
+# Defined below:
+#  - DEFAULTS
 #    Overall initialization, value of $at_groups_all.
 #  - OPTIONS
 #    Option processing
@@ -57,7 +75,7 @@
 #    tail of the core for;case, overall wrap up, generation of debugging
 #    scripts and statistics.
 
-m4_define([_m4_divert(DEFAULT)],       5)
+m4_define([_m4_divert(DEFAULTS)],       5)
 m4_define([_m4_divert(OPTIONS)],      10)
 m4_define([_m4_divert(TESTS)],        50)
 m4_define([_m4_divert(TAIL)],         60)
@@ -95,7 +113,7 @@ m4_define([AT_ordinal], 0)
 m4_define([AT_banner_ordinal], 0)
 AS_INIT
 AS_PREPARE
-m4_divert_push([DEFAULT])dnl
+m4_divert_push([DEFAULTS])dnl
 
 SHELL=${CONFIG_SHELL-/bin/sh}
 
@@ -157,7 +175,7 @@ at_stderr=$at_suite_dir/at-stderr
 # The file containing dates.
 at_times_file=$at_suite_dir/at-times
 
-m4_wrap([m4_divert_text([DEFAULT],
+m4_wrap([m4_divert_text([DEFAULTS],
 [# List of the tested programs.
 at_tested='m4_ifdef([AT_tested], [AT_tested])'
 # List of the all the test groups.