@@ -7622,12 +7622,11 @@ AS_CASE([$ac_sys_system],
76227622 [ CYGWIN*] , [ PY_STDLIB_MOD_SET_NA([ _scproxy] )] ,
76237623 [ QNX*] , [ PY_STDLIB_MOD_SET_NA([ _scproxy] )] ,
76247624 [ FreeBSD*] , [ PY_STDLIB_MOD_SET_NA([ _scproxy] )] ,
7625- [ Emscripten|WASI ] , [
7625+ [ Emscripten] , [
76267626 dnl subprocess and multiprocessing are not supported (no fork syscall).
76277627 dnl curses and tkinter user interface are not available.
76287628 dnl dbm and gdbm aren't available, too.
7629- dnl Emscripten and WASI provide only stubs for pwd, grp APIs.
7630- dnl resource functions (get/setrusage) are stubs, too.
7629+ dnl pwd, grp APIs, and resource functions (get/setrusage) are stubs.
76317630 PY_STDLIB_MOD_SET_NA(
76327631 [ _curses] ,
76337632 [ _curses_panel] ,
@@ -7646,33 +7645,50 @@ AS_CASE([$ac_sys_system],
76467645 [ resource] ,
76477646 [ syslog] ,
76487647 )
7649- AS_CASE ( [ $ac_sys_system/$ac_sys_emscripten_target] ,
7650- [ Emscripten/browser*] , [
7651- dnl These modules are not particularly useful in browsers.
7652- PY_STDLIB_MOD_SET_NA(
7653- [ fcntl] ,
7654- [ readline] ,
7655- [ termios] ,
7656- )
7657- ] ,
7658- [ Emscripten/node*] , [ ] ,
7659- [ WASI/*] , [
7660- dnl WASI SDK 15.0 does not support file locking, mmap, and more.
7661- dnl Test modules that must be compiled as shared libraries are not supported
7662- dnl (see Modules/Setup.stdlib.in).
7663- PY_STDLIB_MOD_SET_NA(
7664- [ _ctypes_test] ,
7665- [ _testexternalinspection] ,
7666- [ _testimportmultiple] ,
7667- [ _testmultiphase] ,
7668- [ _testsinglephase] ,
7669- [ fcntl] ,
7670- [ mmap] ,
7671- [ termios] ,
7672- [ xxlimited] ,
7673- [ xxlimited_35] ,
7674- )
7675- ]
7648+ dnl fcntl, readline, and termios are not particularly useful in browsers.
7649+ PY_STDLIB_MOD_SET_NA(
7650+ [ fcntl] ,
7651+ [ readline] ,
7652+ [ termios] ,
7653+ )
7654+ ] ,
7655+ [ WASI] , [
7656+ dnl subprocess and multiprocessing are not supported (no fork syscall).
7657+ dnl curses and tkinter user interface are not available.
7658+ dnl dbm and gdbm aren't available, too.
7659+ dnl pwd, grp APIs, and resource functions (get/setrusage) are stubs.
7660+ PY_STDLIB_MOD_SET_NA(
7661+ [ _curses] ,
7662+ [ _curses_panel] ,
7663+ [ _dbm] ,
7664+ [ _gdbm] ,
7665+ [ _multiprocessing] ,
7666+ [ _posixshmem] ,
7667+ [ _posixsubprocess] ,
7668+ [ _scproxy] ,
7669+ [ _tkinter] ,
7670+ [ _interpreters] ,
7671+ [ _interpchannels] ,
7672+ [ _interpqueues] ,
7673+ [ grp] ,
7674+ [ pwd] ,
7675+ [ resource] ,
7676+ [ syslog] ,
7677+ )
7678+ dnl WASI SDK 15.0 does not support file locking, mmap, and more.
7679+ dnl Test modules that must be compiled as shared libraries are not supported
7680+ dnl (see Modules/Setup.stdlib.in).
7681+ PY_STDLIB_MOD_SET_NA(
7682+ [ _ctypes_test] ,
7683+ [ _testexternalinspection] ,
7684+ [ _testimportmultiple] ,
7685+ [ _testmultiphase] ,
7686+ [ _testsinglephase] ,
7687+ [ fcntl] ,
7688+ [ mmap] ,
7689+ [ termios] ,
7690+ [ xxlimited] ,
7691+ [ xxlimited_35] ,
76767692 )
76777693 ] ,
76787694 [ PY_STDLIB_MOD_SET_NA([ _scproxy] )]
0 commit comments