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-37-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-37-g0ba284a
Date: Mon, 13 Oct 2008 14:53:04 +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=0ba284a888653fbaa2c05d9476eca4a33060341e

The branch, master has been updated
       via  0ba284a888653fbaa2c05d9476eca4a33060341e (commit)
      from  5a1279d42c640a2d508ebe64f6cbc99f17c138c2 (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 0ba284a888653fbaa2c05d9476eca4a33060341e
Author: Eric Blake <address@hidden>
Date:   Mon Oct 13 08:50:25 2008 -0600

    Use consistent shell function style.
    
    * lib/m4sugar/m4sh.m4 (_AS_PREPARE, AS_REQUIRE_SHELL_FN)
    (_AS_SHELL_FN_WORK): Imitate GNU Coding Standards for C
    functions.
    
    Signed-off-by: Eric Blake <address@hidden>

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

Summary of changes:
 ChangeLog           |    7 +++++++
 lib/m4sugar/m4sh.m4 |   21 ++++++++++++++-------
 2 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 795ba04..418aff6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-10-13  Eric Blake  <address@hidden>
+
+       Use consistent shell function style.
+       * lib/m4sugar/m4sh.m4 (_AS_PREPARE, AS_REQUIRE_SHELL_FN)
+       (_AS_SHELL_FN_WORK): Imitate GNU Coding Standards for C
+       functions.
+
 2008-10-13  Paolo Bonzini  <address@hidden>
 
        * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Place names of
diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4
index aa5669b..2e6b2f2 100644
--- a/lib/m4sugar/m4sh.m4
+++ b/lib/m4sugar/m4sh.m4
@@ -256,7 +256,8 @@ fi
 # there are so many _AS_PREPARE_* below, and that's also why it is
 # important not to forget some: config.status needs them.
 m4_defun([_AS_PREPARE],
-[as_func_mkdir_p() {
+[as_func_mkdir_p ()
+{
   _AS_MKDIR_P
 }
 
@@ -348,7 +349,8 @@ m4_define([AS_REQUIRE],
 #
 m4_define([AS_REQUIRE_SHELL_FN],
 [_AS_DETECT_REQUIRED([_AS_SHELL_FN_WORK])dnl
-AS_REQUIRE([AS_SHELL_FN_$1], [m4_provide([AS_SHELL_FN_$1])$1() {
+AS_REQUIRE([AS_SHELL_FN_$1], [m4_provide([AS_SHELL_FN_$1])$1 ()
+{
 $2
 }], m4_default_quoted([$3], [M4SH-INIT-FN]))])
 
@@ -372,19 +374,24 @@ _ASEOF
 # This is a spy to detect "in the wild" shells that do not support shell
 # functions correctly.  It is based on the m4sh.at Autotest testcases.
 m4_define([_AS_SHELL_FN_WORK],
-[as_func_return () {
+[as_func_return ()
+{
   (exit [$]1)
 }
-as_func_success () {
+as_func_success ()
+{
   as_func_return 0
 }
-as_func_failure () {
+as_func_failure ()
+{
   as_func_return 1
 }
-as_func_ret_success () {
+as_func_ret_success ()
+{
   return 0
 }
-as_func_ret_failure () {
+as_func_ret_failure ()
+{
   return 1
 }
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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