summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-17 04:47:31 -0400
committerTrent Nelson <trent@trent.me>2012-10-17 04:47:31 -0400
commit5595ab564cd0a01b1efdba5a03b2521e393fe7a4 (patch)
treea46882397ecc56520346c67fdf36ec2fa4d56cb6 /configure
parentee528cccde02a5b0382e47a709f8a8311415dad1 (diff)
parent739fc541b197ed4dbb55be7a7d6925dc5f5ac5d8 (diff)
downloadcpython-git-5595ab564cd0a01b1efdba5a03b2521e393fe7a4.tar.gz
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 a619bb3834..6e1825f689 100755
--- a/configure
+++ b/configure
@@ -715,7 +715,6 @@ HGBRANCH
HGTAG
HGVERSION
BASECPPFLAGS
-BUILDDIR
target_alias
host_alias
build_alias
@@ -2721,10 +2720,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-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