From: Noah Misch Date: Thu, 24 Jun 2004 12:25:33 +0000 (+0000) Subject: * ltmain.in: Unset the zsh GLOB_SUBST option, which makes zsh X-Git-Tag: release-1-5-8~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20e7442f6812f3643d69588fb4ba795c8e06a900;p=thirdparty%2Flibtool.git * ltmain.in: Unset the zsh GLOB_SUBST option, which makes zsh handle backslash quoting poorly, before doing anything else. * tests/defs: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 8954cda9d..77b36e892 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-06-24 Noah Misch + + * ltmain.in: Unset the zsh GLOB_SUBST option, which makes zsh + handle backslash quoting poorly, before doing anything else. + * tests/defs: Likewise. + 2004-06-16 Brad * libtool.m4: More improvements to OpenBSD support. diff --git a/ltmain.in b/ltmain.in index 09e2b3a84..9555f0b72 100644 --- a/ltmain.in +++ b/ltmain.in @@ -46,6 +46,11 @@ PACKAGE=@PACKAGE@ VERSION=@VERSION@ TIMESTAMP="@TIMESTAMP@" +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes. +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi # Check that we have a working $echo. if test "X$1" = X--no-reexec; then diff --git a/tests/defs b/tests/defs index 8713e853f..e7a12be5c 100644 --- a/tests/defs +++ b/tests/defs @@ -2,6 +2,12 @@ # Defines for Libtool testing environment. # Gord Matzigkeit , 1996 +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes. +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + # Check that srcdir is set to an absolute path. case "$srcdir" in /* | [A-Za-z]:\\*) ;;