summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorTrent Nelson <trent@trent.me>2012-10-16 14:52:35 (GMT)
committerTrent Nelson <trent@trent.me>2012-10-16 14:52:35 (GMT)
commitfcb009c9d675b2ca0eafd01d5999cd6038d7d654 (patch)
tree01aa223fad749eddad6b136c2517c7985fc709bd /configure
parentd86ceecf2141e684364d31c28941c6aacfbba47a (diff)
downloadcpython-fcb009c9d675b2ca0eafd01d5999cd6038d7d654.zip
cpython-fcb009c9d675b2ca0eafd01d5999cd6038d7d654.tar.gz
cpython-fcb009c9d675b2ca0eafd01d5999cd6038d7d654.tar.bz2
Issue #15819: tweak logic in previous commit (e0a2b14a3cf9).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index f2304f6..6b4235c 100755
--- a/configure
+++ b/configure
@@ -5180,7 +5180,7 @@ fi
BUILDDIR="`pwd`"
-if test "$srcdir" != "$BUILDDIR"; then
+if test "$srcdir" != "." -a "$srcdir" != "$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.