annotate config.sub @ 2922:8df7177752b0

[xemacs-hg @ 2005-09-08 21:51:16 by viteno] Update xemacs_extra_name.
author viteno
date Thu, 08 Sep 2005 21:51:16 +0000
parents 3580ae2ce979
children 528c4d906843
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 #! /bin/sh
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
2 # Configuration validation subroutine script.
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
5
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
6 timestamp='2005-02-10'
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
7
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 # This file is (in principle) common to ALL GNU software.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 # The presence of a machine in this file suggests that SOME GNU software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 # can handle that machine. It does not imply ALL GNU software can.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 # This file is free software; you can redistribute it and/or modify
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 # it under the terms of the GNU General Public License as published by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 # the Free Software Foundation; either version 2 of the License, or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 # (at your option) any later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 # This program is distributed in the hope that it will be useful,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 # but WITHOUT ANY WARRANTY; without even the implied warranty of
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 # GNU General Public License for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 # You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23 # along with this program; if not, write to the Free Software
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 # Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 # Boston, MA 02111-1307, USA.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 # As a special exception to the GNU General Public License, if you
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 # distribute this file as part of a program that contains a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 # configuration script generated by Autoconf, you may include it under
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 # the same distribution terms that you use for the rest of that program.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
32 # Please send patches to <config-patches@gnu.org>. Submit a context
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
33 # diff and a properly formatted ChangeLog entry.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
34 #
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 # Configuration subroutine to validate and canonicalize a configuration type.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 # Supply the specified configuration type as an argument.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 # If it is invalid, we print an error message on stderr and exit with code 1.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 # Otherwise, we print the canonical config type on stdout and succeed.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40 # This file is supposed to be the same for all GNU packages
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 # and recognize all the CPU types, system types and aliases
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 # that are meaningful with *any* GNU software.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 # Each package is responsible for reporting which valid configurations
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 # it does not support. The user should be able to distinguish
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45 # a failure to support a valid configuration from a meaningless
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 # configuration.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 # The goal of this file is to map all the various variations of a given
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 # machine specification into a single specification in the form:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
51 # or in some cases, the newer four-part form:
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
52 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 # It is wrong to echo any other type of specification.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
55 me=`echo "$0" | sed -e 's,.*/,,'`
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
56
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
57 usage="\
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
58 Usage: $0 [OPTION] CPU-MFR-OPSYS
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
59 $0 [OPTION] ALIAS
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
60
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
61 Canonicalize a configuration name.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
62
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
63 Operation modes:
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
64 -h, --help print this help, then exit
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
65 -t, --time-stamp print date of last modification, then exit
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
66 -v, --version print version number, then exit
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
67
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
68 Report bugs and patches to <config-patches@gnu.org>."
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
69
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
70 version="\
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
71 GNU config.sub ($timestamp)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
72
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
74 Free Software Foundation, Inc.
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
75
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
76 This is free software; see the source for copying conditions. There is NO
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
77 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
78
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
79 help="
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
80 Try \`$me --help' for more information."
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
82 # Parse command line
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
83 while test $# -gt 0 ; do
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
84 case $1 in
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
85 --time-stamp | --time* | -t )
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
86 echo "$timestamp" ; exit 0 ;;
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
87 --version | -v )
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
88 echo "$version" ; exit 0 ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
89 --help | --h* | -h )
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
90 echo "$usage"; exit 0 ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
91 -- ) # Stop option processing
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
92 shift; break ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
93 - ) # Use stdin as input.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
94 break ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
95 -* )
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
96 echo "$me: invalid option $1$help"
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
97 exit 1 ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
98
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
99 *local*)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
100 # First pass through any local machine types.
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
101 echo $1
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
102 exit 0;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
103
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
104 * )
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
105 break ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
106 esac
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
107 done
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
108
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
109 case $# in
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
110 0) echo "$me: missing argument$help" >&2
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
111 exit 1;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
112 1) ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
113 *) echo "$me: too many arguments$help" >&2
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
114 exit 1;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
117 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
118 # Here we must recognize all the valid KERNEL-OS combinations.
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
120 case $maybe_os in
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
121 nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
122 kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
123 os=-$maybe_os
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
125 ;;
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
126 *)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
127 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
128 if [ $basic_machine != $1 ]
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
129 then os=`echo $1 | sed 's/.*-/-/'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
130 else os=; fi
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
131 ;;
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
132 esac
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 ### Let's recognize common machines as not being operating systems so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 ### that things like config.sub decstation-3100 work. We also
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 ### recognize some manufacturers as not being operating systems, so we
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 ### can provide default operating systems below.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 -sun*os*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 # Prevent following clause from handling this invalid input.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
148 -apple | -axis | -knuth | -cray)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 os=
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 basic_machine=$1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
152 -sim | -cisco | -oki | -wec | -winbond)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
153 os=
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
154 basic_machine=$1
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
155 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
156 -scout)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
157 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
158 -wrs)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
159 os=-vxworks
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
160 basic_machine=$1
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
161 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
162 -chorusos*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
163 os=-chorusos
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
164 basic_machine=$1
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
165 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
166 -chorusrdb)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
167 os=-chorusrdb
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
168 basic_machine=$1
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
169 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 -hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 -sco5)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
174 os=-sco3.2v5
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
175 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 -sco4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 os=-sco3.2v4
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
179 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 -sco3.2.[4-9]*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
183 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 -sco3.2v[4-9]*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 # Don't forget version if it is 3.2v4 or newer.
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
187 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 -sco*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 os=-sco3.2v2
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
191 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
193 -udk*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
194 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
195 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
196 -isc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
197 os=-isc2.2
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
198 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
199 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
200 -clix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
201 basic_machine=clipper-intergraph
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
202 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
203 -isc*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
204 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
205 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
206 -lynx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
207 os=-lynxos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
208 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
209 -ptx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
210 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
211 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
212 -windowsnt*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
213 os=`echo $os | sed -e 's/windowsnt/winnt/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
214 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
215 -psos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
216 os=-psos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
217 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
218 -mint | -mint[0-9]*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
219 basic_machine=m68k-atari
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
220 os=-mint
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
221 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
222 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
223
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
224 # Decode aliases for certain CPU-COMPANY combinations.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
225 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
226 # Recognize the basic CPU types without company name.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
227 # Some are omitted here because they have special meanings below.
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
228 1750a | 580 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
229 | a29k \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
230 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
231 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
232 | am33_2.0 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
233 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
234 | c4x | clipper \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
235 | d10v | d30v | dlx | dsp16xx \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
236 | fr30 | frv \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
237 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
238 | i370 | i860 | i960 | ia64 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
239 | ip2k | iq2000 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
240 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
241 | mips | mipsbe | mipseb | mipsel | mipsle \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
242 | mips16 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
243 | mips64 | mips64el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
244 | mips64vr | mips64vrel \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
245 | mips64orion | mips64orionel \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
246 | mips64vr4100 | mips64vr4100el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
247 | mips64vr4300 | mips64vr4300el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
248 | mips64vr5000 | mips64vr5000el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
249 | mipsisa32 | mipsisa32el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
250 | mipsisa32r2 | mipsisa32r2el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
251 | mipsisa64 | mipsisa64el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
252 | mipsisa64r2 | mipsisa64r2el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
253 | mipsisa64sb1 | mipsisa64sb1el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
254 | mipsisa64sr71k | mipsisa64sr71kel \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
255 | mipstx39 | mipstx39el \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
256 | mn10200 | mn10300 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
257 | msp430 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
258 | ns16k | ns32k \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
259 | openrisc | or32 \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
260 | pdp10 | pdp11 | pj | pjl \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
261 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
262 | pyramid \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
263 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
264 | sh64 | sh64le \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
265 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
266 | strongarm \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
267 | tahoe | thumb | tic4x | tic80 | tron \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
268 | v850 | v850e \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
269 | we32k \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
270 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
271 | z8k)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
272 basic_machine=$basic_machine-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
273 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
274 m6811 | m68hc11 | m6812 | m68hc12)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
275 # Motorola 68HC11/12.
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
276 basic_machine=$basic_machine-unknown
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
277 os=-none
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
278 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
279 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
280 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
281
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
282 # We use `pc' rather than `unknown'
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
283 # because (1) that's what they normally are, and
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
284 # (2) the word "unknown" tends to confuse beginning users.
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
285 i*86 | x86_64)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
286 basic_machine=$basic_machine-pc
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
287 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
288 # Object if more than one company name word.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
289 *-*-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
290 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
291 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
292 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
293 # Recognize the basic CPU types with company name.
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
294 580-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
295 | a29k-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
296 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
297 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
298 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
299 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
300 | avr-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
301 | bs2000-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
302 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
303 | clipper-* | craynv-* | cydra-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
304 | d10v-* | d30v-* | dlx-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
305 | elxsi-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
306 | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
307 | h8300-* | h8500-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
308 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
309 | i*86-* | i860-* | i960-* | ia64-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
310 | ip2k-* | iq2000-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
311 | m32r-* | m32rle-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
312 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
313 | m88110-* | m88k-* | maxq-* | mcore-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
314 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
315 | mips16-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
316 | mips64-* | mips64el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
317 | mips64vr-* | mips64vrel-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
318 | mips64orion-* | mips64orionel-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
319 | mips64vr4100-* | mips64vr4100el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
320 | mips64vr4300-* | mips64vr4300el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
321 | mips64vr5000-* | mips64vr5000el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
322 | mipsisa32-* | mipsisa32el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
323 | mipsisa32r2-* | mipsisa32r2el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
324 | mipsisa64-* | mipsisa64el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
325 | mipsisa64r2-* | mipsisa64r2el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
326 | mipsisa64sb1-* | mipsisa64sb1el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
327 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
328 | mipstx39-* | mipstx39el-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
329 | mmix-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
330 | msp430-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
331 | none-* | np1-* | ns16k-* | ns32k-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
332 | orion-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
333 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
334 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
335 | pyramid-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
336 | romp-* | rs6000-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
337 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
338 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
339 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
340 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
341 | tahoe-* | thumb-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
342 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
343 | tron-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
344 | v850-* | v850e-* | vax-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
345 | we32k-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
346 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
347 | xstormy16-* | xtensa-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
348 | ymp-* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
349 | z8k-*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
350 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
351 # Recognize the various machine names and aliases which stand
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
352 # for a CPU type and a company and sometimes even an OS.
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
353 386bsd)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
354 basic_machine=i386-unknown
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
355 os=-bsd
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
356 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
357 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
358 basic_machine=m68000-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
359 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
360 3b*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
361 basic_machine=we32k-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
362 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
363 a29khif)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
364 basic_machine=a29k-amd
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
365 os=-udi
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
366 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
367 abacus)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
368 basic_machine=abacus-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
369 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
370 adobe68k)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
371 basic_machine=m68010-adobe
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
372 os=-scout
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
373 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
374 alliant | fx80)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
375 basic_machine=fx80-alliant
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
376 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
377 altos | altos3068)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
378 basic_machine=m68k-altos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
379 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
380 am29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
381 basic_machine=a29k-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
382 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
383 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
384 amd64)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
385 basic_machine=x86_64-pc
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
386 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
387 amd64-*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
388 basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
389 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
390 amdahl)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
391 basic_machine=580-amdahl
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
392 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
393 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
394 amiga | amiga-*)
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
395 basic_machine=m68k-unknown
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
396 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
397 amigaos | amigados)
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
398 basic_machine=m68k-unknown
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
399 os=-amigaos
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
400 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
401 amigaunix | amix)
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
402 basic_machine=m68k-unknown
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
403 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
404 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
405 apollo68)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
406 basic_machine=m68k-apollo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
407 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
408 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
409 apollo68bsd)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
410 basic_machine=m68k-apollo
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
411 os=-bsd
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
412 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
413 aux)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
414 basic_machine=m68k-apple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
415 os=-aux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
416 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
417 balance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
418 basic_machine=ns32k-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
419 os=-dynix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
420 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
421 c90)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
422 basic_machine=c90-cray
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
423 os=-unicos
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
424 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
425 convex-c1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
426 basic_machine=c1-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
427 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
428 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
429 convex-c2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
430 basic_machine=c2-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
431 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
432 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
433 convex-c32)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
434 basic_machine=c32-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
435 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
436 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
437 convex-c34)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
438 basic_machine=c34-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
439 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
440 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
441 convex-c38)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
442 basic_machine=c38-convex
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
443 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
444 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
445 cray | j90)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
446 basic_machine=j90-cray
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
447 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
448 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
449 craynv)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
450 basic_machine=craynv-cray
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
451 os=-unicosmp
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
452 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
453 cr16c)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
454 basic_machine=cr16c-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
455 os=-elf
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
456 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
457 crds | unos)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
458 basic_machine=m68k-crds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
459 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
460 crisv32 | crisv32-* | etraxfs*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
461 basic_machine=crisv32-axis
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
462 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
463 cris | cris-* | etrax*)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
464 basic_machine=cris-axis
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
465 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
466 crx)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
467 basic_machine=crx-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
468 os=-elf
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
469 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
470 da30 | da30-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
471 basic_machine=m68k-da30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
472 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
473 decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
474 basic_machine=mips-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
475 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
476 decsystem10* | dec10*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
477 basic_machine=pdp10-dec
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
478 os=-tops10
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
479 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
480 decsystem20* | dec20*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
481 basic_machine=pdp10-dec
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
482 os=-tops20
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
483 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
484 delta | 3300 | motorola-3300 | motorola-delta \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
485 | 3300-motorola | delta-motorola)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
486 basic_machine=m68k-motorola
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
487 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
488 delta88)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
489 basic_machine=m88k-motorola
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
490 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
491 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
492 djgpp)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
493 basic_machine=i586-pc
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
494 os=-msdosdjgpp
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
495 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
496 dpx20 | dpx20-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
497 basic_machine=rs6000-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
498 os=-bosx
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
499 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
500 dpx2* | dpx2*-bull)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
501 basic_machine=m68k-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
502 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
503 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
504 ebmon29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
505 basic_machine=a29k-amd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
506 os=-ebmon
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
507 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
508 elxsi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
509 basic_machine=elxsi-elxsi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
510 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
511 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
512 encore | umax | mmax)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
513 basic_machine=ns32k-encore
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
514 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
515 es1800 | OSE68k | ose68k | ose | OSE)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
516 basic_machine=m68k-ericsson
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
517 os=-ose
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
518 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
519 fx2800)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
520 basic_machine=i860-alliant
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
521 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
522 genix)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
523 basic_machine=ns32k-ns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
524 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
525 gmicro)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
526 basic_machine=tron-gmicro
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
527 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
528 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
529 go32)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
530 basic_machine=i386-pc
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
531 os=-go32
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
532 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
533 h3050r* | hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
534 basic_machine=hppa1.1-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
535 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
536 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
537 h8300hms)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
538 basic_machine=h8300-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
539 os=-hms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
540 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
541 h8300xray)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
542 basic_machine=h8300-hitachi
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
543 os=-xray
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
544 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
545 h8500hms)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
546 basic_machine=h8500-hitachi
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
547 os=-hms
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
548 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
549 harris)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
550 basic_machine=m88k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
551 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
552 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
553 hp300-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
554 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
555 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
556 hp300bsd)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
557 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
558 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
559 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
560 hp300hpux)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
561 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
562 os=-hpux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
563 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
564 hp3k9[0-9][0-9] | hp9[0-9][0-9])
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
565 basic_machine=hppa1.0-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
566 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
567 hp9k2[0-9][0-9] | hp9k31[0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
568 basic_machine=m68000-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
569 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
570 hp9k3[2-9][0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
571 basic_machine=m68k-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
572 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
573 hp9k6[0-9][0-9] | hp6[0-9][0-9])
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
574 basic_machine=hppa1.0-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
575 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
576 hp9k7[0-79][0-9] | hp7[0-79][0-9])
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
577 basic_machine=hppa1.1-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
578 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
579 hp9k78[0-9] | hp78[0-9])
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
580 # FIXME: really hppa2.0-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
581 basic_machine=hppa1.1-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
582 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
583 hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
584 # FIXME: really hppa2.0-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
585 basic_machine=hppa1.1-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
586 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
587 hp9k8[0-9][13679] | hp8[0-9][13679])
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
588 basic_machine=hppa1.1-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
589 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
590 hp9k8[0-9][0-9] | hp8[0-9][0-9])
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
591 basic_machine=hppa1.0-hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
592 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
593 hppa-next)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
594 os=-nextstep3
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
595 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
596 hppaosf)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
597 basic_machine=hppa1.1-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
598 os=-osf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
599 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
600 hppro)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
601 basic_machine=hppa1.1-hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
602 os=-proelf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
603 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
604 i370-ibm* | ibm*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
605 basic_machine=i370-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
606 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
607 # I'm not sure what "Sysv32" means. Should this be sysv3.2?
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
608 i*86v32)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
609 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
610 os=-sysv32
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
611 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
612 i*86v4*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
613 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
614 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
615 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
616 i*86v)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
617 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
618 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
619 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
620 i*86sol2)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
621 basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
622 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
623 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
624 i386mach)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
625 basic_machine=i386-mach
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
626 os=-mach
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
627 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
628 i386-vsta | vsta)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
629 basic_machine=i386-unknown
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
630 os=-vsta
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
631 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
632 iris | iris4d)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
633 basic_machine=mips-sgi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
634 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
635 -irix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
636 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
637 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
638 os=-irix4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
639 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
640 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
641 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
642 isi68 | isi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
643 basic_machine=m68k-isi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
644 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
645 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
646 m88k-omron*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
647 basic_machine=m88k-omron
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
648 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
649 magnum | m3230)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
650 basic_machine=mips-mips
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
651 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
652 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
653 merlin)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
654 basic_machine=ns32k-utek
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
655 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
656 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
657 mingw32)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
658 basic_machine=i386-pc
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
659 os=-mingw32
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
660 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
661 miniframe)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
662 basic_machine=m68000-convergent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
663 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
664 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
665 basic_machine=m68k-atari
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
666 os=-mint
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
667 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
668 mips3*-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
669 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
670 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
671 mips3*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
672 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
673 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
674 monitor)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
675 basic_machine=m68k-rom68k
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
676 os=-coff
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
677 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
678 morphos)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
679 basic_machine=powerpc-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
680 os=-morphos
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
681 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
682 msdos)
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
683 basic_machine=i386-pc
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
684 os=-msdos
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
685 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
686 mvs)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
687 basic_machine=i370-ibm
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
688 os=-mvs
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
689 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
690 ncr3000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
691 basic_machine=i486-ncr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
692 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
693 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
694 netbsd386)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
695 basic_machine=i386-unknown
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
696 os=-netbsd
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
697 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
698 netwinder)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
699 basic_machine=armv4l-rebel
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
700 os=-linux
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
701 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
702 news | news700 | news800 | news900)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
703 basic_machine=m68k-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
704 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
705 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
706 news1000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
707 basic_machine=m68030-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
708 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
709 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
710 news-3600 | risc-news)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
711 basic_machine=mips-sony
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
712 os=-newsos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
713 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
714 necv70)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
715 basic_machine=v70-nec
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
716 os=-sysv
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
717 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
718 next | m*-next )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
719 basic_machine=m68k-next
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
720 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
721 -nextstep* )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
722 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
723 -ns2*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
724 os=-nextstep2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
725 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
726 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
727 os=-nextstep3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
728 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
729 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
730 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
731 nh3000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
732 basic_machine=m68k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
733 os=-cxux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
734 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
735 nh[45]000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
736 basic_machine=m88k-harris
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
737 os=-cxux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
738 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
739 nindy960)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
740 basic_machine=i960-intel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
741 os=-nindy
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
742 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
743 mon960)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
744 basic_machine=i960-intel
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
745 os=-mon960
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
746 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
747 nonstopux)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
748 basic_machine=mips-compaq
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
749 os=-nonstopux
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
750 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
751 np1)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
752 basic_machine=np1-gould
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
753 ;;
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
754 nsr-tandem)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
755 basic_machine=nsr-tandem
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
756 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
757 op50n-* | op60c-*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
758 basic_machine=hppa1.1-oki
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
759 os=-proelf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
760 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
761 or32 | or32-*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
762 basic_machine=or32-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
763 os=-coff
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
764 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
765 os400)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
766 basic_machine=powerpc-ibm
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
767 os=-os400
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
768 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
769 OSE68000 | ose68000)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
770 basic_machine=m68000-ericsson
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
771 os=-ose
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
772 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
773 os68k)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
774 basic_machine=m68k-none
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
775 os=-os68k
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
776 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
777 pa-hitachi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
778 basic_machine=hppa1.1-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
779 os=-hiuxwe2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
780 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
781 paragon)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
782 basic_machine=i860-intel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
783 os=-osf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
784 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
785 pbd)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
786 basic_machine=sparc-tti
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
787 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
788 pbb)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
789 basic_machine=m68k-tti
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
790 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
791 pc532 | pc532-*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
792 basic_machine=ns32k-pc532
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
793 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
794 pentium | p5 | k5 | k6 | nexgen | viac3)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
795 basic_machine=i586-pc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
796 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
797 pentiumpro | p6 | 6x86 | athlon | athlon_*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
798 basic_machine=i686-pc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
799 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
800 pentiumii | pentium2 | pentiumiii | pentium3)
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
801 basic_machine=i686-pc
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
802 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
803 pentium4)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
804 basic_machine=i786-pc
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
805 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
806 pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
807 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
808 ;;
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
809 pentiumpro-* | p6-* | 6x86-* | athlon-*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
810 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
811 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
812 pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
813 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
814 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
815 pentium4-*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
816 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
817 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
818 pn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
819 basic_machine=pn-gould
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
820 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
821 power) basic_machine=power-ibm
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
822 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
823 ppc) basic_machine=powerpc-unknown
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
824 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
825 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
826 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
827 ppcle | powerpclittle | ppc-le | powerpc-little)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
828 basic_machine=powerpcle-unknown
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
829 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
830 ppcle-* | powerpclittle-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
831 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
832 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
833 ppc64) basic_machine=powerpc64-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
834 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
835 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
836 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
837 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
838 basic_machine=powerpc64le-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
839 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
840 ppc64le-* | powerpc64little-*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
841 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
842 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
843 ps2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
844 basic_machine=i386-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
845 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
846 pw32)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
847 basic_machine=i586-unknown
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
848 os=-pw32
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
849 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
850 rom68k)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
851 basic_machine=m68k-rom68k
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
852 os=-coff
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
853 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
854 rm[46]00)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
855 basic_machine=mips-siemens
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
856 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
857 rtpc | rtpc-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
858 basic_machine=romp-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
859 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
860 s390 | s390-*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
861 basic_machine=s390-ibm
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
862 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
863 s390x | s390x-*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
864 basic_machine=s390x-ibm
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
865 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
866 sa29200)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
867 basic_machine=a29k-amd
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
868 os=-udi
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
869 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
870 sb1)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
871 basic_machine=mipsisa64sb1-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
872 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
873 sb1el)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
874 basic_machine=mipsisa64sb1el-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
875 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
876 sei)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
877 basic_machine=mips-sei
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
878 os=-seiux
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
879 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
880 sequent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
881 basic_machine=i386-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
882 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
883 sh)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
884 basic_machine=sh-hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
885 os=-hms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
886 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
887 sh64)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
888 basic_machine=sh64-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
889 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
890 sparclite-wrs | simso-wrs)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
891 basic_machine=sparclite-wrs
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
892 os=-vxworks
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
893 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
894 sps7)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
895 basic_machine=m68k-bull
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
896 os=-sysv2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
897 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
898 spur)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
899 basic_machine=spur-unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
900 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
901 st2000)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
902 basic_machine=m68k-tandem
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
903 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
904 stratus)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
905 basic_machine=i860-stratus
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
906 os=-sysv4
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
907 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
908 sun2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
909 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
910 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
911 sun2os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
912 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
913 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
914 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
915 sun2os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
916 basic_machine=m68000-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
917 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
918 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
919 sun3os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
920 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
921 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
922 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
923 sun3os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
924 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
925 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
926 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
927 sun4os3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
928 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
929 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
930 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
931 sun4os4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
932 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
933 os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
934 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
935 sun4sol2)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
936 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
937 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
938 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
939 sun3 | sun3-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
940 basic_machine=m68k-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
941 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
942 sun4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
943 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
944 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
945 sun386 | sun386i | roadrunner)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
946 basic_machine=i386-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
947 ;;
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
948 sv1)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
949 basic_machine=sv1-cray
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
950 os=-unicos
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
951 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
952 symmetry)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
953 basic_machine=i386-sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
954 os=-dynix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
955 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
956 t3e)
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
957 basic_machine=alphaev5-cray
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
958 os=-unicos
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
959 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
960 t90)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
961 basic_machine=t90-cray
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
962 os=-unicos
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
963 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
964 tic54x | c54x*)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
965 basic_machine=tic54x-unknown
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
966 os=-coff
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
967 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
968 tic55x | c55x*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
969 basic_machine=tic55x-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
970 os=-coff
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
971 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
972 tic6x | c6x*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
973 basic_machine=tic6x-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
974 os=-coff
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
975 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
976 tx39)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
977 basic_machine=mipstx39-unknown
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
978 ;;
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
979 tx39el)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
980 basic_machine=mipstx39el-unknown
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
981 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
982 toad1)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
983 basic_machine=pdp10-xkl
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
984 os=-tops20
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
985 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
986 tower | tower-32)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
987 basic_machine=m68k-ncr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
988 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
989 tpf)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
990 basic_machine=s390x-ibm
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
991 os=-tpf
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
992 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
993 udi29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
994 basic_machine=a29k-amd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
995 os=-udi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
996 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
997 ultra3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
998 basic_machine=a29k-nyu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
999 os=-sym1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1000 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1001 v810 | necv810)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1002 basic_machine=v810-nec
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1003 os=-none
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1004 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1005 vaxv)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1006 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1007 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1008 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1009 vms)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1010 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1011 os=-vms
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1012 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1013 vpp*|vx|vx-*)
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1014 basic_machine=f301-fujitsu
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1015 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1016 vxworks960)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1017 basic_machine=i960-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1018 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1019 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1020 vxworks68)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1021 basic_machine=m68k-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1022 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1023 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1024 vxworks29k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1025 basic_machine=a29k-wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1026 os=-vxworks
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1027 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1028 w65*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1029 basic_machine=w65-wdc
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1030 os=-none
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1031 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1032 w89k-*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1033 basic_machine=hppa1.1-winbond
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1034 os=-proelf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1035 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1036 xbox)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1037 basic_machine=i686-pc
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1038 os=-mingw32
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1039 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1040 xps | xps100)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1041 basic_machine=xps100-honeywell
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1042 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1043 ymp)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1044 basic_machine=ymp-cray
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1045 os=-unicos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1046 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1047 z8k-*-coff)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1048 basic_machine=z8k-unknown
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1049 os=-sim
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1050 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1051 none)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1052 basic_machine=none-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1053 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1054 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1055
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1056 # Here we handle the default manufacturer of certain CPU types. It is in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1057 # some cases the only manufacturer, in others, it is the most popular.
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1058 w89k)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1059 basic_machine=hppa1.1-winbond
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1060 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1061 op50n)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1062 basic_machine=hppa1.1-oki
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1063 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1064 op60c)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1065 basic_machine=hppa1.1-oki
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1066 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1067 romp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1068 basic_machine=romp-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1069 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1070 mmix)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1071 basic_machine=mmix-knuth
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1072 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1073 rs6000)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1074 basic_machine=rs6000-ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1075 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1076 vax)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1077 basic_machine=vax-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1078 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1079 pdp10)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1080 # there are many clones, so DEC is not a safe bet
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1081 basic_machine=pdp10-unknown
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1082 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1083 pdp11)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1084 basic_machine=pdp11-dec
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1085 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1086 we32k)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1087 basic_machine=we32k-att
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1088 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1089 sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1090 basic_machine=sh-unknown
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1091 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1092 sh64)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1093 basic_machine=sh64-unknown
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1094 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1095 sparc | sparcv8 | sparcv9 | sparcv9b)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1096 basic_machine=sparc-sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1097 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1098 cydra)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1099 basic_machine=cydra-cydrome
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1100 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1101 orion)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1102 basic_machine=orion-highlevel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1103 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1104 orion105)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1105 basic_machine=clipper-highlevel
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1106 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1107 mac | mpw | mac-mpw)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1108 basic_machine=m68k-apple
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1109 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1110 pmac | pmac-mpw)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1111 basic_machine=powerpc-apple
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1112 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1113 *-unknown)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1114 # Make sure to match an already-canonicalized machine name.
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1115 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1116 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1117 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1118 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1119 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1120 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1121
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1122 # Here we canonicalize certain aliases for manufacturers.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1123 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1124 *-digital*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1125 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1126 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1127 *-commodore*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1128 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1129 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1130 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1131 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1132 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1133
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1134 # Decode manufacturer-specific aliases for certain operating systems.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1135
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1136 if [ x"$os" != x"" ]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1137 then
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1138 case $os in
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1139 # First match some system type aliases
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1140 # that might get confused with valid system types.
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1141 # -solaris* is a basic system type, with this one exception.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1142 -solaris1 | -solaris1.*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1143 os=`echo $os | sed -e 's|solaris1|sunos4|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1144 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1145 -solaris)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1146 os=-solaris2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1147 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1148 -svr4*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1149 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1150 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1151 -unixware*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1152 os=-sysv4.2uw
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1153 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1154 -gnu/linux*)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1155 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1156 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1157 # First accept the basic system types.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1158 # The portable systems comes first.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1159 # Each alternative MUST END IN A *, to match a version number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1160 # -sysv* is not here because it comes later, after sysvr4.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1161 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1162 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1163 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1164 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1165 | -aos* \
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1166 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1167 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1168 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1169 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1170 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1171 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1172 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1173 | -chorusos* | -chorusrdb* \
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1174 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1175 | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1176 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1177 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1178 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1179 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1180 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1181 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1182 # Remember, each alternative MUST END IN *, to match a version number.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1183 ;;
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1184 -qnx*)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1185 case $basic_machine in
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1186 x86-* | i*86-*)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1187 ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1188 *)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1189 os=-nto$os
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1190 ;;
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1191 esac
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1192 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1193 -nto-qnx*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1194 ;;
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1195 -nto*)
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1196 os=`echo $os | sed -e 's|nto|nto-qnx|'`
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1197 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1198 -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1199 | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1200 | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1201 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1202 -mac*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1203 os=`echo $os | sed -e 's|mac|macos|'`
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1204 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1205 -linux-dietlibc)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1206 os=-linux-dietlibc
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1207 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1208 -linux*)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1209 os=`echo $os | sed -e 's|linux|linux-gnu|'`
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1210 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1211 -sunos5*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1212 os=`echo $os | sed -e 's|sunos5|solaris2|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1213 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1214 -sunos6*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1215 os=`echo $os | sed -e 's|sunos6|solaris3|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1216 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1217 -opened*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1218 os=-openedition
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1219 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1220 -os400*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1221 os=-os400
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1222 ;;
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1223 -wince*)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1224 os=-wince
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1225 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1226 -osfrose*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1227 os=-osfrose
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1228 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1229 -osf*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1230 os=-osf
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1231 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1232 -utek*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1233 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1234 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1235 -dynix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1236 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1237 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1238 -acis*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1239 os=-aos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1240 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1241 -atheos*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1242 os=-atheos
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1243 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1244 -syllable*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1245 os=-syllable
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1246 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1247 -386bsd)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1248 os=-bsd
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1249 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1250 -ctix* | -uts*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1251 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1252 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1253 -nova*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1254 os=-rtmk-nova
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1255 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1256 -ns2 )
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1257 os=-nextstep2
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1258 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1259 -nsk*)
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1260 os=-nsk
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1261 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1262 # Preserve the version number of sinix5.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1263 -sinix5.*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1264 os=`echo $os | sed -e 's|sinix|sysv|'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1265 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1266 -sinix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1267 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1268 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1269 -tpf*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1270 os=-tpf
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1271 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1272 -triton*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1273 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1274 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1275 -oss*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1276 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1277 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1278 -svr4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1279 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1280 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1281 -svr3)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1282 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1283 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1284 -sysvr4)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1285 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1286 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1287 # This must come after -sysvr4.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1288 -sysv*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1289 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1290 -ose*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1291 os=-ose
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1292 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1293 -es1800*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1294 os=-ose
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1295 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1296 -xenix)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1297 os=-xenix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1298 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1299 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1300 os=-mint
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1301 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1302 -aros*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1303 os=-aros
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1304 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1305 -kaos*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1306 os=-kaos
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1307 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1308 -zvmoe)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1309 os=-zvmoe
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1310 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1311 -none)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1312 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1313 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1314 # Get rid of the `-' at the beginning of $os.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1315 os=`echo $os | sed 's/[^-]*-//'`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1316 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1317 exit 1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1318 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1319 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1320 else
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1321
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1322 # Here we handle the default operating systems that come with various machines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1323 # The value should be what the vendor currently ships out the door with their
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1324 # machine or put another way, the most popular os provided with the machine.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1325
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1326 # Note that if you're going to try to match "-MANUFACTURER" here (say,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1327 # "-sun"), then you have to tell the case statement up towards the top
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1328 # that MANUFACTURER isn't an operating system. Otherwise, code above
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1329 # will signal an error saying that MANUFACTURER isn't an operating
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1330 # system, and we'll never get to this point.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1331
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1332 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1333 *-acorn)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1334 os=-riscix1.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1335 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1336 arm*-rebel)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1337 os=-linux
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1338 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1339 arm*-semi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1340 os=-aout
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1341 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1342 c4x-* | tic4x-*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1343 os=-coff
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1344 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1345 # This must come before the *-dec entry.
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1346 pdp10-*)
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1347 os=-tops20
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1348 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1349 pdp11-*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1350 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1351 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1352 *-dec | vax-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1353 os=-ultrix4.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1354 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1355 m68*-apollo)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1356 os=-domain
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1357 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1358 i386-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1359 os=-sunos4.0.2
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1360 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1361 m68000-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1362 os=-sunos3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1363 # This also exists in the configure program, but was not the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1364 # default.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1365 # os=-sunos4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1366 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1367 m68*-cisco)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1368 os=-aout
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1369 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1370 mips*-cisco)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1371 os=-elf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1372 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1373 mips*-*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1374 os=-elf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1375 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1376 or32-*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1377 os=-coff
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1378 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1379 *-tti) # must be before sparc entry or we get the wrong os.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1380 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1381 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1382 sparc-* | *-sun)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1383 os=-sunos4.1.1
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1384 ;;
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1385 *-be)
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1386 os=-beos
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1387 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1388 *-ibm)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1389 os=-aix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1390 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1391 *-knuth)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1392 os=-mmixware
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1393 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1394 *-wec)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1395 os=-proelf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1396 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1397 *-winbond)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1398 os=-proelf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1399 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1400 *-oki)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1401 os=-proelf
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1402 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1403 *-hp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1404 os=-hpux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1405 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1406 *-hitachi)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1407 os=-hiux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1408 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1409 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1410 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1411 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1412 *-cbm)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1413 os=-amigaos
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1414 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1415 *-dg)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1416 os=-dgux
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1417 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1418 *-dolphin)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1419 os=-sysv3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1420 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1421 m68k-ccur)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1422 os=-rtu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1423 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1424 m88k-omron*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1425 os=-luna
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1426 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1427 *-next )
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1428 os=-nextstep
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1429 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1430 *-sequent)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1431 os=-ptx
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1432 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1433 *-crds)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1434 os=-unos
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1435 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1436 *-ns)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1437 os=-genix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1438 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1439 i370-*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1440 os=-mvs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1441 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1442 *-next)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1443 os=-nextstep3
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1444 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1445 *-gould)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1446 os=-sysv
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1447 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1448 *-highlevel)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1449 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1450 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1451 *-encore)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1452 os=-bsd
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1453 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1454 *-sgi)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1455 os=-irix
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1456 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1457 *-siemens)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1458 os=-sysv4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1459 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1460 *-masscomp)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1461 os=-rtu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1462 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1463 f30[01]-fujitsu | f700-fujitsu)
380
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1464 os=-uxpv
8626e4521993 Import from CVS: tag r21-2-5
cvs
parents: 375
diff changeset
1465 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1466 *-rom68k)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1467 os=-coff
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1468 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1469 *-*bug)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1470 os=-coff
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1471 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1472 *-apple)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1473 os=-macos
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1474 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1475 *-atari*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1476 os=-mint
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1477 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1478 *)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1479 os=-none
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1480 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1481 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1482 fi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1483
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1484 # Here we handle the case where we know the os, and the CPU type, but not the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1485 # manufacturer. We pick the logical manufacturer.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1486 vendor=unknown
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1487 case $basic_machine in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1488 *-unknown)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1489 case $os in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1490 -riscix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1491 vendor=acorn
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1492 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1493 -sunos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1494 vendor=sun
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1495 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1496 -aix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1497 vendor=ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1498 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1499 -beos*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1500 vendor=be
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1501 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1502 -hpux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1503 vendor=hp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1504 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1505 -mpeix*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1506 vendor=hp
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1507 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1508 -hiux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1509 vendor=hitachi
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1510 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1511 -unos*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1512 vendor=crds
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1513 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1514 -dgux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1515 vendor=dg
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1516 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1517 -luna*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1518 vendor=omron
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1519 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1520 -genix*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1521 vendor=ns
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1522 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1523 -mvs* | -opened*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1524 vendor=ibm
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1525 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1526 -os400*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1527 vendor=ibm
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1528 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1529 -ptx*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1530 vendor=sequent
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1531 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1532 -tpf*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1533 vendor=ibm
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1534 ;;
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1535 -vxsim* | -vxworks* | -windiss*)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1536 vendor=wrs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1537 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1538 -aux*)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1539 vendor=apple
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1540 ;;
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1541 -hms*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1542 vendor=hitachi
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1543 ;;
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1544 -mpw* | -macos*)
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1545 vendor=apple
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1546 ;;
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1547 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
438
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1548 vendor=atari
84b14dcb0985 Import from CVS: tag r21-2-27
cvs
parents: 412
diff changeset
1549 ;;
2651
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1550 -vos*)
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1551 vendor=stratus
3580ae2ce979 [xemacs-hg @ 2005-03-11 11:18:44 by malcolmp]
malcolmp
parents: 458
diff changeset
1552 ;;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1553 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1554 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1555 ;;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1556 esac
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1557
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1558 echo $basic_machine$os
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1559 exit 0
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1560
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1561 # Local variables:
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1562 # eval: (add-hook 'write-file-hooks 'time-stamp)
458
c33ae14dd6d0 Import from CVS: tag r21-2-44
cvs
parents: 442
diff changeset
1563 # time-stamp-start: "timestamp='"
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1564 # time-stamp-format: "%:y-%02m-%02d"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1565 # time-stamp-end: "'"
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 438
diff changeset
1566 # End: