+2004-07-30 Peter O'Gorman <peter@pogma.com>
+
+ * m4/libtool.m4, ltmain.in: autoconf now says the best thing to do
+ with CDPATH is to (unset CDPATH) >/dev/null 2>&1 && unset CDPATH,
+ so do it.
+
2004-07-29 Gary V. Vaughan <gary@gnu.org>
* Makefile.am ($(top_srcdir)/config/ltmain.sh): Ugh. More hair to
Xsed='${SED} -e 1s/^X//'
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=\${ZSH_VERSION+.}:; export CDPATH; fi
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
relink_command=\"$relink_command\"
m4_define([_LT_CONFIG_COMMANDS],
[AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [
-# 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=${ZSH_VERSION+.}:; export CDPATH; fi
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
sed_quote_subst='$sed_quote_subst'
double_quote_subst='$double_quote_subst'
_LT_LIBTOOL_TAG_VARS
# ### END LIBTOOL CONFIG
-# 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
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
_LT_EOF
exit 0
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
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
if test -z "$ECHO"; then
if test "X${echo_test_string+set}" != Xset; then