aboutsummaryrefslogtreecommitdiff
path: root/autoconf/config.sub
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/config.sub')
-rwxr-xr-xautoconf/config.sub15
1 files changed, 15 insertions, 0 deletions
diff --git a/autoconf/config.sub b/autoconf/config.sub
index 9942491533..a4f411f6c6 100755
--- a/autoconf/config.sub
+++ b/autoconf/config.sub
@@ -239,6 +239,10 @@ case $os in
basic_machine=m68k-atari
os=-mint
;;
+ -nacl*)
+ basic_machine=i686-pc
+ os=-nacl
+ ;;
esac
# Decode aliases for certain CPU-COMPANY combinations.
@@ -347,6 +351,14 @@ case $basic_machine in
i*86 | x86_64)
basic_machine=$basic_machine-pc
;;
+ nacl64*)
+ basic_machine=x86_64-pc
+ os=-nacl
+ ;;
+ nacl*)
+ basic_machine=i686-pc
+ os=-nacl
+ ;;
# Object if more than one company name word.
*-*-*)
echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
@@ -1364,6 +1376,9 @@ case $os in
;;
esac
;;
+ -nacl*)
+ os=-nacl
+ ;;
-nto-qnx*)
;;
-nto*)