From: Richard M. Stallman Date: Tue, 30 Jun 1998 22:15:41 +0000 (+0000) Subject: Use unset CDPATH instead of making it empty. X-Git-Tag: emacs-20.3~426 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=691beae8263f27b1888cb14e719822bbe82b68c6;p=emacs.git Use unset CDPATH instead of making it empty. --- diff --git a/configure.in b/configure.in index 484839b46d3..7686b43c64f 100644 --- a/configure.in +++ b/configure.in @@ -92,7 +92,7 @@ case "${srcdir}" in ## We may be able to use the $PWD environment variable to make this ## absolute. But sometimes PWD is inaccurate. ## Make sure CDPATH doesn't affect cd (in case PWD is relative). - CDPATH= + unset CDPATH if test "${PWD}" != "" && test "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ; then srcdir="$PWD"