Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 56d4c03

Browse files
committed
Merge issue #15819: tweak logic in previous commit.
2 parents d6d5cf3 + 6603118 commit 56d4c03

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2724,7 +2724,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
27242724
BUILDDIR="`pwd`"
27252725

27262726

2727-
if test "$srcdir" != "$BUILDDIR"; then
2727+
if test "$srcdir" != "." -a "$srcdir" != "$BUILDDIR"; then
27282728
# If we're building out-of-tree, we need to make sure the following
27292729
# resources get picked up before their $srcdir counterparts.
27302730
# Objects/ -> typeslots.inc

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
1212
BUILDDIR="`pwd`"
1313
AC_SUBST(BUILDDIR)
1414
AC_SUBST(BASECPPFLAGS)
15-
if test "$srcdir" != "$BUILDDIR"; then
15+
if test "$srcdir" != "." -a "$srcdir" != "$BUILDDIR"; then
1616
# If we're building out-of-tree, we need to make sure the following
1717
# resources get picked up before their $srcdir counterparts.
1818
# Objects/ -> typeslots.inc

0 commit comments

Comments
 (0)