2022-01-13 09:46:04 +01:00
|
|
|
# config.site override for cross compiling to wasm32-wasi platform
|
|
|
|
#
|
|
|
|
# Written by Christian Heimes <christian@python.org>
|
|
|
|
|
|
|
|
# cannot be detected in cross builds
|
|
|
|
ac_cv_buggy_getaddrinfo=no
|
|
|
|
|
|
|
|
# WASI has no /dev/pt*
|
|
|
|
ac_cv_file__dev_ptmx=no
|
|
|
|
ac_cv_file__dev_ptc=no
|
|
|
|
|
|
|
|
# dummy readelf, WASI build does not need readelf.
|
|
|
|
ac_cv_prog_ac_ct_READELF=true
|
|
|
|
|
2022-03-22 18:42:09 +01:00
|
|
|
# get/setrlimit are not supported
|
|
|
|
ac_cv_header_sys_resource_h=no
|
|
|
|
|
|
|
|
# undefined symbols / unsupported features
|
2022-01-13 09:46:04 +01:00
|
|
|
ac_cv_func_eventfd=no
|
2022-05-19 12:43:16 +02:00
|
|
|
|
|
|
|
# WASI SDK 15.0 has no pipe syscall.
|
|
|
|
ac_cv_func_pipe=no
|
|
|
|
|
|
|
|
# WASI SDK 15.0 cannot create fifos and special files.
|
|
|
|
ac_cv_func_mkfifo=no
|
|
|
|
ac_cv_func_mkfifoat=no
|
|
|
|
ac_cv_func_mknod=no
|
|
|
|
ac_cv_func_mknodat=no
|
2022-06-03 00:44:48 +02:00
|
|
|
ac_cv_func_makedev=no
|
2022-05-19 12:43:16 +02:00
|
|
|
|
|
|
|
# fdopendir() fails on SDK 15.0,
|
|
|
|
# OSError: [Errno 28] Invalid argument: '.'
|
|
|
|
ac_cv_func_fdopendir=no
|
|
|
|
|
|
|
|
# WASIX stubs we don't want to use.
|
|
|
|
ac_cv_func_kill=no
|
|
|
|
|
2022-06-06 19:24:11 +02:00
|
|
|
# WASI SDK 15.0 does not have chmod.
|
|
|
|
# Ignore WASIX stubs for now.
|
|
|
|
ac_cv_func_chmod=no
|
|
|
|
ac_cv_func_fchmod=no
|
|
|
|
|
2022-05-19 12:43:16 +02:00
|
|
|
# WASI sockets are limited to operations on given socket fd and inet sockets.
|
|
|
|
# Disable AF_UNIX and AF_PACKET support, see socketmodule.h.
|
|
|
|
ac_cv_header_sys_un_h=no
|
|
|
|
ac_cv_header_netpacket_packet_h=no
|