summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-25 20:24:40 (GMT)
committerGitHub <noreply@github.com>2021-11-25 20:24:40 (GMT)
commit1052a39b7603e4d8401a5987af0c36f4a1d0b1e4 (patch)
tree0413ec8ae95323079521a531236c641a665bae0d /configure
parentdfcc6ff36f8bedae420fe228312527ec3937c973 (diff)
downloadcpython-1052a39b7603e4d8401a5987af0c36f4a1d0b1e4.zip
cpython-1052a39b7603e4d8401a5987af0c36f4a1d0b1e4.tar.gz
cpython-1052a39b7603e4d8401a5987af0c36f4a1d0b1e4.tar.bz2
bpo-40280: Add wasm cross build targets (GH-29771)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 12 insertions, 4 deletions
diff --git a/configure b/configure
index abfda2b..944e97c 100755
--- a/configure
+++ b/configure
@@ -3717,6 +3717,12 @@ then
*-*-vxworks*)
ac_sys_system=VxWorks
;;
+ *-*-emscripten)
+ ac_sys_system=Emscripten
+ ;;
+ *-*-wasi)
+ ac_sys_system=WASI
+ ;;
*)
# for now, limit cross builds to known configurations
MACHDEP="unknown"
@@ -3767,6 +3773,9 @@ if test "$cross_compiling" = yes; then
*-*-vxworks*)
_host_cpu=$host_cpu
;;
+ wasm32-*-* | wasm64-*-*)
+ _host_cpu=$host_cpu
+ ;;
*)
# for now, limit cross builds to known configurations
MACHDEP="unknown"
@@ -10382,6 +10391,9 @@ fi
# Dynamic linking for HP-UX
+
+
+
have_uuid=missing
for ac_header in uuid.h
@@ -10414,10 +10426,6 @@ fi
done
-
-
-
-
if test "x$have_uuid" = xmissing; then :