[Python-checkins] cpython (3.2): Issue #15819: tweak logic in previous commit (617591e7d708).

trent.nelson python-checkins at python.org
Tue Oct 16 17:11:27 CEST 2012


http://hg.python.org/cpython/rev/5707c8a36cc0
changeset:   79759:5707c8a36cc0
branch:      3.2
parent:      79748:617591e7d708
user:        Trent Nelson <trent at trent.me>
date:        Tue Oct 16 11:04:04 2012 -0400
summary:
  Issue #15819: tweak logic in previous commit (617591e7d708).

files:
  configure    |  2 +-
  configure.ac |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -5210,7 +5210,7 @@
 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
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -833,7 +833,7 @@
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list