mirror of https://github.com/python/cpython
gh-98989: configure: add 3.11 to list of Pythons (#98988)
Closes #98989 Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
780757ac58
commit
f7241aaf6f
|
@ -0,0 +1 @@
|
||||||
|
Use ``python3.11``, if available, for regeneration and freezing.
|
|
@ -3361,7 +3361,7 @@ fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for ac_prog in python$PACKAGE_VERSION python3.10 python3.9 python3.8 python3.7 python3.6 python3 python
|
for ac_prog in python$PACKAGE_VERSION python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3 python
|
||||||
do
|
do
|
||||||
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
||||||
set dummy $ac_prog; ac_word=$2
|
set dummy $ac_prog; ac_word=$2
|
||||||
|
|
|
@ -203,7 +203,7 @@ AC_SUBST([FREEZE_MODULE_DEPS])
|
||||||
AC_SUBST([PYTHON_FOR_BUILD_DEPS])
|
AC_SUBST([PYTHON_FOR_BUILD_DEPS])
|
||||||
|
|
||||||
AC_CHECK_PROGS([PYTHON_FOR_REGEN],
|
AC_CHECK_PROGS([PYTHON_FOR_REGEN],
|
||||||
[python$PACKAGE_VERSION python3.10 python3.9 python3.8 python3.7 python3.6 python3 python],
|
[python$PACKAGE_VERSION python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3 python],
|
||||||
[python3])
|
[python3])
|
||||||
AC_SUBST(PYTHON_FOR_REGEN)
|
AC_SUBST(PYTHON_FOR_REGEN)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue