libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

zsh "setopt NO_GLOB_SUBST" not happening early enough in config.status


From: Peter O'Gorman
Subject: zsh "setopt NO_GLOB_SUBST" not happening early enough in config.status
Date: Wed, 26 Nov 2003 23:31:16 +0900
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030902 Thunderbird/0.2

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,
The option to stop zsh from randomly removing \ escapes when doing echo
is not being set early enough in config.status, causing every build to
fail on Mac OS X 10.1 and earlier. This patch should solve that.

Okay?

Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/xLkxhJEqt987YAQRArrWAJ9gpYYxrXriZxg9LcKpdD1JuQXVqACZAW5O
sikHVw4XwuvxsKsyGBCVVeI=
=rF2A
-----END PGP SIGNATURE-----
Index: ChangeLog
2003-11-26  Peter O'Gorman  <address@hidden>

        *m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST"
        to make zsh behave wrt \ escapes happens early in config.status.

from  Gary V. Vaughan  <address@hidden>
Index: m4/libtool.m4
===================================================================
RCS file: /cvsroot/libtool/libtool/m4/libtool.m4,v
retrieving revision 1.22
diff -u -r1.22 libtool.m4
--- m4/libtool.m4 19 Nov 2003 17:58:40 -0000 1.22
+++ m4/libtool.m4 26 Nov 2003 14:22:53 -0000
@@ -101,6 +101,17 @@
 AC_REQUIRE([AC_EXEEXT])dnl
 dnl
 
+_LT_CONFIG_LIBTOOL_INIT([
+# See if we are running on zsh, and set the options which allow our
+# commands through without removal of \ escapes INIT.                          
   
+if test -n "${ZSH_VERSION+set}" ; then
+   setopt NO_GLOB_SUBST
+fi
+])
+if test -n "${ZSH_VERSION+set}" ; then
+   setopt NO_GLOB_SUBST
+fi
+
 AC_ENABLE_SHARED
 AC_ENABLE_STATIC
 AC_ENABLE_FAST_INSTALL

reply via email to

[Prev in Thread] Current Thread [Next in Thread]