autoconf-patches
[Top][All Lists]
Advanced

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

work around bash exit status bug for package.m4


From: Ralf Wildenhues
Subject: work around bash exit status bug for package.m4
Date: Sat, 3 Nov 2007 18:56:31 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

FYI, here's what I committed to work around the exit status bug.

Cheers,
Ralf

commit 249f9a38a8dfc2d03f556c06f9204df91bea2208
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Nov 3 18:55:09 2007 +0100

    * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
    exit status bug.

diff --git a/ChangeLog b/ChangeLog
index f485163..9ba94b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,10 @@
 2007-11-03  Ralf Wildenhues  <address@hidden>
+       and Andreas Schwab  <address@hidden>
+
+       * tests/Makefile.am ($(srcdir)/package.m4): Work around bash
+       exit status bug.
+
+2007-11-03  Ralf Wildenhues  <address@hidden>
 
        * configure.ac (AC_PREREQ): Require version 2.60, for
        AC_PROG_SED, AC_PROG_GREP.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 4c3ad1a..ed129fd 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -34,7 +34,9 @@ include ../lib/freeze.mk
 ## package.m4.  ##
 ## ------------ ##
 
+# The `:;' works around a redirected compound command bash exit status bug.
 $(srcdir)/package.m4: Makefile
+       :; \
        {                                       \
          echo '# Signature of the current package.'; \
          echo 'm4_define([AT_PACKAGE_NAME],      [$(PACKAGE_NAME)])'; \




reply via email to

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