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