|
|
|
@ -1,9 +1,9 @@ |
|
|
|
#! /bin/sh |
|
|
|
# Configuration validation subroutine script. |
|
|
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
|
|
|
# 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. |
|
|
|
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
|
|
|
|
|
|
|
timestamp='2004-06-24' |
|
|
|
timestamp='2005-06-02' |
|
|
|
|
|
|
|
# This file is (in principle) common to ALL GNU software. |
|
|
|
# The presence of a machine in this file suggests that SOME GNU software |
|
|
|
@ -21,14 +21,15 @@ timestamp='2004-06-24' |
|
|
|
# |
|
|
|
# You should have received a copy of the GNU General Public License |
|
|
|
# along with this program; if not, write to the Free Software |
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, |
|
|
|
# Boston, MA 02111-1307, USA. |
|
|
|
|
|
|
|
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
|
|
|
# 02110-1301, USA. |
|
|
|
# |
|
|
|
# As a special exception to the GNU General Public License, if you |
|
|
|
# distribute this file as part of a program that contains a |
|
|
|
# configuration script generated by Autoconf, you may include it under |
|
|
|
# the same distribution terms that you use for the rest of that program. |
|
|
|
|
|
|
|
|
|
|
|
# Please send patches to <config-patches@gnu.org>. Submit a context |
|
|
|
# diff and a properly formatted ChangeLog entry. |
|
|
|
# |
|
|
|
@ -70,7 +71,7 @@ Report bugs and patches to <config-patches@gnu.org>." |
|
|
|
version="\ |
|
|
|
GNU config.sub ($timestamp) |
|
|
|
|
|
|
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 |
|
|
|
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 |
|
|
|
Free Software Foundation, Inc. |
|
|
|
|
|
|
|
This is free software; see the source for copying conditions. There is NO |
|
|
|
@ -83,11 +84,11 @@ Try \`$me --help' for more information." |
|
|
|
while test $# -gt 0 ; do |
|
|
|
case $1 in |
|
|
|
--time-stamp | --time* | -t ) |
|
|
|
echo "$timestamp" ; exit 0 ;; |
|
|
|
echo "$timestamp" ; exit ;; |
|
|
|
--version | -v ) |
|
|
|
echo "$version" ; exit 0 ;; |
|
|
|
echo "$version" ; exit ;; |
|
|
|
--help | --h* | -h ) |
|
|
|
echo "$usage"; exit 0 ;; |
|
|
|
echo "$usage"; exit ;; |
|
|
|
-- ) # Stop option processing |
|
|
|
shift; break ;; |
|
|
|
- ) # Use stdin as input. |
|
|
|
@ -99,7 +100,7 @@ while test $# -gt 0 ; do |
|
|
|
*local*) |
|
|
|
# First pass through any local machine types. |
|
|
|
echo $1 |
|
|
|
exit 0;; |
|
|
|
exit ;; |
|
|
|
|
|
|
|
* ) |
|
|
|
break ;; |
|
|
|
@ -231,13 +232,14 @@ case $basic_machine in |
|
|
|
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ |
|
|
|
| am33_2.0 \ |
|
|
|
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ |
|
|
|
| bfin \ |
|
|
|
| c4x | clipper \ |
|
|
|
| d10v | d30v | dlx | dsp16xx \ |
|
|
|
| fr30 | frv \ |
|
|
|
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
|
|
|
| i370 | i860 | i960 | ia64 \ |
|
|
|
| ip2k | iq2000 \ |
|
|
|
| m32r | m32rle | m68000 | m68k | m88k | mcore \ |
|
|
|
| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ |
|
|
|
| mips | mipsbe | mipseb | mipsel | mipsle \ |
|
|
|
| mips16 \ |
|
|
|
| mips64 | mips64el \ |
|
|
|
@ -254,6 +256,7 @@ case $basic_machine in |
|
|
|
| mipsisa64sr71k | mipsisa64sr71kel \ |
|
|
|
| mipstx39 | mipstx39el \ |
|
|
|
| mn10200 | mn10300 \ |
|
|
|
| ms1 \ |
|
|
|
| msp430 \ |
|
|
|
| ns16k | ns32k \ |
|
|
|
| openrisc | or32 \ |
|
|
|
@ -262,15 +265,19 @@ case $basic_machine in |
|
|
|
| pyramid \ |
|
|
|
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
|
|
|
| sh64 | sh64le \ |
|
|
|
| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ |
|
|
|
| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ |
|
|
|
| sparcv8 | sparcv9 | sparcv9b \ |
|
|
|
| strongarm \ |
|
|
|
| tahoe | thumb | tic4x | tic80 | tron \ |
|
|
|
| v850 | v850e \ |
|
|
|
| we32k \ |
|
|
|
| x86 | xscale | xstormy16 | xtensa \ |
|
|
|
| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ |
|
|
|
| z8k) |
|
|
|
basic_machine=$basic_machine-unknown |
|
|
|
;; |
|
|
|
m32c) |
|
|
|
basic_machine=$basic_machine-unknown |
|
|
|
;; |
|
|
|
m6811 | m68hc11 | m6812 | m68hc12) |
|
|
|
# Motorola 68HC11/12. |
|
|
|
basic_machine=$basic_machine-unknown |
|
|
|
@ -298,7 +305,7 @@ case $basic_machine in |
|
|
|
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ |
|
|
|
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
|
|
|
| avr-* \ |
|
|
|
| bs2000-* \ |
|
|
|
| bfin-* | bs2000-* \ |
|
|
|
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
|
|
|
| clipper-* | craynv-* | cydra-* \ |
|
|
|
| d10v-* | d30v-* | dlx-* \ |
|
|
|
@ -310,7 +317,7 @@ case $basic_machine in |
|
|
|
| ip2k-* | iq2000-* \ |
|
|
|
| m32r-* | m32rle-* \ |
|
|
|
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
|
|
|
| m88110-* | m88k-* | mcore-* \ |
|
|
|
| m88110-* | m88k-* | maxq-* | mcore-* \ |
|
|
|
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
|
|
|
| mips16-* \ |
|
|
|
| mips64-* | mips64el-* \ |
|
|
|
@ -327,6 +334,7 @@ case $basic_machine in |
|
|
|
| mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
|
|
|
| mipstx39-* | mipstx39el-* \ |
|
|
|
| mmix-* \ |
|
|
|
| ms1-* \ |
|
|
|
| msp430-* \ |
|
|
|
| none-* | np1-* | ns16k-* | ns32k-* \ |
|
|
|
| orion-* \ |
|
|
|
@ -336,18 +344,21 @@ case $basic_machine in |
|
|
|
| romp-* | rs6000-* \ |
|
|
|
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ |
|
|
|
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
|
|
|
| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ |
|
|
|
| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ |
|
|
|
| sparclite-* \ |
|
|
|
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
|
|
|
| tahoe-* | thumb-* \ |
|
|
|
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
|
|
|
| tron-* \ |
|
|
|
| v850-* | v850e-* | vax-* \ |
|
|
|
| we32k-* \ |
|
|
|
| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ |
|
|
|
| xtensa-* \ |
|
|
|
| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ |
|
|
|
| xstormy16-* | xtensa-* \ |
|
|
|
| ymp-* \ |
|
|
|
| z8k-*) |
|
|
|
;; |
|
|
|
m32c-*) |
|
|
|
;; |
|
|
|
# Recognize the various machine names and aliases which stand |
|
|
|
# for a CPU type and a company and sometimes even an OS. |
|
|
|
386bsd) |
|
|
|
@ -457,6 +468,9 @@ case $basic_machine in |
|
|
|
crds | unos) |
|
|
|
basic_machine=m68k-crds |
|
|
|
;; |
|
|
|
crisv32 | crisv32-* | etraxfs*) |
|
|
|
basic_machine=crisv32-axis |
|
|
|
;; |
|
|
|
cris | cris-* | etrax*) |
|
|
|
basic_machine=cris-axis |
|
|
|
;; |
|
|
|
@ -486,6 +500,10 @@ case $basic_machine in |
|
|
|
basic_machine=m88k-motorola |
|
|
|
os=-sysv3 |
|
|
|
;; |
|
|
|
djgpp) |
|
|
|
basic_machine=i586-pc |
|
|
|
os=-msdosdjgpp |
|
|
|
;; |
|
|
|
dpx20 | dpx20-*) |
|
|
|
basic_machine=rs6000-bull |
|
|
|
os=-bosx |
|
|
|
@ -1026,6 +1044,10 @@ case $basic_machine in |
|
|
|
basic_machine=hppa1.1-winbond |
|
|
|
os=-proelf |
|
|
|
;; |
|
|
|
xbox) |
|
|
|
basic_machine=i686-pc |
|
|
|
os=-mingw32 |
|
|
|
;; |
|
|
|
xps | xps100) |
|
|
|
basic_machine=xps100-honeywell |
|
|
|
;; |
|
|
|
@ -1167,7 +1189,7 @@ case $os in |
|
|
|
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
|
|
|
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
|
|
|
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
|
|
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) |
|
|
|
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos*) |
|
|
|
# Remember, each alternative MUST END IN *, to match a version number. |
|
|
|
;; |
|
|
|
-qnx*) |
|
|
|
@ -1294,6 +1316,9 @@ case $os in |
|
|
|
-kaos*) |
|
|
|
os=-kaos |
|
|
|
;; |
|
|
|
-zvmoe) |
|
|
|
os=-zvmoe |
|
|
|
;; |
|
|
|
-none) |
|
|
|
;; |
|
|
|
*) |
|
|
|
@ -1542,7 +1567,7 @@ case $basic_machine in |
|
|
|
esac |
|
|
|
|
|
|
|
echo $basic_machine$os |
|
|
|
exit 0 |
|
|
|
exit |
|
|
|
|
|
|
|
# Local variables: |
|
|
|
# eval: (add-hook 'write-file-hooks 'time-stamp) |
|
|
|
|