From: Noah Misch Date: Thu, 24 Jun 2004 12:21:41 +0000 (+0000) Subject: * ltmain.in: Unset the zsh GLOB_SUBST option, which makes zsh X-Git-Tag: release-1-9b~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=269f71946080ba590c7c3e6df111cb9b7c537bc7;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 f608040c4..995c2905d 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-21 Gary V. Vaughan * libtoolize.in (libtoolize_flags): With the --ltdl option, we diff --git a/ltmain.in b/ltmain.in index aa8cff5bb..52a29baeb 100644 --- a/ltmain.in +++ b/ltmain.in @@ -24,6 +24,11 @@ # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. +# 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 basename="s,^.*/,,g" diff --git a/tests/defs b/tests/defs index d9d2523fe..f99074f0d 100644 --- a/tests/defs +++ b/tests/defs @@ -3,6 +3,12 @@ # Gord Matzigkeit , 1996 # Gary V. Vaughan , 2003 +# 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]:\\*) ;;