Deleted Added
sdiff udiff text old ( 127808 ) new ( 142403 )
full compact
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'
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*)
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 ;;
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 ;;
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 ;;
441 crds | unos)
442 basic_machine=m68k-crds
443 ;;
444 cris | cris-* | etrax*)
445 basic_machine=cris-axis
446 ;;
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 ;;
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 ;;
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* \
1134 | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd* | -freebsd* | -riscix* \
1135 | -lynxos* | -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* \
1140 | -mingw32* | -linux-gnu* | -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* \
1146 | -powermax* | -dnix* | -nx6 | -nx7 | -sei*)
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 ;;
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 ;;
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 ;;
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 ;;
1476 -ptx*)
1477 vendor=sequent
1478 ;;
1479 -vxsim* | -vxworks* | -windiss*)
1480 vendor=wrs
1481 ;;
1482 -aux*)
1483 vendor=apple
1484 ;;
1485 -hms*)
1486 vendor=hitachi

--- 24 unchanged lines hidden ---