Deleted Added
full compact
config.sub (127808) config.sub (142403)
1#! /bin/sh
2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
1#! /bin/sh
2# Configuration validation subroutine script.
3# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
5
6timestamp='2003-08-18'
6timestamp='2004-02-23'
7
8# This file is (in principle) common to ALL GNU software.
9# The presence of a machine in this file suggests that SOME GNU software
10# can handle that machine. It does not imply ALL GNU software can.
11#
12# This file is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License as published by
14# the Free Software Foundation; either version 2 of the License, or

--- 98 unchanged lines hidden (view full) ---

113 *) echo "$me: too many arguments$help" >&2
114 exit 1;;
115esac
116
117# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
118# Here we must recognize all the valid KERNEL-OS combinations.
119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120case $maybe_os in
7
8# This file is (in principle) common to ALL GNU software.
9# The presence of a machine in this file suggests that SOME GNU software
10# can handle that machine. It does not imply ALL GNU software can.
11#
12# This file is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License as published by
14# the Free Software Foundation; either version 2 of the License, or

--- 98 unchanged lines hidden (view full) ---

113 *) echo "$me: too many arguments$help" >&2
114 exit 1;;
115esac
116
117# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
118# Here we must recognize all the valid KERNEL-OS combinations.
119maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
120case $maybe_os in
121 nto-qnx* | linux-gnu* | linux-dietlibc | kfreebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
122 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
122 os=-$maybe_os
123 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
124 ;;
125 *)
126 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
127 if [ $basic_machine != $1 ]
128 then os=`echo $1 | sed 's/.*-/-/'`
129 else os=; fi

--- 227 unchanged lines hidden (view full) ---

357 ;;
358 3b*)
359 basic_machine=we32k-att
360 ;;
361 a29khif)
362 basic_machine=a29k-amd
363 os=-udi
364 ;;
123 os=-$maybe_os
124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
125 ;;
126 *)
127 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
128 if [ $basic_machine != $1 ]
129 then os=`echo $1 | sed 's/.*-/-/'`
130 else os=; fi

--- 227 unchanged lines hidden (view full) ---

358 ;;
359 3b*)
360 basic_machine=we32k-att
361 ;;
362 a29khif)
363 basic_machine=a29k-amd
364 os=-udi
365 ;;
366 abacus)
367 basic_machine=abacus-unknown
368 ;;
365 adobe68k)
366 basic_machine=m68010-adobe
367 os=-scout
368 ;;
369 alliant | fx80)
370 basic_machine=fx80-alliant
371 ;;
372 altos | altos3068)
373 basic_machine=m68k-altos
374 ;;
375 am29k)
376 basic_machine=a29k-none
377 os=-bsd
378 ;;
379 amd64)
380 basic_machine=x86_64-pc
381 ;;
369 adobe68k)
370 basic_machine=m68010-adobe
371 os=-scout
372 ;;
373 alliant | fx80)
374 basic_machine=fx80-alliant
375 ;;
376 altos | altos3068)
377 basic_machine=m68k-altos
378 ;;
379 am29k)
380 basic_machine=a29k-none
381 os=-bsd
382 ;;
383 amd64)
384 basic_machine=x86_64-pc
385 ;;
386 amd64-*)
387 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
388 ;;
382 amdahl)
383 basic_machine=580-amdahl
384 os=-sysv
385 ;;
386 amiga | amiga-*)
387 basic_machine=m68k-unknown
388 ;;
389 amigaos | amigados)

--- 43 unchanged lines hidden (view full) ---

433 convex-c38)
434 basic_machine=c38-convex
435 os=-bsd
436 ;;
437 cray | j90)
438 basic_machine=j90-cray
439 os=-unicos
440 ;;
389 amdahl)
390 basic_machine=580-amdahl
391 os=-sysv
392 ;;
393 amiga | amiga-*)
394 basic_machine=m68k-unknown
395 ;;
396 amigaos | amigados)

--- 43 unchanged lines hidden (view full) ---

440 convex-c38)
441 basic_machine=c38-convex
442 os=-bsd
443 ;;
444 cray | j90)
445 basic_machine=j90-cray
446 os=-unicos
447 ;;
448 cr16c)
449 basic_machine=cr16c-unknown
450 os=-elf
451 ;;
441 crds | unos)
442 basic_machine=m68k-crds
443 ;;
444 cris | cris-* | etrax*)
445 basic_machine=cris-axis
446 ;;
452 crds | unos)
453 basic_machine=m68k-crds
454 ;;
455 cris | cris-* | etrax*)
456 basic_machine=cris-axis
457 ;;
458 crx)
459 basic_machine=crx-unknown
460 os=-elf
461 ;;
447 da30 | da30-*)
448 basic_machine=m68k-da30
449 ;;
450 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
451 basic_machine=mips-dec
452 ;;
453 decsystem10* | dec10*)
454 basic_machine=pdp10-dec

--- 283 unchanged lines hidden (view full) ---

738 op50n-* | op60c-*)
739 basic_machine=hppa1.1-oki
740 os=-proelf
741 ;;
742 or32 | or32-*)
743 basic_machine=or32-unknown
744 os=-coff
745 ;;
462 da30 | da30-*)
463 basic_machine=m68k-da30
464 ;;
465 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
466 basic_machine=mips-dec
467 ;;
468 decsystem10* | dec10*)
469 basic_machine=pdp10-dec

--- 283 unchanged lines hidden (view full) ---

753 op50n-* | op60c-*)
754 basic_machine=hppa1.1-oki
755 os=-proelf
756 ;;
757 or32 | or32-*)
758 basic_machine=or32-unknown
759 os=-coff
760 ;;
761 os400)
762 basic_machine=powerpc-ibm
763 os=-os400
764 ;;
746 OSE68000 | ose68000)
747 basic_machine=m68000-ericsson
748 os=-ose
749 ;;
750 os68k)
751 basic_machine=m68k-none
752 os=-os68k
753 ;;

--- 204 unchanged lines hidden (view full) ---

958 ;;
959 toad1)
960 basic_machine=pdp10-xkl
961 os=-tops20
962 ;;
963 tower | tower-32)
964 basic_machine=m68k-ncr
965 ;;
765 OSE68000 | ose68000)
766 basic_machine=m68000-ericsson
767 os=-ose
768 ;;
769 os68k)
770 basic_machine=m68k-none
771 os=-os68k
772 ;;

--- 204 unchanged lines hidden (view full) ---

977 ;;
978 toad1)
979 basic_machine=pdp10-xkl
980 os=-tops20
981 ;;
982 tower | tower-32)
983 basic_machine=m68k-ncr
984 ;;
985 tpf)
986 basic_machine=s390x-ibm
987 os=-tpf
988 ;;
966 udi29k)
967 basic_machine=a29k-amd
968 os=-udi
969 ;;
970 ultra3)
971 basic_machine=a29k-nyu
972 os=-sym1
973 ;;

--- 152 unchanged lines hidden (view full) ---

1126 # -sysv* is not here because it comes later, after sysvr4.
1127 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1128 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1129 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1130 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1131 | -aos* \
1132 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1133 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
989 udi29k)
990 basic_machine=a29k-amd
991 os=-udi
992 ;;
993 ultra3)
994 basic_machine=a29k-nyu
995 os=-sym1
996 ;;

--- 152 unchanged lines hidden (view full) ---

1149 # -sysv* is not here because it comes later, after sysvr4.
1150 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1151 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1152 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1153 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1154 | -aos* \
1155 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1156 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1134 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1135 | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1157 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1158 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1159 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1136 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1137 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1138 | -chorusos* | -chorusrdb* \
1139 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1160 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1161 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1162 | -chorusos* | -chorusrdb* \
1163 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1140 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
1164 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
1141 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1142 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1143 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1144 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1145 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1165 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1166 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1167 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1168 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1169 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1146 | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
1170 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
1147 # Remember, each alternative MUST END IN *, to match a version number.
1148 ;;
1149 -qnx*)
1150 case $basic_machine in
1151 x86-* | i*86-*)
1152 ;;
1153 *)
1154 os=-nto$os

--- 22 unchanged lines hidden (view full) ---

1177 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1178 ;;
1179 -sunos6*)
1180 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1181 ;;
1182 -opened*)
1183 os=-openedition
1184 ;;
1171 # Remember, each alternative MUST END IN *, to match a version number.
1172 ;;
1173 -qnx*)
1174 case $basic_machine in
1175 x86-* | i*86-*)
1176 ;;
1177 *)
1178 os=-nto$os

--- 22 unchanged lines hidden (view full) ---

1201 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1202 ;;
1203 -sunos6*)
1204 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1205 ;;
1206 -opened*)
1207 os=-openedition
1208 ;;
1209 -os400*)
1210 os=-os400
1211 ;;
1185 -wince*)
1186 os=-wince
1187 ;;
1188 -osfrose*)
1189 os=-osfrose
1190 ;;
1191 -osf*)
1192 os=-osf

--- 5 unchanged lines hidden (view full) ---

1198 os=-bsd
1199 ;;
1200 -acis*)
1201 os=-aos
1202 ;;
1203 -atheos*)
1204 os=-atheos
1205 ;;
1212 -wince*)
1213 os=-wince
1214 ;;
1215 -osfrose*)
1216 os=-osfrose
1217 ;;
1218 -osf*)
1219 os=-osf

--- 5 unchanged lines hidden (view full) ---

1225 os=-bsd
1226 ;;
1227 -acis*)
1228 os=-aos
1229 ;;
1230 -atheos*)
1231 os=-atheos
1232 ;;
1233 -syllable*)
1234 os=-syllable
1235 ;;
1206 -386bsd)
1207 os=-bsd
1208 ;;
1209 -ctix* | -uts*)
1210 os=-sysv
1211 ;;
1212 -nova*)
1213 os=-rtmk-nova

--- 6 unchanged lines hidden (view full) ---

1220 ;;
1221 # Preserve the version number of sinix5.
1222 -sinix5.*)
1223 os=`echo $os | sed -e 's|sinix|sysv|'`
1224 ;;
1225 -sinix*)
1226 os=-sysv4
1227 ;;
1236 -386bsd)
1237 os=-bsd
1238 ;;
1239 -ctix* | -uts*)
1240 os=-sysv
1241 ;;
1242 -nova*)
1243 os=-rtmk-nova

--- 6 unchanged lines hidden (view full) ---

1250 ;;
1251 # Preserve the version number of sinix5.
1252 -sinix5.*)
1253 os=`echo $os | sed -e 's|sinix|sysv|'`
1254 ;;
1255 -sinix*)
1256 os=-sysv4
1257 ;;
1258 -tpf*)
1259 os=-tpf
1260 ;;
1228 -triton*)
1229 os=-sysv3
1230 ;;
1231 -oss*)
1232 os=-sysv3
1233 ;;
1234 -svr4)
1235 os=-sysv4

--- 232 unchanged lines hidden (view full) ---

1468 vendor=omron
1469 ;;
1470 -genix*)
1471 vendor=ns
1472 ;;
1473 -mvs* | -opened*)
1474 vendor=ibm
1475 ;;
1261 -triton*)
1262 os=-sysv3
1263 ;;
1264 -oss*)
1265 os=-sysv3
1266 ;;
1267 -svr4)
1268 os=-sysv4

--- 232 unchanged lines hidden (view full) ---

1501 vendor=omron
1502 ;;
1503 -genix*)
1504 vendor=ns
1505 ;;
1506 -mvs* | -opened*)
1507 vendor=ibm
1508 ;;
1509 -os400*)
1510 vendor=ibm
1511 ;;
1476 -ptx*)
1477 vendor=sequent
1478 ;;
1512 -ptx*)
1513 vendor=sequent
1514 ;;
1515 -tpf*)
1516 vendor=ibm
1517 ;;
1479 -vxsim* | -vxworks* | -windiss*)
1480 vendor=wrs
1481 ;;
1482 -aux*)
1483 vendor=apple
1484 ;;
1485 -hms*)
1486 vendor=hitachi

--- 24 unchanged lines hidden ---
1518 -vxsim* | -vxworks* | -windiss*)
1519 vendor=wrs
1520 ;;
1521 -aux*)
1522 vendor=apple
1523 ;;
1524 -hms*)
1525 vendor=hitachi

--- 24 unchanged lines hidden ---