]> granicus.if.org Git - python/commitdiff
Issue #15819: tweak logic in previous commit (617591e7d708).
authorTrent Nelson <trent@trent.me>
Tue, 16 Oct 2012 15:04:04 +0000 (11:04 -0400)
committerTrent Nelson <trent@trent.me>
Tue, 16 Oct 2012 15:04:04 +0000 (11:04 -0400)
configure
configure.ac

index 8ba3dec51fd20f9485c75e38c12c462b2334c4c7..b90c6617688cbc4e9d0d3beffeea0ddac449a6f7 100755 (executable)
--- a/configure
+++ b/configure
@@ -5210,7 +5210,7 @@ fi
 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
     # resources get picked up before their $srcdir counterparts.
     #   Objects/ -> typeslots.inc
index 9222c887c30c7d47daa8bbbe03bda7178a9584f0..116e03e471b57d687371dfcfb5eaa9629c5dafea 100644 (file)
@@ -833,7 +833,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, we need to make sure the following
     # resources get picked up before their $srcdir counterparts.
     #   Objects/ -> typeslots.inc