mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
bpo-40280: Emscripten defaults to --with-ensurepip=no (GH-29873)
This commit is contained in:
parent
c2bb29ce9a
commit
9deb83468c
10
configure
vendored
10
configure
vendored
|
@ -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 #(
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue