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 #(
[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],