summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-17 08:32:49 (GMT)
committerTrent Nelson <trent@trent.me>2012-10-17 08:32:49 (GMT)
commitabf205149cbbfe8c23c0034b13afdc165b82ffc0 (patch)
tree5898436629d86bcfb98a98deb659e07a7f204061 /configure
parenteadca1defab2966714ece5b2218c98e9ee9e4394 (diff)
downloadcpython-abf205149cbbfe8c23c0034b13afdc165b82ffc0.zip
cpython-abf205149cbbfe8c23c0034b13afdc165b82ffc0.tar.gz
cpython-abf205149cbbfe8c23c0034b13afdc165b82ffc0.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 6b4235c..7098353 100755
--- a/configure
+++ b/configure
@@ -649,7 +649,6 @@ HGBRANCH
HGTAG
HGVERSION
BASECPPFLAGS
-BUILDDIR
SVNVERSION
ARFLAGS
AR
@@ -5177,10 +5176,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 make sure Include (in the current dir)
# gets picked up before its $srcdir counterpart in order for Python-ast.h
# and graminit.h to get picked up from the correct directory.