+2008-10-21 Eric Blake <ebb9@byu.net>
+
+ Add banners to generated files.
+ * lib/m4sugar/m4sh.m4 (_AS_SHELL_SANITIZE): Use m4_text_box for
+ existing banner.
+ (AS_INIT): Add new banners at strategic points.
+ * lib/autoconf/general.m4 (AC_INIT): Alter banner location, and
+ make consistent with other banners.
+
2008-10-20 Paolo Bonzini <bonzini@gnu.org>
Add AC_REQUIRE_SHELL_FN and the SHELL_FN diversion.
_AC_INIT_PREPARE
_AC_INIT_NOTICE
_AC_INIT_COPYRIGHT
+m4_divert_text([SHELL_FN], [
+m4_text_box([Autoconf initialization.])])
m4_divert_pop
-m4_text_box([Autoconf initialization])
m4_ifval([$2], , [m4_ifval([$1], [AC_CONFIG_SRCDIR([$1])])])dnl
dnl
dnl Substitute for predefined variables.
# ------------------
# This is the prolog that is emitted by AS_INIT and AS_INIT_GENERATED.
m4_defun([_AS_SHELL_SANITIZE],
-[## --------------------- ##
-## M4sh Initialization. ##
-## --------------------- ##
+[m4_text_box([M4sh Initialization.])
AS_BOURNE_COMPATIBLE
m4_divert_text([HEADER-COMMENT],
[@%:@ Generated from __file__ by m4_PACKAGE_STRING.])
m4_divert_text([M4SH-SANITIZE], [_AS_SHELL_SANITIZE])
+m4_divert_text([M4SH-INIT-FN], [m4_text_box([M4sh Shell Functions.])])
# Let's go!
m4_divert_pop([KILL])[]dnl
-m4_divert_push([BODY])[]dnl
+m4_divert_push([BODY])
+m4_text_box([Main body of script.])
_AS_DETECT_REQUIRED([_AS_SHELL_FN_WORK])dnl
AS_REQUIRE([_AS_UNSET_PREPARE])dnl For backwards compatibility.
])