summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-07-29 05:52:32 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-07-29 05:52:32 (GMT)
commit43a94a7e2fd130ed15bd8a0a190f4d230b607514 (patch)
tree99e10f2bfb501a137681e2fab29df18042141681 /configure
parent6c7d5a2553715ee78854ede170c4ea8d0c544fbc (diff)
downloadcpython-43a94a7e2fd130ed15bd8a0a190f4d230b607514.zip
cpython-43a94a7e2fd130ed15bd8a0a190f4d230b607514.tar.gz
cpython-43a94a7e2fd130ed15bd8a0a190f4d230b607514.tar.bz2
Issue #27641: Comment out regeneration rules when cross compiling
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure b/configure
index bb89a5a..2683734 100755
--- a/configure
+++ b/configure
@@ -739,7 +739,7 @@ UNIVERSALSDK
CONFIG_ARGS
SOVERSION
VERSION
-PGEN_DEPENDENCY
+GENERATED_COMMENT
PYTHON_FOR_BUILD
PYTHON_FOR_GEN
host_os
@@ -750,7 +750,6 @@ build_os
build_vendor
build_cpu
build
-cross_compiling
HAS_HG
HGBRANCH
HGTAG
@@ -2875,7 +2874,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
@@ -3050,12 +3048,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