]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
authorGary V. Vaughan <gary@gnu.org>
Fri, 21 Sep 2001 18:22:08 +0000 (18:22 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 21 Sep 2001 18:22:08 +0000 (18:22 +0000)
for /bin/sh, and that shell does not handle escaped quotes
properly yet.
Reported by Christopher Pfisterer <cp@chrisp.de>

ChangeLog
libtool.m4

index 43ec74024f5d38012cc7d96f5afc95d5b2d55e72..479aac1c891f86e1c7b18e809b85442338c27a71 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
-2001-09-20  Albert Chin-A-Young <china@thewrittenword.com>
+2001-09-21  Gary V. Vaughan  <gary@gnu.org>
+
+       * libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6
+       for /bin/sh, and that shell does not handle escaped quotes
+       properly yet.
+       Reported by Christopher Pfisterer <cp@chrisp.de>
+
+2001-09-21  Albert Chin-A-Young  <china@thewrittenword.com>
 
        * libltdl/ltdl.c: Match function return type with prototype
        (add static initializer to some functions) to prevent warnings
index ca61adb222854e861a5d0fcb6338520b301f4efe..e558e028a8cb7a54c6c2b328655920e47dd6d2e2 100644 (file)
@@ -4674,8 +4674,9 @@ EOF
 
       # FIXME: Relying on posixy $() will cause problems for
       #        cross-compilation, but unfortunately the echo tests do not
-      #        yet detect zsh echo's removal of \ escapes.
-      _LT_AC_TAGVAR(archive_cmds, $1)='$CC $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
+      #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
+      #               `"' quotes if we put them in here... so don't!
+      _LT_AC_TAGVAR(archive_cmds, $1)='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
       # We need to add '_' to the symbols in $export_symbols first
       #_LT_AC_TAGVAR(archive_expsym_cmds, $1)="$_LT_AC_TAGVAR(archive_cmds, $1)"' && strip -s $export_symbols'
       _LT_AC_TAGVAR(hardcode_direct, $1)=yes