File tree Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Expand file tree Collapse file tree 3 files changed +25
-4
lines changed Original file line number Diff line number Diff line change
1
+ ``configure `` now accepts machine ``wasm32 `` or ``wasm64 `` and OS ``wasi ``
2
+ or ``emscripten `` for cross building, e.g. ``wasm32-unknown-emscripten ``
3
+ and ``wasm32-wasi ``.
Original file line number Diff line number Diff line change @@ -3717,6 +3717,12 @@ then
3717
3717
*-*-vxworks*)
3718
3718
ac_sys_system=VxWorks
3719
3719
;;
3720
+ *-*-emscripten)
3721
+ ac_sys_system=Emscripten
3722
+ ;;
3723
+ *-*-wasi)
3724
+ ac_sys_system=wasi
3725
+ ;;
3720
3726
*)
3721
3727
# for now, limit cross builds to known configurations
3722
3728
MACHDEP="unknown"
@@ -3767,6 +3773,9 @@ if test "$cross_compiling" = yes; then
3767
3773
*-*-vxworks*)
3768
3774
_host_cpu=$host_cpu
3769
3775
;;
3776
+ wasm32-*-* | wasm64-*-*)
3777
+ _host_cpu=$host_cpu
3778
+ ;;
3770
3779
*)
3771
3780
# for now, limit cross builds to known configurations
3772
3781
MACHDEP="unknown"
@@ -10382,6 +10391,9 @@ fi
10382
10391
# Dynamic linking for HP-UX
10383
10392
10384
10393
10394
+
10395
+
10396
+
10385
10397
have_uuid=missing
10386
10398
10387
10399
for ac_header in uuid.h
@@ -10414,10 +10426,6 @@ fi
10414
10426
done
10415
10427
10416
10428
10417
-
10418
-
10419
-
10420
-
10421
10429
if test "x$have_uuid" = xmissing; then :
10422
10430
10423
10431
Original file line number Diff line number Diff line change @@ -465,6 +465,13 @@ then
465
465
*-*-vxworks*)
466
466
ac_sys_system=VxWorks
467
467
;;
468
+ *-*-emscripten)
469
+ ac_sys_system=Emscripten
470
+ ;;
471
+ *-*-wasi)
472
+ dnl wasm32-wasi, wasm32-unknown-wasi
473
+ ac_sys_system=wasi
474
+ ;;
468
475
*)
469
476
# for now, limit cross builds to known configurations
470
477
MACHDEP="unknown"
@@ -514,6 +521,9 @@ if test "$cross_compiling" = yes; then
514
521
*-*-vxworks*)
515
522
_host_cpu=$host_cpu
516
523
;;
524
+ wasm32-*-* | wasm64-*-*)
525
+ _host_cpu=$host_cpu
526
+ ;;
517
527
*)
518
528
# for now, limit cross builds to known configurations
519
529
MACHDEP="unknown"
You can’t perform that action at this time.
0 commit comments