annotate config.sub @ 167:94d369bae9db trunk

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