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

This commit is contained in:
Trent Nelson 2012-10-16 10:52:35 -04:00
parent d86ceecf21
commit fcb009c9d6
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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.

View File

@ -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.