Re-enable the autoconf check for socket.shutdown on Emscripten, as some
Emscripten environments are able to provide this call.
--- /dev/null
+socket.shutdown function is now enabled for Emscripten builds. However, if the runtime does not implement the shutdown syscall, it will show "Function not implemented" error.
ac_cv_func_memfd_create=no
ac_cv_func_prlimit=no
-# unsupported syscall, https://github.com/emscripten-core/emscripten/issues/13393
-ac_cv_func_shutdown=no
-
# The rest is based on pyodide
# https://github.com/pyodide/pyodide/blob/main/cpython/pyconfig.undefs.h