summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-16 15:07:31 (GMT)
committerTrent Nelson <trent@trent.me>2012-10-16 15:07:31 (GMT)
commit56d4c03cb2971701db716f80a4d8bd5febce429a (patch)
tree5a902daa056e5a3d7b618e646ba530ed8e8cc821 /configure
parentd6d5cf33ef7ad248a0baa2568f2a15a265a73734 (diff)
parent6603118125164b927d79eab89263a07a12406481 (diff)
downloadcpython-56d4c03cb2971701db716f80a4d8bd5febce429a.zip
cpython-56d4c03cb2971701db716f80a4d8bd5febce429a.tar.gz
cpython-56d4c03cb2971701db716f80a4d8bd5febce429a.tar.bz2
Merge issue #15819: tweak logic in previous commit.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 843b141..a619bb3 100755
--- a/configure
+++ b/configure
@@ -2724,7 +2724,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
BUILDDIR="`pwd`"
-if test "$srcdir" != "$BUILDDIR"; then
+if test "$srcdir" != "." -a "$srcdir" != "$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