summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-18 08:56:25 (GMT)
committerGitHub <noreply@github.com>2022-06-18 08:56:25 (GMT)
commit753fe41418bfc9de66990697cfbcce171cfcede7 (patch)
tree5c579f54ceaf889ee99a37918203c0df297c5bc2 /configure
parent79d22694f2b9be45f29e685ff9b6220f0c4437f9 (diff)
downloadcpython-753fe41418bfc9de66990697cfbcce171cfcede7.zip
cpython-753fe41418bfc9de66990697cfbcce171cfcede7.tar.gz
cpython-753fe41418bfc9de66990697cfbcce171cfcede7.tar.bz2
gh-84461: Fix circulare dependency on BUILDPYTHON (GH-93977)
(cherry picked from commit 084023ccbeb3bf54a2e19873c6a4b0bec7b617f6) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 01d599d..954acc0 100755
--- a/configure
+++ b/configure
@@ -949,6 +949,7 @@ CONFIG_ARGS
SOVERSION
VERSION
PYTHON_FOR_REGEN
+PYTHON_FOR_BUILD_DEPS
FREEZE_MODULE_DEPS
FREEZE_MODULE
FREEZE_MODULE_BOOTSTRAP_DEPS
@@ -3282,6 +3283,7 @@ if test "x$cross_compiling" = xyes; then :
FREEZE_MODULE_BOOTSTRAP_DEPS='$(srcdir)/Programs/_freeze_module.py'
FREEZE_MODULE='$(FREEZE_MODULE_BOOTSTRAP)'
FREEZE_MODULE_DEPS='$(FREEZE_MODULE_BOOTSTRAP_DEPS)'
+ PYTHON_FOR_BUILD_DEPS=''
else
@@ -3289,6 +3291,7 @@ else
FREEZE_MODULE_BOOTSTRAP_DEPS="Programs/_freeze_module"
FREEZE_MODULE='$(PYTHON_FOR_FREEZE) $(srcdir)/Programs/_freeze_module.py'
FREEZE_MODULE_DEPS="_bootstrap_python \$(srcdir)/Programs/_freeze_module.py"
+ PYTHON_FOR_BUILD_DEPS='$(BUILDPYTHON)'
fi
@@ -3297,6 +3300,7 @@ fi
+
for ac_prog in python$PACKAGE_VERSION python3.10 python3.9 python3.8 python3.7 python3.6 python3 python
do
# Extract the first word of "$ac_prog", so it can be a program name with args.