autoconf-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Autoconf source repository branch, master, updated. v2.63-71-g


From: Paolo Bonzini
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-71-g98c907d
Date: Mon, 20 Oct 2008 22:59:15 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=98c907d8de4b550e056d292510588c4852967bc1

The branch, master has been updated
       via  98c907d8de4b550e056d292510588c4852967bc1 (commit)
      from  c8a745ce677f82dd7cf44428736b4a7b36140fef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 98c907d8de4b550e056d292510588c4852967bc1
Author: Paolo Bonzini <address@hidden>
Date:   Sat Oct 18 14:37:11 2008 +0200

    Add AC_REQUIRE_SHELL_FN and the SHELL_FN diversion.
    
    * lib/autoconf/general.m4 (AC_REQUIRE_SHELL_FN): New.
    (m4_divert(SHELL_FN)): New.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    6 ++++++
 lib/autoconf/general.m4 |   19 +++++++++++++++++++
 2 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 81a1f5a..b9d42bf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-10-20  Paolo Bonzini  <address@hidden>
+
+       Add AC_REQUIRE_SHELL_FN and the SHELL_FN diversion.
+       * lib/autoconf/general.m4 (AC_REQUIRE_SHELL_FN): New.
+       (m4_divert(SHELL_FN)): New.
+
 2008-10-20  Eric Blake  <address@hidden>
 
        Avoid unportable use of echo in testsuite.
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index 83294c7..0566dd1 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -104,6 +104,9 @@
 # - VERSION_END
 #   Tail of the handling of --version.
 #
+# - SHELL_FN
+#   Shell functions.
+#
 # - INIT_PREPARE
 #   Tail of initialization code.
 #
@@ -146,6 +149,8 @@ m4_define([_m4_divert(VERSION_FSF)],    201)
 m4_define([_m4_divert(VERSION_USER)],   202)
 m4_define([_m4_divert(VERSION_END)],    203)
 
+m4_define([_m4_divert(SHELL_FN)],       250)
+
 m4_define([_m4_divert(INIT_PREPARE)],   300)
 
 
@@ -186,6 +191,20 @@ m4_define([AC_OBSOLETE],
 
 
 ## ----------------------------- ##
+## Implementing shell functions. ##
+## ----------------------------- ##
+
+
+# AC_REQUIRE_SHELL_FN(NAME-TO-CHECK, COMMENT, BODY, [DIVERSION = SHELL_FN]
+# ------------------------------------------------------------------------
+# Same as AS_REQUIRE_SHELL_FN except that the default diversion comes
+# later in the script (speeding up configure --help and --version).
+AC_DEFUN([AC_REQUIRE_SHELL_FN],
+[AS_REQUIRE_SHELL_FN([$1], [$2], [$3], m4_default_quoted([$4], [SHELL_FN]))])
+
+
+
+## ----------------------------- ##
 ## Implementing Autoconf loops.  ##
 ## ----------------------------- ##
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

[Prev in Thread] Current Thread [Next in Thread]