Issue #27641: Comment out regeneration rules when cross compiling
diff --git a/configure b/configure
index 521dd7a..2030083 100755
--- a/configure
+++ b/configure
@@ -735,7 +735,7 @@
CONFIG_ARGS
SOVERSION
VERSION
-PGEN_DEPENDENCY
+GENERATED_COMMENT
PYTHON_FOR_BUILD
host_os
host_vendor
@@ -745,7 +745,6 @@
build_vendor
build_cpu
build
-cross_compiling
target_alias
host_alias
build_alias
@@ -2800,7 +2799,6 @@
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
@@ -2925,12 +2923,13 @@
$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