]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* m4/libtool.m4 (CDPATH): Change the CDPATH setting so that it
authorPeter O'Gorman <peter@pogma.com>
Fri, 2 Jan 2004 23:04:21 +0000 (23:04 +0000)
committerPeter O'Gorman <peter@pogma.com>
Fri, 2 Jan 2004 23:04:21 +0000 (23:04 +0000)
allows for zsh differences, as noted in the autoconf manual's
Portable Shell - Special Shell Variables section.

ChangeLog
ltmain.in
m4/libtool.m4

index e1a24bf0159a57d561161d1385ef302b715f1898..aff8081d0edee5f5c82e20464223d4c81994592b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-02  Peter O'Gorman  <peter@pogma.com>
+
+       * m4/libtool.m4 (CDPATH): Change the CDPATH setting so that it
+       allows for zsh differences, as noted in the autoconf manual's
+       Portable Shell - Special Shell Variables section.
+
 2004-01-02  Scott James Remnant <scott@netsplit.com>
 
        * .cvsignore: Ignore stamp-vcl created by the Makefile.
index 5b4b7fc29d515182f0bd69b8fe6da74bf64fcbba..edc9f8fe6f0e46d794d765ab32d09aff51279439 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -4978,7 +4978,7 @@ sed_quote_subst='$sed_quote_subst'
 
 # The HP-UX ksh and POSIX shell print the target directory to stdout
 # if CDPATH is set.
-if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi
+if test \"\${CDPATH+set}\" = set; then CDPATH=\${ZSH_VERSION+.}:; export CDPATH; fi
 
 relink_command=\"$relink_command\"
 
index a448d37b250f0c3e0ff9c51060e0cd703e63e25a..a963e8cfeb3446cc8a630b4161dd8d5c457bf18b 100644 (file)
@@ -377,7 +377,7 @@ fi
 
 # The HP-UX ksh and POSIX shell print the target directory to stdout
 # if CDPATH is set.
-if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+if test "X${CDPATH+set}" = Xset; then CDPATH=${ZSH_VERSION+.}:; export CDPATH; fi
 
 if test -z "$ECHO"; then
 if test "X${echo_test_string+set}" != Xset; then
@@ -3909,7 +3909,7 @@ Xsed="$SED -e s/^X//"
 
 # The HP-UX ksh and POSIX shell print the target directory to stdout
 # if CDPATH is set.
-if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
+if test "X\${CDPATH+set}" = Xset; then CDPATH=\${ZSH_VERSION+.}:; export CDPATH; fi
 
 # The names of the tagged configurations supported by this script.
 available_tags=