bpo-40280: Emscripten defaults to --with-ensurepip=no (GH-29873)

This commit is contained in:
Christian Heimes 2021-12-01 21:43:07 +02:00 committed by GitHub
parent c2bb29ce9a
commit 9deb83468c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

10
configure vendored
View File

@ -20268,7 +20268,15 @@ $as_echo_n "checking for ensurepip... " >&6; }
if test "${with_ensurepip+set}" = set; then :
withval=$with_ensurepip;
else
with_ensurepip=upgrade
case $ac_sys_system in #(
Emscripten) :
$with_ensurepip=no ;; #(
*) :
with_ensurepip=upgrade
;;
esac
fi
case $with_ensurepip in #(

View File

@ -5871,7 +5871,12 @@ AC_ARG_WITH(ensurepip,
[AS_HELP_STRING([--with-ensurepip@<:@=install|upgrade|no@:>@],
["install" or "upgrade" using bundled pip (default is upgrade)])],
[],
[with_ensurepip=upgrade])
[
AS_CASE([$ac_sys_system],
[Emscripten], [$with_ensurepip=no],
[with_ensurepip=upgrade]
)
])
AS_CASE($with_ensurepip,
[yes|upgrade],[ENSUREPIP=upgrade],
[install],[ENSUREPIP=install],