]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Unset the zsh GLOB_SUBST option, which makes zsh
authorNoah Misch <noah@cs.caltech.edu>
Thu, 24 Jun 2004 12:25:33 +0000 (12:25 +0000)
committerPeter O'Gorman <peter@pogma.com>
Thu, 24 Jun 2004 12:25:33 +0000 (12:25 +0000)
handle backslash quoting poorly, before doing anything else.
* tests/defs: Likewise.

ChangeLog
ltmain.in
tests/defs

index 8954cda9d6ff3d154be3e216dec55830e5d64b6a..77b36e892f5b9cff6c8eda16545bffa18e34b067 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-24  Noah Misch  <noah@cs.caltech.edu>
+
+       * 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  <brad@comstyle.com>
 
        * libtool.m4: More improvements to OpenBSD support.
index 09e2b3a84f26d3e2f89eec13070a8157b3a6381d..9555f0b72553ddd66f851e0f1444391c28562856 100644 (file)
--- 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
index 8713e853f06f5373b4a166afeb49c7d42cdaa34e..e7a12be5ca1fef0e09426b20c0203b566a8afc66 100644 (file)
@@ -2,6 +2,12 @@
 # Defines for Libtool testing environment.
 # Gord Matzigkeit <gord@gnu.ai.mit.edu>, 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]:\\*) ;;