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


From: Paolo Bonzini
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-92-gc086623
Date: Thu, 23 Oct 2008 16:40:16 +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=c0866235e2d00c20082508f9be9297cb1318da47

The branch, master has been updated
       via  c0866235e2d00c20082508f9be9297cb1318da47 (commit)
       via  db60987f02c42b4ead01b7f569f5e8c71c0ecf87 (commit)
      from  1cab7acd4abccf8cae7c8b68ff43e33a05d7df29 (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 c0866235e2d00c20082508f9be9297cb1318da47
Author: Paolo Bonzini <address@hidden>
Date:   Thu Oct 23 18:39:57 2008 +0200

    Eliminate empty lines after AC_*_IFELSE.
    
    * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
    _AC_LINK_IFELSE, _AC_RUN_IFELSE): Add a dnl at end.

commit db60987f02c42b4ead01b7f569f5e8c71c0ecf87
Author: Paolo Bonzini <address@hidden>
Date:   Thu Oct 23 18:36:17 2008 +0200

    Avoid a fork in _AC_RUN_LOG and _AC_RUN_LOG_STDERR
    
    * lib/autoconf/general.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR):
    Return a boolean status code based on $ac_status.

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

Summary of changes:
 ChangeLog               |   14 +++++++++++++-
 lib/autoconf/general.m4 |   18 +++++++++++-------
 2 files changed, 24 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 105d486..da1654e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,22 @@
 2008-10-23  Paolo Bonzini  <address@hidden>
 
+       Eliminate empty lines after AC_*_IFELSE.
+       * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE,
+       _AC_LINK_IFELSE, _AC_RUN_IFELSE): Add a dnl at end.
+
+2008-10-23  Paolo Bonzini  <address@hidden>
+
+       Avoid a fork in _AC_RUN_LOG and _AC_RUN_LOG_STDERR
+       * lib/autoconf/general.m4 (_AC_RUN_LOG, _AC_RUN_LOG_STDERR):
+       Return a boolean status code based on $ac_status.
+
+2008-10-23  Paolo Bonzini  <address@hidden>
+
        Ensure actions can look at conftest* files.
        * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE_BODY,
        _AC_COMPILE_IFELSE_BODY, _AC_LINK_IFELSE_BODY, _AC_RUN_IFELSE_BODY):
        Move rm commands, except IPA files and Apple debug symbols...
-       (_AC_PREPROC_IFELSE, __AC_COMPILE_IFELSE, _AC_LINK_IFELSE,
+       (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE,
        _AC_RUN_IFELSE): ...in here.
        * tests/compile.at: Add regression test.
 
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index 54d0922..158391c 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -2228,13 +2228,15 @@ AU_ALIAS([AC_VERBOSE], [AC_MSG_RESULT])
 
 # _AC_RUN_LOG(COMMAND, LOG-COMMANDS)
 # ----------------------------------
-# Eval COMMAND, save the exit status in ac_status, and log it.
+# Eval COMMAND, save the exit status in ac_status, and log it.  The return
+# code is 0 if COMMAND succeeded, so that it can be used directly in AS_IF
+# constructs.
 AC_DEFUN([_AC_RUN_LOG],
 [{ { $2; } >&AS_MESSAGE_LOG_FD
   ($1) 2>&AS_MESSAGE_LOG_FD
   ac_status=$?
   _AS_ECHO_LOG([\$? = $ac_status])
-  (exit $ac_status); }])
+  test $ac_status = 0; }])
 
 
 # _AC_RUN_LOG_STDERR(COMMAND, LOG-COMMANDS)
@@ -2244,6 +2246,8 @@ AC_DEFUN([_AC_RUN_LOG],
 # use.
 # Note that when tracing, most shells will leave the traces in stderr
 # starting with "+": that's what this macro tries to address.
+# The return code is 0 if COMMAND succeeded, so that it can be used directly
+# in AS_IF constructs.
 AC_DEFUN([_AC_RUN_LOG_STDERR],
 [{ { $2; } >&AS_MESSAGE_LOG_FD
   ($1) 2>conftest.er1
@@ -2252,7 +2256,7 @@ AC_DEFUN([_AC_RUN_LOG_STDERR],
   rm -f conftest.er1
   cat conftest.err >&AS_MESSAGE_LOG_FD
   _AS_ECHO_LOG([\$? = $ac_status])
-  (exit $ac_status); }])
+  test $ac_status = 0; }])
 
 # _AC_DO_ECHO(COMMAND)
 # --------------------
@@ -2408,7 +2412,7 @@ AC_DEFUN([_AC_PREPROC_IFELSE],
   [$0_BODY])]dnl
 [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])]dnl
 [AS_IF([ac_func_[]_AC_LANG_ABBREV[]_try_cpp "$LINENO"], [$2], [$3])
-rm -f conftest.err[]m4_ifval([$1], [ conftest.$ac_ext])
+rm -f conftest.err[]m4_ifval([$1], [ conftest.$ac_ext])[]dnl
 ])# _AC_PREPROC_IFELSE
 
 # AC_PREPROC_IFELSE(PROGRAM, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
@@ -2495,7 +2499,7 @@ AC_DEFUN([_AC_COMPILE_IFELSE],
   [$0_BODY])]dnl
 [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])]dnl
 [AS_IF([ac_func_[]_AC_LANG_ABBREV[]_try_compile "$LINENO"], [$2], [$3])
-rm -f core conftest.err conftest.$ac_objext[]m4_ifval([$1], [ 
conftest.$ac_ext])
+rm -f core conftest.err conftest.$ac_objext[]m4_ifval([$1], [ 
conftest.$ac_ext])[]dnl
 ])# _AC_COMPILE_IFELSE
 
 
@@ -2567,7 +2571,7 @@ AC_DEFUN([_AC_LINK_IFELSE],
 [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])]dnl
 [AS_IF([ac_func_[]_AC_LANG_ABBREV[]_try_link "$LINENO"], [$2], [$3])
 rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext[]m4_ifval([$1], [ conftest.$ac_ext])
+    conftest$ac_exeext[]m4_ifval([$1], [ conftest.$ac_ext])[]dnl
 ])# _AC_LINK_IFELSE
 
 
@@ -2636,7 +2640,7 @@ AC_DEFUN([_AC_RUN_IFELSE],
 [m4_ifvaln([$1], [AC_LANG_CONFTEST([$1])])]dnl
 [AS_IF([ac_func_[]_AC_LANG_ABBREV[]_try_run "$LINENO"], [$2], [$3])
 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest$ac_exeext[]m4_ifval([$1], [ conftest.$ac_ext])
+  conftest.$ac_objext conftest$ac_exeext[]m4_ifval([$1], [ 
conftest.$ac_ext])[]dnl
 ])# _AC_RUN_IFELSE
 
 # AC_RUN_IFELSE(PROGRAM,


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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