annotate config.sub @ 218:d26b9551c9eb

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