]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/general.m4sh (func_verbose): Work around a bash bug in
authorGary V. Vaughan <gary@gnu.org>
Fri, 8 Oct 2004 16:39:55 +0000 (16:39 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 8 Oct 2004 16:39:55 +0000 (16:39 +0000)
shell functions.

ChangeLog
config/general.m4sh

index ad80bb578e25b2b3bb42d394d81e8f94d1c8ce72..70f9dfaade6cece451eacc9eb8855d80865e4310 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-08  Gary V. Vaughan  <gary@gnu.org>
+
+       * config/general.m4sh (func_verbose): Work around a bash bug in
+       shell functions.
+
 2004-10-08  Charles Wilson  <cygwin@cwilson.fastmail.fm>
 
        * tests/pdemo-inst.test: pdemo-inst should depend on pdemo-make.
        rather than ".lnk" for the piecewise linking ld script in order to
        avoid the conflict.
 
-2004-10-07  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2004-10-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libltdl/ltdl.c (lt_dlexit, lt_dlpath_insertdir): Fix memleaks,
        free user_search_path on lt_dlexit.
 
-2004-10-07  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2004-10-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * tests/sh.test: Remove tests which fail on AS_SHELL_SANITIZE
        from autoconf >= 2.59.
@@ -34,7 +39,7 @@
        * configure.ac: Cleaned up, having moved the checks for compilers
        which do not exist to libtool.m4.
 
-2004-10-05  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2004-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libltdl/ltdl.c (try_dlopen): Move .la file parsing
        part.. (parse_dotla_file): ..here.  Adjust.
@@ -49,7 +54,6 @@
        * config/ltmain.m4sh [darwin]: Make the -dylib_file flag work on
        older darwins too. Reported by Christoph Egger.
 
->>>>>>> 1.1681
 2004-10-05  Gary V. Vaughan  <gary@gnu.org>
 
        * configure.ac: Bumped version to 2.1a.
index 9aa62774670d896e1c87e635d73c403aa0785f13..d5eab8587edadbae81d0a51bc32193e0e417acf5 100644 (file)
@@ -109,6 +109,11 @@ func_echo ()
 func_verbose ()
 {
     $opt_verbose && func_echo ${1+"$@"}
+
+    # A bug in bash halts the script if the last line of a function
+    # fails when set -e is in force, so we need another command to
+    # work around that:
+    :
 }
 
 # func_error arg...