mirror of https://github.com/python/cpython
Issue #15819: tweak logic in previous commit (617591e7d708).
This commit is contained in:
parent
9effe699b7
commit
6603118125
|
@ -5210,7 +5210,7 @@ fi
|
||||||
BUILDDIR="`pwd`"
|
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
|
# If we're building out-of-tree, we need to make sure the following
|
||||||
# resources get picked up before their $srcdir counterparts.
|
# resources get picked up before their $srcdir counterparts.
|
||||||
# Objects/ -> typeslots.inc
|
# Objects/ -> typeslots.inc
|
||||||
|
|
|
@ -833,7 +833,7 @@ fi
|
||||||
BUILDDIR="`pwd`"
|
BUILDDIR="`pwd`"
|
||||||
AC_SUBST(BUILDDIR)
|
AC_SUBST(BUILDDIR)
|
||||||
AC_SUBST(BASECPPFLAGS)
|
AC_SUBST(BASECPPFLAGS)
|
||||||
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
|
# If we're building out-of-tree, we need to make sure the following
|
||||||
# resources get picked up before their $srcdir counterparts.
|
# resources get picked up before their $srcdir counterparts.
|
||||||
# Objects/ -> typeslots.inc
|
# Objects/ -> typeslots.inc
|
||||||
|
|
Loading…
Reference in New Issue