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