aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1992-09-18 06:16:37 +0000
committerMark Eichin <eichin@cygnus>1992-09-18 06:16:37 +0000
commitfc11b71ac49212ad4fbb6f7f1c094daa0da78a9d (patch)
tree2a9971e106f558fc2957a8ce4578f2fffda4d557 /configure
parentca25cb3b4b88003518c3ffbc2dfeee2efaf9b45c (diff)
downloadgdb-fc11b71ac49212ad4fbb6f7f1c094daa0da78a9d.zip
gdb-fc11b71ac49212ad4fbb6f7f1c094daa0da78a9d.tar.gz
gdb-fc11b71ac49212ad4fbb6f7f1c094daa0da78a9d.tar.bz2
from p3. Some shells leave PWD in the environment (old tcsh, ksh at least)
screws nested configures. "unset PWD" is the right answer, except that Decstation sh doesn't *have* unset. Note also that the send-pr build will fail if you have PWD in your environment, because emacs also (foolishly) trusts it. * configure: just set PWD=`pwd` at the top, since Ultrix sh doesn't have unset and all success paths (and most error paths) out set it anyway. (Note: should change all uses of ${PWD=`pwd`} to just ${PWD} to avoid confusion.)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 5f68992..1c27867 100755
--- a/configure
+++ b/configure
@@ -97,6 +97,7 @@ NO_EDIT="This file was generated automatically by configure. Do not edit."
##
progname=$0
+PWD=`pwd`
case "${progname}" in
/*) ;;