gh-95174: Add pthread stubs for WASI (GH-95234)

Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
Christian Heimes 2022-07-27 20:28:06 +02:00 committed by GitHub
parent 226d02bb10
commit 0fe645d6fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 332 additions and 41 deletions

15
configure generated vendored
View file

@ -14748,11 +14748,16 @@ if test "x$ac_cv_lib_cma_pthread_create" = xyes; then :
else
case $ac_sys_system in #(
WASI) :
posix_threads=stub ;; #(
*) :
as_fn_error $? "could not find pthreads on your system" "$LINENO" 5
;;
esac
fi
fi
fi
@ -14908,6 +14913,14 @@ _ACEOF
fi
done
fi
if test "x$posix_threads" = xstub; then :
$as_echo "#define HAVE_PTHREAD_STUBS 1" >>confdefs.h
fi
# Check for enable-ipv6