comparison configure.in @ 22653:8b39df7b3506

Use unset CDPATH instead of making it empty.
author Richard M. Stallman <rms@gnu.org>
date Tue, 30 Jun 1998 22:15:41 +0000
parents 1b3491492aae
children 79d5477f09fd
comparison
equal deleted inserted replaced
22652:a453ed3fb89f 22653:8b39df7b3506
90 /* ) ;; 90 /* ) ;;
91 . ) 91 . )
92 ## We may be able to use the $PWD environment variable to make this 92 ## We may be able to use the $PWD environment variable to make this
93 ## absolute. But sometimes PWD is inaccurate. 93 ## absolute. But sometimes PWD is inaccurate.
94 ## Make sure CDPATH doesn't affect cd (in case PWD is relative). 94 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
95 CDPATH= 95 unset CDPATH
96 if test "${PWD}" != "" && test "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ; 96 if test "${PWD}" != "" && test "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ;
97 then 97 then
98 srcdir="$PWD" 98 srcdir="$PWD"
99 else 99 else
100 srcdir="`(cd ${srcdir}; pwd)`" 100 srcdir="`(cd ${srcdir}; pwd)`"