summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-17 08:45:30 (GMT)
committerTrent Nelson <trent@trent.me>2012-10-17 08:45:30 (GMT)
commit739fc541b197ed4dbb55be7a7d6925dc5f5ac5d8 (patch)
treec076824aa97d47100f96efb90ffb4a42ba7c2777 /configure
parent3ed2cb5520fe1ad05664db41f7bac96438efc7d2 (diff)
downloadcpython-739fc541b197ed4dbb55be7a7d6925dc5f5ac5d8.zip
cpython-739fc541b197ed4dbb55be7a7d6925dc5f5ac5d8.tar.gz
cpython-739fc541b197ed4dbb55be7a7d6925dc5f5ac5d8.tar.bz2
Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure b/configure
index b90c661..c6223f6 100755
--- a/configure
+++ b/configure
@@ -652,7 +652,6 @@ HGBRANCH
HGTAG
HGVERSION
BASECPPFLAGS
-BUILDDIR
SVNVERSION
ARFLAGS
AR
@@ -5207,10 +5206,8 @@ else
SVNVERSION="echo Unversioned directory"
fi
-BUILDDIR="`pwd`"
-
-if test "$srcdir" != "." -a "$srcdir" != "$BUILDDIR"; then
+if test "$abs_srcdir" != "$abs_builddir"; then
# If we're building out-of-tree, we need to make sure the following
# resources get picked up before their $srcdir counterparts.
# Objects/ -> typeslots.inc