From: Peter O'Gorman Date: Fri, 28 Nov 2003 13:41:22 +0000 (+0000) Subject: * m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST" X-Git-Tag: release-1-9b~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04990d9b9805dba4d8b0b696876bcfb895346da1;p=thirdparty%2Flibtool.git * m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST" to make zsh behave wrt escapes happens early in config.status. --- diff --git a/ChangeLog b/ChangeLog index 8b8acd677..4e7cfe8e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-11-28 Peter O'Gorman + + * m4/libtool.m4: Move things around so that "setopt NO_GLOB_SUBST" + to make zsh behave wrt \ escapes happens early in config.status. + 2003-11-27 Gary V. Vaughan * libltdl/configure.ac: Removed. diff --git a/m4/libtool.m4 b/m4/libtool.m4 index d7d5efd87..441ee0dfc 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -101,6 +101,17 @@ AC_REQUIRE([AC_OBJEXT])dnl 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