]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Reduce vertical whitespace in configure.
authorEric Blake <ebb9@byu.net>
Fri, 17 Oct 2008 19:27:20 +0000 (13:27 -0600)
committerEric Blake <ebb9@byu.net>
Fri, 17 Oct 2008 21:48:51 +0000 (15:48 -0600)
* lib/autoconf/general.m4 (AC_INIT): Silence newline output during
m4 side effect initializations.
* lib/m4sugar/m4sh.m4 (AS_PREPARE): Likewise.

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

index fae39c78ea1d2e1328f05165c4ef8365f715930f..32bf23b8ae863c0b376f10804087b9288a2bce64 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-17  Eric Blake  <ebb9@byu.net>
+
+       Reduce vertical whitespace in configure.
+       * lib/autoconf/general.m4 (AC_INIT): Silence newline output during
+       m4 side effect initializations.
+       * lib/m4sugar/m4sh.m4 (AS_PREPARE): Likewise.
+
 2008-10-17  Eric Blake  <ebb9@byu.net>
 
        Document AS_VAR interfaces.
index 8c858c460238809c459f23811bec6996291a77b8..83294c7ef01faf09f551a9d4000f19d86fcbd398 100644 (file)
@@ -1353,8 +1353,9 @@ m4_pattern_forbid([^LIBOBJS$],
                  [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
 # Actually reserved by M4sh.
 m4_pattern_allow([^AS_FLAGS$])
-AS_INIT
-AS_PREPARE
+AS_INIT[]dnl
+AS_PREPARE[]dnl
+m4_divert_push([KILL])
 m4_ifval([$2], [_AC_INIT_PACKAGE($@)])
 _AC_INIT_DEFAULTS
 _AC_INIT_PARSE_ARGS
@@ -1366,6 +1367,8 @@ _AC_INIT_CONFIG_LOG
 _AC_INIT_PREPARE
 _AC_INIT_NOTICE
 _AC_INIT_COPYRIGHT
+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.
index 84b19b6cded239569f9a466fe0407cda401ce444..1feff8ffa5cd1cedf87787430af975f9a734092f 100644 (file)
@@ -287,7 +287,8 @@ m4_popdef([AS_REQUIRE])dnl
 # AS_REQUIRE and AS_REQUIRE_SHELL_FN are defined properly, and so that
 # shell functions are placed in M4SH-INIT-FN.
 m4_defun([AS_PREPARE],
-[AS_REQUIRE([_AS_EXPR_PREPARE])
+[m4_divert_push([KILL])
+AS_REQUIRE([_AS_EXPR_PREPARE])
 AS_REQUIRE([_AS_BASENAME_PREPARE])
 AS_REQUIRE([_AS_DIRNAME_PREPARE])
 AS_REQUIRE([_AS_ME_PREPARE])
@@ -299,6 +300,7 @@ AS_REQUIRE([_AS_TEST_PREPARE])
 AS_REQUIRE([_AS_TR_CPP_PREPARE])
 AS_REQUIRE([_AS_TR_SH_PREPARE])
 AS_REQUIRE([_AS_UNSET_PREPARE])
+m4_divert_pop[]dnl
 ])