summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-12 01:51:44 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-12 01:51:44 (GMT)
commit11a86ffe5ec975845e9519e27518d0451db37247 (patch)
tree8f756357ab36238a7e60300925b4677635bc42a9 /configure
parent503ba3ed973d8e82ea5e38cb287d4127fccf51b8 (diff)
parentc5ee3caa807abeb14b586117ce36bc1c2a762390 (diff)
downloadcpython-11a86ffe5ec975845e9519e27518d0451db37247.zip
cpython-11a86ffe5ec975845e9519e27518d0451db37247.tar.gz
cpython-11a86ffe5ec975845e9519e27518d0451db37247.tar.bz2
Issue #28066: Merge srcdir fix from 3.5
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0924e23..110e576 100755
--- a/configure
+++ b/configure
@@ -2679,7 +2679,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test "$abs_srcdir" != "$abs_builddir"; then
+if test "$srcdir" != . -a "$srcdir" != "$(pwd)"; 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