From: Gary V. Vaughan Date: Fri, 21 Sep 2001 18:22:08 +0000 (+0000) Subject: * libtool.m4 (archive_cmds) [darwin1.[0-2]]: Darwin uses zsh-3.1.6 X-Git-Tag: release-1-4d~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8f95641c333ad196f50a5fd265239cf09ed3892;p=thirdparty%2Flibtool.git * 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 --- diff --git a/ChangeLog b/ChangeLog index 43ec74024..479aac1c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ -2001-09-20 Albert Chin-A-Young +2001-09-21 Gary V. Vaughan + + * 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 + +2001-09-21 Albert Chin-A-Young * libltdl/ltdl.c: Match function return type with prototype (add static initializer to some functions) to prevent warnings diff --git a/libtool.m4 b/libtool.m4 index ca61adb22..e558e028a 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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