]> 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:21:41 +0000 (12:21 +0000)
committerPeter O'Gorman <peter@pogma.com>
Thu, 24 Jun 2004 12:21:41 +0000 (12:21 +0000)
handle backslash quoting poorly, before doing anything else.
* tests/defs: Likewise.

ChangeLog
ltmain.in
tests/defs

index f608040c4c2db387962f2b5fd7a50f0c6874a3a2..995c2905dd26ceb0d2cbb87427b09e32f7da82c9 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-21  Gary V. Vaughan  <gary@gnu.org>
 
        * libtoolize.in (libtoolize_flags): With the --ltdl option, we
index aa8cff5bbc5893e78fba48688161dc3fa20e891d..52a29baeb94905ddc86e85cb168ee046f5921bf1 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
 # 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"
 
index d9d2523fe6cf6ce883893433f4012da59a069a7f..f99074f0dea49ec21e4bb3ff04fdf6e00f486ea6 100644 (file)
@@ -3,6 +3,12 @@
 # Gord Matzigkeit <gord@gnu.ai.mit.edu>, 1996
 # Gary V. Vaughan <gary@gnu.org>, 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]:\\*) ;;