From: Richard M. Stallman Date: Wed, 27 Feb 2002 03:53:03 +0000 (+0000) Subject: : Verify that PWD is correct, X-Git-Tag: ttn-vms-21-2-B4~16441 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b83e4a772709fff1fdc227466c17dde147965326;p=emacs.git : Verify that PWD is correct, not just well-formed and valid. --- diff --git a/configure.in b/configure.in index aa5a88d39f6..74b953c9e37 100644 --- a/configure.in +++ b/configure.in @@ -114,7 +114,10 @@ case "${srcdir}" in . ) ## We may be able to use the $PWD environment variable to make this ## absolute. But sometimes PWD is inaccurate. - if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".${PWD}" ; + ## Note: we used to use ${PWD} at the end instead of `pwd`, + ## but that tested only for a well-formed and valid PWD, + ## it did not object when PWD was well-formed and valid but just wrong. + if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ; then srcdir="$PWD" else @@ -355,6 +358,11 @@ case "${canonical}" in ## operating system. ;; + ## Compaq Nonstop + mips-compaq-nonstopux* ) + machine=nonstopux opsys=nonstopux + ;; + ## Convex *-convex-bsd* | *-convex-convexos* ) machine=convex opsys=bsd4-3