Skip to content

Commit 9deb834

Browse files
authored
bpo-40280: Emscripten defaults to --with-ensurepip=no (GH-29873)
1 parent c2bb29c commit 9deb834

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

configure

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20268,7 +20268,15 @@ $as_echo_n "checking for ensurepip... " >&6; }
2026820268
if test "${with_ensurepip+set}" = set; then :
2026920269
withval=$with_ensurepip;
2027020270
else
20271-
with_ensurepip=upgrade
20271+
20272+
case $ac_sys_system in #(
20273+
Emscripten) :
20274+
$with_ensurepip=no ;; #(
20275+
*) :
20276+
with_ensurepip=upgrade
20277+
;;
20278+
esac
20279+
2027220280
fi
2027320281

2027420282
case $with_ensurepip in #(

configure.ac

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5871,7 +5871,12 @@ AC_ARG_WITH(ensurepip,
58715871
[AS_HELP_STRING([--with-ensurepip@<:@=install|upgrade|no@:>@],
58725872
["install" or "upgrade" using bundled pip (default is upgrade)])],
58735873
[],
5874-
[with_ensurepip=upgrade])
5874+
[
5875+
AS_CASE([$ac_sys_system],
5876+
[Emscripten], [$with_ensurepip=no],
5877+
[with_ensurepip=upgrade]
5878+
)
5879+
])
58755880
AS_CASE($with_ensurepip,
58765881
[yes|upgrade],[ENSUREPIP=upgrade],
58775882
[install],[ENSUREPIP=install],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy