summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-08-04 01:53:40 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-08-04 01:53:40 (GMT)
commit0c859f362c77f705a235a1a8513313e5d6d01c84 (patch)
treec5a0030fb1ffb8d208afa8fac0a64cd60ea10bb4 /configure
parent0de01c4b30858209a873fcc69c4cde80be608557 (diff)
parent43a94a7e2fd130ed15bd8a0a190f4d230b607514 (diff)
downloadcpython-0c859f362c77f705a235a1a8513313e5d6d01c84.zip
cpython-0c859f362c77f705a235a1a8513313e5d6d01c84.tar.gz
cpython-0c859f362c77f705a235a1a8513313e5d6d01c84.tar.bz2
Issue #27641: Merge cross-compiling improvement from 3.5
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure b/configure
index 9970a0d..f579ac0 100755
--- a/configure
+++ b/configure
@@ -740,7 +740,7 @@ UNIVERSALSDK
CONFIG_ARGS
SOVERSION
VERSION
-PGEN_DEPENDENCY
+GENERATED_COMMENT
PYTHON_FOR_BUILD
PYTHON_FOR_GEN
host_os
@@ -751,7 +751,6 @@ build_os
build_vendor
build_cpu
build
-cross_compiling
HAS_HG
HGBRANCH
HGTAG
@@ -2876,7 +2875,6 @@ fi
ac_config_headers="$ac_config_headers pyconfig.h"
-
ac_aux_dir=
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
if test -f "$ac_dir/install-sh"; then
@@ -3051,12 +3049,13 @@ $as_echo_n "checking for python interpreter for cross build... " >&6; }
$as_echo "$interp" >&6; }
PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp
fi
- PGEN_DEPENDENCY=''
+ # Used to comment out stuff for rebuilding generated files
+ GENERATED_COMMENT='#'
elif test "$cross_compiling" = maybe; then
as_fn_error $? "Cross compiling required --host=HOST-TUPLE and --build=ARCH" "$LINENO" 5
else
PYTHON_FOR_BUILD='./$(BUILDPYTHON) -E'
- PGEN_DEPENDENCY='$(PGEN)'
+ GENERATED_COMMENT=''
fi