Commit fcb009c9 authored by Trent Nelson's avatar Trent Nelson

Issue #15819: tweak logic in previous commit (e0a2b14a3cf9).

parent d86ceecf
...@@ -5180,7 +5180,7 @@ fi ...@@ -5180,7 +5180,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 make sure Include (in the current dir) # 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 # gets picked up before its $srcdir counterpart in order for Python-ast.h
# and graminit.h to get picked up from the correct directory. # and graminit.h to get picked up from the correct directory.
......
...@@ -857,7 +857,7 @@ fi ...@@ -857,7 +857,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 make sure Include (in the current dir) # 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 # gets picked up before its $srcdir counterpart in order for Python-ast.h
# and graminit.h to get picked up from the correct directory. # and graminit.h to get picked up from the correct directory.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment