annotate lib/swig/swigwin-2.0.11/Tools/config/config.sub @ 2562:b8a56afc6ba1

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