mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #15819: use standard autoconf preset output variables.
Reported by: Roumen Petrov
This commit is contained in:
commit
5595ab564c
3 changed files with 4 additions and 8 deletions
|
@ -27,7 +27,8 @@ MODLIBS= _MODLIBS_
|
||||||
VERSION= @VERSION@
|
VERSION= @VERSION@
|
||||||
srcdir= @srcdir@
|
srcdir= @srcdir@
|
||||||
VPATH= @srcdir@
|
VPATH= @srcdir@
|
||||||
BUILDDIR= @BUILDDIR@
|
abs_srcdir= @abs_srcdir@
|
||||||
|
abs_builddir= @abs_builddir@
|
||||||
|
|
||||||
|
|
||||||
CC= @CC@
|
CC= @CC@
|
||||||
|
|
5
configure
vendored
5
configure
vendored
|
@ -715,7 +715,6 @@ HGBRANCH
|
||||||
HGTAG
|
HGTAG
|
||||||
HGVERSION
|
HGVERSION
|
||||||
BASECPPFLAGS
|
BASECPPFLAGS
|
||||||
BUILDDIR
|
|
||||||
target_alias
|
target_alias
|
||||||
host_alias
|
host_alias
|
||||||
build_alias
|
build_alias
|
||||||
|
@ -2721,10 +2720,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BUILDDIR="`pwd`"
|
|
||||||
|
|
||||||
|
if test "$abs_srcdir" != "$abs_builddir"; then
|
||||||
if test "$srcdir" != "." -a "$srcdir" != "$BUILDDIR"; then
|
|
||||||
# If we're building out-of-tree, we need to make sure the following
|
# If we're building out-of-tree, we need to make sure the following
|
||||||
# resources get picked up before their $srcdir counterparts.
|
# resources get picked up before their $srcdir counterparts.
|
||||||
# Objects/ -> typeslots.inc
|
# Objects/ -> typeslots.inc
|
||||||
|
|
|
@ -9,10 +9,8 @@ AC_PREREQ(2.65)
|
||||||
|
|
||||||
AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
|
AC_INIT(python, PYTHON_VERSION, http://bugs.python.org/)
|
||||||
|
|
||||||
BUILDDIR="`pwd`"
|
|
||||||
AC_SUBST(BUILDDIR)
|
|
||||||
AC_SUBST(BASECPPFLAGS)
|
AC_SUBST(BASECPPFLAGS)
|
||||||
if test "$srcdir" != "." -a "$srcdir" != "$BUILDDIR"; then
|
if test "$abs_srcdir" != "$abs_builddir"; then
|
||||||
# If we're building out-of-tree, we need to make sure the following
|
# If we're building out-of-tree, we need to make sure the following
|
||||||
# resources get picked up before their $srcdir counterparts.
|
# resources get picked up before their $srcdir counterparts.
|
||||||
# Objects/ -> typeslots.inc
|
# Objects/ -> typeslots.inc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue