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-167-


From: Paolo Bonzini
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-167-g359be41
Date: Thu, 06 Nov 2008 14:29:32 +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=359be416a7aa33dc6d65d1c6271925e6dd72b99e

The branch, master has been updated
       via  359be416a7aa33dc6d65d1c6271925e6dd72b99e (commit)
      from  c22cc67be78dcbb7684e21d1ee31042a8596b7e8 (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 359be416a7aa33dc6d65d1c6271925e6dd72b99e
Author: Paolo Bonzini <address@hidden>
Date:   Thu Nov 6 11:42:39 2008 +0100

    Remove three forks per _AC_RUN_LOG_STDERR in the common case.
    
    * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR): Avoid grep/rm/cat
    sequence when the program's stderr was empty, while providing a
    conftest.err file even in that case.
    (_AC_CACHE_DUMP): Fix mismatched parenthesis.

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

Summary of changes:
 ChangeLog               |    8 ++++++++
 lib/autoconf/general.m4 |   12 +++++++-----
 2 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8ba86ef..37e69c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2008-11-06  Paolo Bonzini  <address@hidden>
 
+       Remove three forks per _AC_RUN_LOG_STDERR in the common case.
+       * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR): Avoid grep/rm/cat
+       sequence when the program's stderr was empty, while providing a
+       conftest.err file even in that case.
+       (_AC_CACHE_DUMP): Fix mismatched parenthesis.
+
+2008-11-06  Paolo Bonzini  <address@hidden>
+
        Change `present but cannot be compiled' behavior to use compiler result.
        * NEWS: Document it.
        * doc/autoconf.texi (Present But Cannot Be Compiled): Document it.
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4
index de4de33..4ae4d47 100644
--- a/lib/autoconf/general.m4
+++ b/lib/autoconf/general.m4
@@ -1929,7 +1929,7 @@ m4_define([_AC_CACHE_DUMP],
   (set) 2>&1 |
     case $as_nl`(ac_space=' '; set) 2>&1` in #(
     *${as_nl}ac_space=\ *)
-      # `set' does not quote correctly, so add quotes (double-quote
+      # `set' does not quote correctly, so add quotes: double-quote
       # substitution turns \\\\ into \\, and sed turns \\ into \).
       sed -n \
        ["s/'/'\\\\''/g;
@@ -2253,11 +2253,13 @@ AC_DEFUN([_AC_RUN_LOG],
 # in AS_IF constructs.
 AC_DEFUN([_AC_RUN_LOG_STDERR],
 [{ { $2; } >&AS_MESSAGE_LOG_FD
-  ($1) 2>conftest.er1
+  ($1) 2>conftest.err
   ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&AS_MESSAGE_LOG_FD
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&AS_MESSAGE_LOG_FD
+    mv -f conftest.er1 conftest.err
+  fi
   _AS_ECHO_LOG([\$? = $ac_status])
   test $ac_status = 0; }])
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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