|
|
@ -1,8 +1,8 @@ |
|
|
|
#! /bin/sh |
|
|
|
#! /bin/sh |
|
|
|
# Configuration validation subroutine script. |
|
|
|
# Configuration validation subroutine script. |
|
|
|
# Copyright 1992-2016 Free Software Foundation, Inc. |
|
|
|
# Copyright 1992-2017 Free Software Foundation, Inc. |
|
|
|
|
|
|
|
|
|
|
|
timestamp='2016-05-10' |
|
|
|
timestamp='2017-01-01' |
|
|
|
|
|
|
|
|
|
|
|
# This file is free software; you can redistribute it and/or modify it |
|
|
|
# This file is free software; you can redistribute it and/or modify it |
|
|
|
# under the terms of the GNU General Public License as published by |
|
|
|
# under the terms of the GNU General Public License as published by |
|
|
@ -67,7 +67,7 @@ Report bugs and patches to <config-patches@gnu.org>." |
|
|
|
version="\ |
|
|
|
version="\ |
|
|
|
GNU config.sub ($timestamp) |
|
|
|
GNU config.sub ($timestamp) |
|
|
|
|
|
|
|
|
|
|
|
Copyright 1992-2016 Free Software Foundation, Inc. |
|
|
|
Copyright 1992-2017 Free Software Foundation, Inc. |
|
|
|
|
|
|
|
|
|
|
|
This is free software; see the source for copying conditions. There is NO |
|
|
|
This is free software; see the source for copying conditions. There is NO |
|
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
|
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
|
|
@ -117,7 +117,7 @@ case $maybe_os in |
|
|
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
|
|
|
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ |
|
|
|
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
|
|
|
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ |
|
|
|
knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ |
|
|
|
knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ |
|
|
|
kopensolaris*-gnu* | \ |
|
|
|
kopensolaris*-gnu* | cloudabi*-eabi* | \ |
|
|
|
storm-chaos* | os2-emx* | rtmk-nova*) |
|
|
|
storm-chaos* | os2-emx* | rtmk-nova*) |
|
|
|
os=-$maybe_os |
|
|
|
os=-$maybe_os |
|
|
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
|
|
|
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` |
|
|
@ -301,6 +301,7 @@ case $basic_machine in |
|
|
|
| open8 | or1k | or1knd | or32 \ |
|
|
|
| open8 | or1k | or1knd | or32 \ |
|
|
|
| pdp10 | pdp11 | pj | pjl \ |
|
|
|
| pdp10 | pdp11 | pj | pjl \ |
|
|
|
| powerpc | powerpc64 | powerpc64le | powerpcle \ |
|
|
|
| powerpc | powerpc64 | powerpc64le | powerpcle \ |
|
|
|
|
|
|
|
| pru \ |
|
|
|
| pyramid \ |
|
|
|
| pyramid \ |
|
|
|
| riscv32 | riscv64 \ |
|
|
|
| riscv32 | riscv64 \ |
|
|
|
| rl78 | rx \ |
|
|
|
| rl78 | rx \ |
|
|
@ -428,6 +429,7 @@ case $basic_machine in |
|
|
|
| orion-* \ |
|
|
|
| orion-* \ |
|
|
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
|
|
|
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
|
|
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
|
|
|
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
|
|
|
|
|
|
|
| pru-* \ |
|
|
|
| pyramid-* \ |
|
|
|
| pyramid-* \ |
|
|
|
| riscv32-* | riscv64-* \ |
|
|
|
| riscv32-* | riscv64-* \ |
|
|
|
| rl78-* | romp-* | rs6000-* | rx-* \ |
|
|
|
| rl78-* | romp-* | rs6000-* | rx-* \ |
|
|
@ -643,6 +645,14 @@ case $basic_machine in |
|
|
|
basic_machine=m68k-bull |
|
|
|
basic_machine=m68k-bull |
|
|
|
os=-sysv3 |
|
|
|
os=-sysv3 |
|
|
|
;; |
|
|
|
;; |
|
|
|
|
|
|
|
e500v[12]) |
|
|
|
|
|
|
|
basic_machine=powerpc-unknown |
|
|
|
|
|
|
|
os=$os"spe" |
|
|
|
|
|
|
|
;; |
|
|
|
|
|
|
|
e500v[12]-*) |
|
|
|
|
|
|
|
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
|
|
|
|
|
os=$os"spe" |
|
|
|
|
|
|
|
;; |
|
|
|
ebmon29k) |
|
|
|
ebmon29k) |
|
|
|
basic_machine=a29k-amd |
|
|
|
basic_machine=a29k-amd |
|
|
|
os=-ebmon |
|
|
|
os=-ebmon |
|
|
@ -1022,7 +1032,7 @@ case $basic_machine in |
|
|
|
ppc-* | ppcbe-*) |
|
|
|
ppc-* | ppcbe-*) |
|
|
|
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
|
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
|
;; |
|
|
|
;; |
|
|
|
ppcle | powerpclittle | ppc-le | powerpc-little) |
|
|
|
ppcle | powerpclittle) |
|
|
|
basic_machine=powerpcle-unknown |
|
|
|
basic_machine=powerpcle-unknown |
|
|
|
;; |
|
|
|
;; |
|
|
|
ppcle-* | powerpclittle-*) |
|
|
|
ppcle-* | powerpclittle-*) |
|
|
@ -1032,7 +1042,7 @@ case $basic_machine in |
|
|
|
;; |
|
|
|
;; |
|
|
|
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
|
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` |
|
|
|
;; |
|
|
|
;; |
|
|
|
ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
|
|
|
ppc64le | powerpc64little) |
|
|
|
basic_machine=powerpc64le-unknown |
|
|
|
basic_machine=powerpc64le-unknown |
|
|
|
;; |
|
|
|
;; |
|
|
|
ppc64le-* | powerpc64little-*) |
|
|
|
ppc64le-* | powerpc64little-*) |
|
|
@ -1387,9 +1397,9 @@ case $os in |
|
|
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
|
|
|
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
|
|
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
|
|
|
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
|
|
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
|
|
|
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
|
|
|
| -chorusos* | -chorusrdb* | -cegcc* \ |
|
|
|
| -chorusos* | -chorusrdb* | -cegcc* | -glidix* \ |
|
|
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
|
|
|
| -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ |
|
|
|
| -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
|
|
|
| -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
|
|
|
| -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
|
|
|
| -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
|
|
|
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
|
|
|
| -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ |
|
|
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
|
|
|
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
|
|
@ -1399,7 +1409,7 @@ case $os in |
|
|
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
|
|
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
|
|
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
|
|
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
|
|
|
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ |
|
|
|
| -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \ |
|
|
|
| -onefs* | -tirtos* | -phoenix*) |
|
|
|
| -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*) |
|
|
|
# Remember, each alternative MUST END IN *, to match a version number. |
|
|
|
# Remember, each alternative MUST END IN *, to match a version number. |
|
|
|
;; |
|
|
|
;; |
|
|
|
-qnx*) |
|
|
|
-qnx*) |
|
|
@ -1628,6 +1638,9 @@ case $basic_machine in |
|
|
|
sparc-* | *-sun) |
|
|
|
sparc-* | *-sun) |
|
|
|
os=-sunos4.1.1 |
|
|
|
os=-sunos4.1.1 |
|
|
|
;; |
|
|
|
;; |
|
|
|
|
|
|
|
pru-*) |
|
|
|
|
|
|
|
os=-elf |
|
|
|
|
|
|
|
;; |
|
|
|
*-be) |
|
|
|
*-be) |
|
|
|
os=-beos |
|
|
|
os=-beos |
|
|
|
;; |
|
|
|
;; |
|
|
|