mirror of
https://github.com/python/cpython.git
synced 2026-05-04 09:31:02 +00:00
Issue #15819: tweak logic in previous commit (e0a2b14a3cf9).
This commit is contained in:
parent
d86ceecf21
commit
fcb009c9d6
2 changed files with 2 additions and 2 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -857,7 +857,7 @@ fi
|
|||
BUILDDIR="`pwd`"
|
||||
AC_SUBST(BUILDDIR)
|
||||
AC_SUBST(BASECPPFLAGS)
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue