File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ MODLIBS= _MODLIBS_
2727VERSION= @VERSION@
2828srcdir= @srcdir@
2929VPATH= @srcdir@
30- BUILDDIR= @BUILDDIR@
30+ abs_srcdir= @abs_srcdir@
31+ abs_builddir= @abs_builddir@
3132
3233
3334CC= @CC@
Original file line number Diff line number Diff line change @@ -715,7 +715,6 @@ HGBRANCH
715715HGTAG
716716HGVERSION
717717BASECPPFLAGS
718- BUILDDIR
719718target_alias
720719host_alias
721720build_alias
@@ -2721,10 +2720,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
27212720
27222721
27232722
2724- BUILDDIR=" ` pwd` "
27252723
2726-
2727- if test " $srcdir " ! = " ." -a " $srcdir " ! = " $BUILDDIR " ; then
2724+ if test " $abs_srcdir " ! = " $abs_builddir " ; then
27282725 # If we're building out-of-tree, we need to make sure the following
27292726 # resources get picked up before their $srcdir counterparts.
27302727 # Objects/ -> typeslots.inc
Original file line number Diff line number Diff line change @@ -9,10 +9,8 @@ AC_PREREQ(2.65)
99
1010AC_INIT ( python , PYTHON_VERSION , http://bugs.python.org/ )
1111
12- BUILDDIR="`pwd`"
13- AC_SUBST ( BUILDDIR )
1412AC_SUBST ( BASECPPFLAGS )
15- if test "$srcdir " != "." -a "$srcdir" != "$BUILDDIR "; then
13+ if test "$abs_srcdir " != "$abs_builddir "; then
1614 # If we're building out-of-tree, we need to make sure the following
1715 # resources get picked up before their $srcdir counterparts.
1816 # Objects/ -> typeslots.inc
You can’t perform that action at this time.
0 commit comments