1
+ diff --git a/config.sub b/config.sub
2
+ index ba37cf99e2..d772f33065 100755
3
+ --- a/config.sub
4
+ +++ b/config.sub
5
+ @@ -118,7 +118,8 @@ case $maybe_os in
6
+ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
7
+ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
8
+ kopensolaris*-gnu* | cloudabi*-eabi* | \
9
+ - storm-chaos* | os2-emx* | rtmk-nova*)
10
+ + storm-chaos* | os2-emx* | rtmk-nova* | \
11
+ + emscripten)
12
+ os=-$maybe_os
13
+ basic_machine=`echo "$1" | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
14
+ ;;
15
+ @@ -377,6 +378,7 @@ case $basic_machine in
16
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
17
+ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
18
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
19
+ + | asmjs \
20
+ | avr-* | avr32-* \
21
+ | ba-* \
22
+ | be32-* | be64-* \
23
+ @@ -1522,6 +1524,8 @@ case $os in
24
+ ;;
25
+ esac
26
+ ;;
27
+ + -emscripten)
28
+ + ;;
29
+ -nacl*)
30
+ ;;
31
+ -ios)
1
32
diff --git a/configure b/configure
2
- index 8cf777e..263719f 100755
33
+ index e0389649ae..e6ab1613cf 100755
3
34
--- a/configure
4
35
+++ b/configure
5
- @@ -3202 ,6 +3202 ,9 @@ then
36
+ @@ -3257 ,6 +3257 ,9 @@ then
6
37
*-*-cygwin*)
7
38
ac_sys_system=Cygwin
8
39
;;
@@ -12,7 +43,7 @@ index 8cf777e..263719f 100755
12
43
*)
13
44
# for now, limit cross builds to known configurations
14
45
MACHDEP="unknown"
15
- @@ -3248 ,6 +3251 ,9 @@ if test "$cross_compiling" = yes; then
46
+ @@ -3301 ,6 +3304 ,9 @@ if test "$cross_compiling" = yes; then
16
47
*-*-cygwin*)
17
48
_host_cpu=
18
49
;;
@@ -23,10 +54,10 @@ index 8cf777e..263719f 100755
23
54
# for now, limit cross builds to known configurations
24
55
MACHDEP="unknown"
25
56
diff --git a/configure.ac b/configure.ac
26
- index 78fe3c7..d7665b4 100644
57
+ index b5beb08574..8051e5a8ed 100644
27
58
--- a/configure.ac
28
59
+++ b/configure.ac
29
- @@ -322 ,6 +322 ,9 @@ then
60
+ @@ -379 ,6 +379 ,9 @@ then
30
61
*-*-cygwin*)
31
62
ac_sys_system=Cygwin
32
63
;;
@@ -36,7 +67,7 @@ index 78fe3c7..d7665b4 100644
36
67
*)
37
68
# for now, limit cross builds to known configurations
38
69
MACHDEP="unknown"
39
- @@ -368 ,6 +371 ,9 @@ if test "$cross_compiling" = yes; then
70
+ @@ -423 ,6 +426 ,9 @@ if test "$cross_compiling" = yes; then
40
71
*-*-cygwin*)
41
72
_host_cpu=
42
73
;;
@@ -46,34 +77,3 @@ index 78fe3c7..d7665b4 100644
46
77
*)
47
78
# for now, limit cross builds to known configurations
48
79
MACHDEP="unknown"
49
- diff --git a/config.sub b/config.sub
50
- index d654d03..0d8236f 100755
51
- --- a/config.sub
52
- +++ b/config.sub
53
- @@ -119,7 +119,8 @@ case $maybe_os in
54
- linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
55
- knetbsd*-gnu* | netbsd*-gnu* | \
56
- kopensolaris*-gnu* | cloudabi*-eabi* | \
57
- - storm-chaos* | os2-emx* | rtmk-nova*)
58
- + storm-chaos* | os2-emx* | rtmk-nova* | \
59
- + emscripten)
60
- os=-$maybe_os
61
- basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
62
- ;;
63
- @@ -254,6 +255,7 @@ case $basic_machine in
64
- | am33_2.0 \
65
- | arc | arceb \
66
- | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
67
- + | asmjs \
68
- | avr | avr32 \
69
- | be32 | be64 \
70
- | bfin \
71
- @@ -1510,6 +1512,8 @@ case $os in
72
- -dicos*)
73
- os=-dicos
74
- ;;
75
- + -emscripten)
76
- + ;;
77
- -nacl*)
78
- ;;
79
- -none)
0 commit comments