diff --git a/configure b/configure index a0fbebcb0442b9..585ad3f2edda72 100755 --- a/configure +++ b/configure @@ -4064,7 +4064,7 @@ then *-*-emscripten) ac_sys_system=Emscripten ;; - *-*-wasi) + *-*-wasi*) ac_sys_system=WASI ;; *) @@ -7064,6 +7064,8 @@ case $host/$ac_cv_cc_name in #( PY_SUPPORT_TIER=2 ;; #( wasm32-unknown-wasi/clang) : PY_SUPPORT_TIER=2 ;; #( + wasm32-unknown-wasip2/clang) : + PY_SUPPORT_TIER=2 ;; #( x86_64-*-linux-gnu/clang) : PY_SUPPORT_TIER=2 ;; #( diff --git a/configure.ac b/configure.ac index 9a17fc279e5a69..b702fb8bc7acfa 100644 --- a/configure.ac +++ b/configure.ac @@ -336,7 +336,7 @@ then *-*-emscripten) ac_sys_system=Emscripten ;; - *-*-wasi) + *-*-wasi*) ac_sys_system=WASI ;; *) @@ -1181,7 +1181,8 @@ AS_CASE([$host/$ac_cv_cc_name], [aarch64-*-linux-gnu/gcc], [PY_SUPPORT_TIER=2], dnl Linux ARM64, glibc, gcc+clang [aarch64-*-linux-gnu/clang], [PY_SUPPORT_TIER=2], [powerpc64le-*-linux-gnu/gcc], [PY_SUPPORT_TIER=2], dnl Linux on PPC64 little endian, glibc, gcc - [wasm32-unknown-wasi/clang], [PY_SUPPORT_TIER=2], dnl WebAssembly System Interface, clang + [wasm32-unknown-wasi/clang], [PY_SUPPORT_TIER=2], dnl WebAssembly System Interface preview1, clang + [wasm32-unknown-wasip2/clang], [PY_SUPPORT_TIER=2], dnl WebAssembly System Interface 0.2, clang [x86_64-*-linux-gnu/clang], [PY_SUPPORT_TIER=2], dnl Linux on AMD64, any vendor, glibc, clang [aarch64-pc-windows-msvc/msvc], [PY_SUPPORT_TIER=3], dnl Windows ARM64, MSVC