]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Add banners to generated files.
authorEric Blake <ebb9@byu.net>
Tue, 21 Oct 2008 14:27:07 +0000 (08:27 -0600)
committerEric Blake <ebb9@byu.net>
Tue, 21 Oct 2008 14:27:07 +0000 (08:27 -0600)
* lib/autotest/general.m4 (AT_INIT): Make banners consistent.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
lib/autotest/general.m4

index b8472aed32961181703c59e85bfd4ca931e3dc9f..e57150efcef52acf397527e8f2a1c7a5a17289e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
        (AS_INIT): Add new banners at strategic points.
        * lib/autoconf/general.m4 (AC_INIT): Alter banner location, and
        make consistent with other banners.
+       * lib/autotest/general.m4 (AT_INIT): Make banners consistent.
 
 2008-10-20  Paolo Bonzini  <bonzini@gnu.org>
 
index 9e7df68715c332b53844abe3ca7cc9cd13d74cc2..8df9395f2a0f0d19e6e31d376ac94b5742f66e8e 100644 (file)
@@ -216,6 +216,9 @@ m4_define([AT_help_all], [])
 m4_foreach([AT_name], [_AT_DEFINE_INIT_LIST], [m4_popdef(m4_defn([AT_name]))])
 m4_wrap([_AT_FINISH])
 AS_INIT[]dnl
+dnl We don't use m4sh's BODY diversion, but AS_INIT sticks a banner there.
+dnl This trick removes that banner, since it adds nothing to autotest.
+m4_divert_text([KILL], [m4_undivert([BODY])])dnl
 AS_ME_PREPARE[]dnl
 m4_divert_push([DEFAULTS])dnl
 AT_COPYRIGHT(
@@ -243,9 +246,7 @@ esac
 m4_divert_pop([BANNERS])dnl back to DEFAULTS
 m4_divert_push([PREPARE_TESTS])dnl
 
-## --------------- ##
-## Shell functions ##
-## --------------- ##
+m4_text_box([Autotest shell functions.])
 
 AS_FUNCTION_DESCRIBE([at_func_banner], [NUMBER],
 [Output banner NUMBER, provided the testsuite is running multiple groups
@@ -372,9 +373,7 @@ else
   }
 fi
 
-## ---------------------- ##
-## End of shell functions ##
-## ---------------------- ##
+m4_text_box([End of autotest shell functions.])
 m4_divert_pop([PREPARE_TESTS])dnl back to DEFAULTS
 
 # Not all shells have the 'times' builtin; the subshell is needed to make
@@ -783,9 +782,7 @@ if test -n "$at_top_srcdir"; then
   done
 fi
 
-## ------------------- ##
-## Directory structure ##
-## ------------------- ##
+m4_text_box([Directory structure.])
 
 # This is the set of directories and files used by this script
 # (non-literals are capitalized):