Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Side by Side Diff: third_party/libxml/config.sub

Issue 2951008: Update libxml to 2.7.7. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 # Configuration validation subroutine script. 2 # Configuration validation subroutine script.
3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
5 # Inc. 5 # Free Software Foundation, Inc.
6 6
7 timestamp='2007-04-29' 7 timestamp='2009-11-20'
8 8
9 # This file is (in principle) common to ALL GNU software. 9 # This file is (in principle) common to ALL GNU software.
10 # The presence of a machine in this file suggests that SOME GNU software 10 # The presence of a machine in this file suggests that SOME GNU software
11 # can handle that machine. It does not imply ALL GNU software can. 11 # can handle that machine. It does not imply ALL GNU software can.
12 # 12 #
13 # This file is free software; you can redistribute it and/or modify 13 # This file is free software; you can redistribute it and/or modify
14 # it under the terms of the GNU General Public License as published by 14 # it under the terms of the GNU General Public License as published by
15 # the Free Software Foundation; either version 2 of the License, or 15 # the Free Software Foundation; either version 2 of the License, or
16 # (at your option) any later version. 16 # (at your option) any later version.
17 # 17 #
18 # This program is distributed in the hope that it will be useful, 18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of 19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details. 21 # GNU General Public License for more details.
22 # 22 #
23 # You should have received a copy of the GNU General Public License 23 # You should have received a copy of the GNU General Public License
24 # along with this program; if not, write to the Free Software 24 # along with this program; if not, write to the Free Software
25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 25 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
26 # 02110-1301, USA. 26 # 02110-1301, USA.
27 # 27 #
28 # As a special exception to the GNU General Public License, if you 28 # As a special exception to the GNU General Public License, if you
29 # distribute this file as part of a program that contains a 29 # distribute this file as part of a program that contains a
30 # configuration script generated by Autoconf, you may include it under 30 # configuration script generated by Autoconf, you may include it under
31 # the same distribution terms that you use for the rest of that program. 31 # the same distribution terms that you use for the rest of that program.
32 32
33 33
34 # Please send patches to <config-patches@gnu.org>. Submit a context 34 # Please send patches to <config-patches@gnu.org>. Submit a context
35 # diff and a properly formatted ChangeLog entry. 35 # diff and a properly formatted GNU ChangeLog entry.
36 # 36 #
37 # Configuration subroutine to validate and canonicalize a configuration type. 37 # Configuration subroutine to validate and canonicalize a configuration type.
38 # Supply the specified configuration type as an argument. 38 # Supply the specified configuration type as an argument.
39 # If it is invalid, we print an error message on stderr and exit with code 1. 39 # If it is invalid, we print an error message on stderr and exit with code 1.
40 # Otherwise, we print the canonical config type on stdout and succeed. 40 # Otherwise, we print the canonical config type on stdout and succeed.
41 41
42 # You can get the latest version of this script from:
43 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb= HEAD
44
42 # This file is supposed to be the same for all GNU packages 45 # This file is supposed to be the same for all GNU packages
43 # and recognize all the CPU types, system types and aliases 46 # and recognize all the CPU types, system types and aliases
44 # that are meaningful with *any* GNU software. 47 # that are meaningful with *any* GNU software.
45 # Each package is responsible for reporting which valid configurations 48 # Each package is responsible for reporting which valid configurations
46 # it does not support. The user should be able to distinguish 49 # it does not support. The user should be able to distinguish
47 # a failure to support a valid configuration from a meaningless 50 # a failure to support a valid configuration from a meaningless
48 # configuration. 51 # configuration.
49 52
50 # The goal of this file is to map all the various variations of a given 53 # The goal of this file is to map all the various variations of a given
51 # machine specification into a single specification in the form: 54 # machine specification into a single specification in the form:
(...skipping 13 matching lines...) Expand all
65 Operation modes: 68 Operation modes:
66 -h, --help print this help, then exit 69 -h, --help print this help, then exit
67 -t, --time-stamp print date of last modification, then exit 70 -t, --time-stamp print date of last modification, then exit
68 -v, --version print version number, then exit 71 -v, --version print version number, then exit
69 72
70 Report bugs and patches to <config-patches@gnu.org>." 73 Report bugs and patches to <config-patches@gnu.org>."
71 74
72 version="\ 75 version="\
73 GNU config.sub ($timestamp) 76 GNU config.sub ($timestamp)
74 77
75 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 78 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
76 Free Software Foundation, Inc. 79 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
77 80
78 This is free software; see the source for copying conditions. There is NO 81 This is free software; see the source for copying conditions. There is NO
79 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 82 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
80 83
81 help=" 84 help="
82 Try \`$me --help' for more information." 85 Try \`$me --help' for more information."
83 86
84 # Parse command line 87 # Parse command line
85 while test $# -gt 0 ; do 88 while test $# -gt 0 ; do
86 case $1 in 89 case $1 in
(...skipping 28 matching lines...) Expand all
115 *) echo "$me: too many arguments$help" >&2 118 *) echo "$me: too many arguments$help" >&2
116 exit 1;; 119 exit 1;;
117 esac 120 esac
118 121
119 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 122 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
120 # Here we must recognize all the valid KERNEL-OS combinations. 123 # Here we must recognize all the valid KERNEL-OS combinations.
121 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 124 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
122 case $maybe_os in 125 case $maybe_os in
123 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 126 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
124 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 127 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
128 kopensolaris*-gnu* | \
125 storm-chaos* | os2-emx* | rtmk-nova*) 129 storm-chaos* | os2-emx* | rtmk-nova*)
126 os=-$maybe_os 130 os=-$maybe_os
127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
128 ;; 132 ;;
129 *) 133 *)
130 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 134 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
131 if [ $basic_machine != $1 ] 135 if [ $basic_machine != $1 ]
132 then os=`echo $1 | sed 's/.*-/-/'` 136 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi 137 else os=; fi
134 ;; 138 ;;
135 esac 139 esac
136 140
137 ### Let's recognize common machines as not being operating systems so 141 ### Let's recognize common machines as not being operating systems so
138 ### that things like config.sub decstation-3100 work. We also 142 ### that things like config.sub decstation-3100 work. We also
139 ### recognize some manufacturers as not being operating systems, so we 143 ### recognize some manufacturers as not being operating systems, so we
140 ### can provide default operating systems below. 144 ### can provide default operating systems below.
141 case $os in 145 case $os in
142 -sun*os*) 146 -sun*os*)
143 # Prevent following clause from handling this invalid input. 147 # Prevent following clause from handling this invalid input.
144 ;; 148 ;;
145 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 149 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
146 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 150 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
147 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 151 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
148 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 152 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
149 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 153 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 154 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
151 » -apple | -axis | -knuth | -cray) 155 » -apple | -axis | -knuth | -cray | -microblaze)
152 os= 156 os=
153 basic_machine=$1 157 basic_machine=$1
154 ;; 158 ;;
159 -bluegene*)
160 os=-cnk
161 ;;
155 -sim | -cisco | -oki | -wec | -winbond) 162 -sim | -cisco | -oki | -wec | -winbond)
156 os= 163 os=
157 basic_machine=$1 164 basic_machine=$1
158 ;; 165 ;;
159 -scout) 166 -scout)
160 ;; 167 ;;
161 -wrs) 168 -wrs)
162 os=-vxworks 169 os=-vxworks
163 basic_machine=$1 170 basic_machine=$1
164 ;; 171 ;;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \ 249 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \
243 | am33_2.0 \ 250 | am33_2.0 \
244 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \ 251 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \
245 | bfin \ 252 | bfin \
246 | c4x | clipper \ 253 | c4x | clipper \
247 | d10v | d30v | dlx | dsp16xx \ 254 | d10v | d30v | dlx | dsp16xx \
248 | fido | fr30 | frv \ 255 | fido | fr30 | frv \
249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 256 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
250 | i370 | i860 | i960 | ia64 \ 257 | i370 | i860 | i960 | ia64 \
251 | ip2k | iq2000 \ 258 | ip2k | iq2000 \
259 | lm32 \
252 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 260 | m32c | m32r | m32rle | m68000 | m68k | m88k \
253 » | maxq | mb | microblaze | mcore | mep \ 261 » | maxq | mb | microblaze | mcore | mep | metag \
254 | mips | mipsbe | mipseb | mipsel | mipsle \ 262 | mips | mipsbe | mipseb | mipsel | mipsle \
255 | mips16 \ 263 | mips16 \
256 | mips64 | mips64el \ 264 | mips64 | mips64el \
265 | mips64octeon | mips64octeonel \
266 | mips64orion | mips64orionel \
267 | mips64r5900 | mips64r5900el \
257 | mips64vr | mips64vrel \ 268 | mips64vr | mips64vrel \
258 | mips64orion | mips64orionel \
259 | mips64vr4100 | mips64vr4100el \ 269 | mips64vr4100 | mips64vr4100el \
260 | mips64vr4300 | mips64vr4300el \ 270 | mips64vr4300 | mips64vr4300el \
261 | mips64vr5000 | mips64vr5000el \ 271 | mips64vr5000 | mips64vr5000el \
262 | mips64vr5900 | mips64vr5900el \ 272 | mips64vr5900 | mips64vr5900el \
263 | mipsisa32 | mipsisa32el \ 273 | mipsisa32 | mipsisa32el \
264 | mipsisa32r2 | mipsisa32r2el \ 274 | mipsisa32r2 | mipsisa32r2el \
265 | mipsisa64 | mipsisa64el \ 275 | mipsisa64 | mipsisa64el \
266 | mipsisa64r2 | mipsisa64r2el \ 276 | mipsisa64r2 | mipsisa64r2el \
267 | mipsisa64sb1 | mipsisa64sb1el \ 277 | mipsisa64sb1 | mipsisa64sb1el \
268 | mipsisa64sr71k | mipsisa64sr71kel \ 278 | mipsisa64sr71k | mipsisa64sr71kel \
269 | mipstx39 | mipstx39el \ 279 | mipstx39 | mipstx39el \
270 | mn10200 | mn10300 \ 280 | mn10200 | mn10300 \
281 | moxie \
271 | mt \ 282 | mt \
272 | msp430 \ 283 | msp430 \
273 | nios | nios2 \ 284 | nios | nios2 \
274 | ns16k | ns32k \ 285 | ns16k | ns32k \
275 | or32 \ 286 | or32 \
276 | pdp10 | pdp11 | pj | pjl \ 287 | pdp10 | pdp11 | pj | pjl \
277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 288 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
278 | pyramid \ 289 | pyramid \
290 | rx \
279 | score \ 291 | score \
280 » | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh [1234]le | sh3ele \ 292 » | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
281 | sh64 | sh64le \ 293 | sh64 | sh64le \
282 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit e \ 294 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit e \
283 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 295 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
284 | spu | strongarm \ 296 | spu | strongarm \
285 | tahoe | thumb | tic4x | tic80 | tron \ 297 | tahoe | thumb | tic4x | tic80 | tron \
298 | ubicom32 \
286 | v850 | v850e \ 299 | v850 | v850e \
287 | we32k \ 300 | we32k \
288 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 301 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
289 » | z8k) 302 » | z8k | z80)
290 basic_machine=$basic_machine-unknown 303 basic_machine=$basic_machine-unknown
291 ;; 304 ;;
292 » m6811 | m68hc11 | m6812 | m68hc12) 305 » m6811 | m68hc11 | m6812 | m68hc12 | picochip)
293 # Motorola 68HC11/12. 306 # Motorola 68HC11/12.
294 basic_machine=$basic_machine-unknown 307 basic_machine=$basic_machine-unknown
295 os=-none 308 os=-none
296 ;; 309 ;;
297 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 310 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
298 ;; 311 ;;
299 ms1) 312 ms1)
300 basic_machine=mt-unknown 313 basic_machine=mt-unknown
301 ;; 314 ;;
302 315
(...skipping 19 matching lines...) Expand all
322 | bfin-* | bs2000-* \ 335 | bfin-* | bs2000-* \
323 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 336 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
324 | clipper-* | craynv-* | cydra-* \ 337 | clipper-* | craynv-* | cydra-* \
325 | d10v-* | d30v-* | dlx-* \ 338 | d10v-* | d30v-* | dlx-* \
326 | elxsi-* \ 339 | elxsi-* \
327 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 340 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
328 | h8300-* | h8500-* \ 341 | h8300-* | h8500-* \
329 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 342 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
330 | i*86-* | i860-* | i960-* | ia64-* \ 343 | i*86-* | i860-* | i960-* | ia64-* \
331 | ip2k-* | iq2000-* \ 344 | ip2k-* | iq2000-* \
345 | lm32-* \
332 | m32c-* | m32r-* | m32rle-* \ 346 | m32c-* | m32r-* | m32rle-* \
333 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 347 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
334 » | m88110-* | m88k-* | maxq-* | mcore-* \ 348 » | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
335 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 349 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
336 | mips16-* \ 350 | mips16-* \
337 | mips64-* | mips64el-* \ 351 | mips64-* | mips64el-* \
352 | mips64octeon-* | mips64octeonel-* \
353 | mips64orion-* | mips64orionel-* \
354 | mips64r5900-* | mips64r5900el-* \
338 | mips64vr-* | mips64vrel-* \ 355 | mips64vr-* | mips64vrel-* \
339 | mips64orion-* | mips64orionel-* \
340 | mips64vr4100-* | mips64vr4100el-* \ 356 | mips64vr4100-* | mips64vr4100el-* \
341 | mips64vr4300-* | mips64vr4300el-* \ 357 | mips64vr4300-* | mips64vr4300el-* \
342 | mips64vr5000-* | mips64vr5000el-* \ 358 | mips64vr5000-* | mips64vr5000el-* \
343 | mips64vr5900-* | mips64vr5900el-* \ 359 | mips64vr5900-* | mips64vr5900el-* \
344 | mipsisa32-* | mipsisa32el-* \ 360 | mipsisa32-* | mipsisa32el-* \
345 | mipsisa32r2-* | mipsisa32r2el-* \ 361 | mipsisa32r2-* | mipsisa32r2el-* \
346 | mipsisa64-* | mipsisa64el-* \ 362 | mipsisa64-* | mipsisa64el-* \
347 | mipsisa64r2-* | mipsisa64r2el-* \ 363 | mipsisa64r2-* | mipsisa64r2el-* \
348 | mipsisa64sb1-* | mipsisa64sb1el-* \ 364 | mipsisa64sb1-* | mipsisa64sb1el-* \
349 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 365 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
350 | mipstx39-* | mipstx39el-* \ 366 | mipstx39-* | mipstx39el-* \
351 | mmix-* \ 367 | mmix-* \
352 | mt-* \ 368 | mt-* \
353 | msp430-* \ 369 | msp430-* \
354 | nios-* | nios2-* \ 370 | nios-* | nios2-* \
355 | none-* | np1-* | ns16k-* | ns32k-* \ 371 | none-* | np1-* | ns16k-* | ns32k-* \
356 | orion-* \ 372 | orion-* \
357 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 373 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
358 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 374 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
359 | pyramid-* \ 375 | pyramid-* \
360 » | romp-* | rs6000-* \ 376 » | romp-* | rs6000-* | rx-* \
361 » | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe -* \ 377 » | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
362 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 378 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
363 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet- * \ 379 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet- * \
364 | sparclite-* \ 380 | sparclite-* \
365 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 381 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
366 | tahoe-* | thumb-* \ 382 | tahoe-* | thumb-* \
367 » | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 383 » | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
368 | tron-* \ 384 | tron-* \
385 | ubicom32-* \
369 | v850-* | v850e-* | vax-* \ 386 | v850-* | v850e-* | vax-* \
370 | we32k-* \ 387 | we32k-* \
371 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 388 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
372 » | xstormy16-* | xtensa-* \ 389 » | xstormy16-* | xtensa*-* \
373 | ymp-* \ 390 | ymp-* \
374 » | z8k-*) 391 » | z8k-* | z80-*)
392 » » ;;
393 » # Recognize the basic CPU types without company name, with glob match.
394 » xtensa*)
395 » » basic_machine=$basic_machine-unknown
375 ;; 396 ;;
376 # Recognize the various machine names and aliases which stand 397 # Recognize the various machine names and aliases which stand
377 # for a CPU type and a company and sometimes even an OS. 398 # for a CPU type and a company and sometimes even an OS.
378 386bsd) 399 386bsd)
379 basic_machine=i386-unknown 400 basic_machine=i386-unknown
380 os=-bsd 401 os=-bsd
381 ;; 402 ;;
382 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) 403 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
383 basic_machine=m68000-att 404 basic_machine=m68000-att
384 ;; 405 ;;
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 os=-sysv4 449 os=-sysv4
429 ;; 450 ;;
430 apollo68) 451 apollo68)
431 basic_machine=m68k-apollo 452 basic_machine=m68k-apollo
432 os=-sysv 453 os=-sysv
433 ;; 454 ;;
434 apollo68bsd) 455 apollo68bsd)
435 basic_machine=m68k-apollo 456 basic_machine=m68k-apollo
436 os=-bsd 457 os=-bsd
437 ;; 458 ;;
459 aros)
460 basic_machine=i386-pc
461 os=-aros
462 ;;
438 aux) 463 aux)
439 basic_machine=m68k-apple 464 basic_machine=m68k-apple
440 os=-aux 465 os=-aux
441 ;; 466 ;;
442 balance) 467 balance)
443 basic_machine=ns32k-sequent 468 basic_machine=ns32k-sequent
444 os=-dynix 469 os=-dynix
445 ;; 470 ;;
471 blackfin)
472 basic_machine=bfin-unknown
473 os=-linux
474 ;;
475 blackfin-*)
476 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
477 os=-linux
478 ;;
479 bluegene*)
480 basic_machine=powerpc-ibm
481 os=-cnk
482 ;;
446 c90) 483 c90)
447 basic_machine=c90-cray 484 basic_machine=c90-cray
448 os=-unicos 485 os=-unicos
449 ;; 486 ;;
487 cegcc)
488 basic_machine=arm-unknown
489 os=-cegcc
490 ;;
450 convex-c1) 491 convex-c1)
451 basic_machine=c1-convex 492 basic_machine=c1-convex
452 os=-bsd 493 os=-bsd
453 ;; 494 ;;
454 convex-c2) 495 convex-c2)
455 basic_machine=c2-convex 496 basic_machine=c2-convex
456 os=-bsd 497 os=-bsd
457 ;; 498 ;;
458 convex-c32) 499 convex-c32)
459 basic_machine=c32-convex 500 basic_machine=c32-convex
460 os=-bsd 501 os=-bsd
461 ;; 502 ;;
462 convex-c34) 503 convex-c34)
463 basic_machine=c34-convex 504 basic_machine=c34-convex
464 os=-bsd 505 os=-bsd
465 ;; 506 ;;
466 convex-c38) 507 convex-c38)
467 basic_machine=c38-convex 508 basic_machine=c38-convex
468 os=-bsd 509 os=-bsd
469 ;; 510 ;;
470 cray | j90) 511 cray | j90)
471 basic_machine=j90-cray 512 basic_machine=j90-cray
472 os=-unicos 513 os=-unicos
473 ;; 514 ;;
474 craynv) 515 craynv)
475 basic_machine=craynv-cray 516 basic_machine=craynv-cray
476 os=-unicosmp 517 os=-unicosmp
477 ;; 518 ;;
478 » cr16c) 519 » cr16)
479 » » basic_machine=cr16c-unknown 520 » » basic_machine=cr16-unknown
480 os=-elf 521 os=-elf
481 ;; 522 ;;
482 crds | unos) 523 crds | unos)
483 basic_machine=m68k-crds 524 basic_machine=m68k-crds
484 ;; 525 ;;
485 crisv32 | crisv32-* | etraxfs*) 526 crisv32 | crisv32-* | etraxfs*)
486 basic_machine=crisv32-axis 527 basic_machine=crisv32-axis
487 ;; 528 ;;
488 cris | cris-* | etrax*) 529 cris | cris-* | etrax*)
489 basic_machine=cris-axis 530 basic_machine=cris-axis
(...skipping 17 matching lines...) Expand all
507 os=-tops20 548 os=-tops20
508 ;; 549 ;;
509 delta | 3300 | motorola-3300 | motorola-delta \ 550 delta | 3300 | motorola-3300 | motorola-delta \
510 | 3300-motorola | delta-motorola) 551 | 3300-motorola | delta-motorola)
511 basic_machine=m68k-motorola 552 basic_machine=m68k-motorola
512 ;; 553 ;;
513 delta88) 554 delta88)
514 basic_machine=m88k-motorola 555 basic_machine=m88k-motorola
515 os=-sysv3 556 os=-sysv3
516 ;; 557 ;;
558 dicos)
559 basic_machine=i686-pc
560 os=-dicos
561 ;;
517 djgpp) 562 djgpp)
518 basic_machine=i586-pc 563 basic_machine=i586-pc
519 os=-msdosdjgpp 564 os=-msdosdjgpp
520 ;; 565 ;;
521 dpx20 | dpx20-*) 566 dpx20 | dpx20-*)
522 basic_machine=rs6000-bull 567 basic_machine=rs6000-bull
523 os=-bosx 568 os=-bosx
524 ;; 569 ;;
525 dpx2* | dpx2*-bull) 570 dpx2* | dpx2*-bull)
526 basic_machine=m68k-bull 571 basic_machine=m68k-bull
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 ;; 706 ;;
662 *) 707 *)
663 os=-irix4 708 os=-irix4
664 ;; 709 ;;
665 esac 710 esac
666 ;; 711 ;;
667 isi68 | isi) 712 isi68 | isi)
668 basic_machine=m68k-isi 713 basic_machine=m68k-isi
669 os=-sysv 714 os=-sysv
670 ;; 715 ;;
716 m68knommu)
717 basic_machine=m68k-unknown
718 os=-linux
719 ;;
720 m68knommu-*)
721 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
722 os=-linux
723 ;;
671 m88k-omron*) 724 m88k-omron*)
672 basic_machine=m88k-omron 725 basic_machine=m88k-omron
673 ;; 726 ;;
674 magnum | m3230) 727 magnum | m3230)
675 basic_machine=mips-mips 728 basic_machine=mips-mips
676 os=-sysv 729 os=-sysv
677 ;; 730 ;;
678 merlin) 731 merlin)
679 basic_machine=ns32k-utek 732 basic_machine=ns32k-utek
680 os=-sysv 733 os=-sysv
681 ;; 734 ;;
735 microblaze)
736 basic_machine=microblaze-xilinx
737 ;;
682 mingw32) 738 mingw32)
683 basic_machine=i386-pc 739 basic_machine=i386-pc
684 os=-mingw32 740 os=-mingw32
685 ;; 741 ;;
686 mingw32ce) 742 mingw32ce)
687 basic_machine=arm-unknown 743 basic_machine=arm-unknown
688 os=-mingw32ce 744 os=-mingw32ce
689 ;; 745 ;;
690 miniframe) 746 miniframe)
691 basic_machine=m68000-convergent 747 basic_machine=m68000-convergent
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 os=-os68k 862 os=-os68k
807 ;; 863 ;;
808 pa-hitachi) 864 pa-hitachi)
809 basic_machine=hppa1.1-hitachi 865 basic_machine=hppa1.1-hitachi
810 os=-hiuxwe2 866 os=-hiuxwe2
811 ;; 867 ;;
812 paragon) 868 paragon)
813 basic_machine=i860-intel 869 basic_machine=i860-intel
814 os=-osf 870 os=-osf
815 ;; 871 ;;
872 parisc)
873 basic_machine=hppa-unknown
874 os=-linux
875 ;;
876 parisc-*)
877 basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
878 os=-linux
879 ;;
816 pbd) 880 pbd)
817 basic_machine=sparc-tti 881 basic_machine=sparc-tti
818 ;; 882 ;;
819 pbb) 883 pbb)
820 basic_machine=m68k-tti 884 basic_machine=m68k-tti
821 ;; 885 ;;
822 pc532 | pc532-*) 886 pc532 | pc532-*)
823 basic_machine=ns32k-pc532 887 basic_machine=ns32k-pc532
824 ;; 888 ;;
825 pc98) 889 pc98)
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 os=-coff 1078 os=-coff
1015 ;; 1079 ;;
1016 tic55x | c55x*) 1080 tic55x | c55x*)
1017 basic_machine=tic55x-unknown 1081 basic_machine=tic55x-unknown
1018 os=-coff 1082 os=-coff
1019 ;; 1083 ;;
1020 tic6x | c6x*) 1084 tic6x | c6x*)
1021 basic_machine=tic6x-unknown 1085 basic_machine=tic6x-unknown
1022 os=-coff 1086 os=-coff
1023 ;; 1087 ;;
1088 tile*)
1089 basic_machine=tile-unknown
1090 os=-linux-gnu
1091 ;;
1024 tx39) 1092 tx39)
1025 basic_machine=mipstx39-unknown 1093 basic_machine=mipstx39-unknown
1026 ;; 1094 ;;
1027 tx39el) 1095 tx39el)
1028 basic_machine=mipstx39el-unknown 1096 basic_machine=mipstx39el-unknown
1029 ;; 1097 ;;
1030 toad1) 1098 toad1)
1031 basic_machine=pdp10-xkl 1099 basic_machine=pdp10-xkl
1032 os=-tops20 1100 os=-tops20
1033 ;; 1101 ;;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 basic_machine=xps100-honeywell 1157 basic_machine=xps100-honeywell
1090 ;; 1158 ;;
1091 ymp) 1159 ymp)
1092 basic_machine=ymp-cray 1160 basic_machine=ymp-cray
1093 os=-unicos 1161 os=-unicos
1094 ;; 1162 ;;
1095 z8k-*-coff) 1163 z8k-*-coff)
1096 basic_machine=z8k-unknown 1164 basic_machine=z8k-unknown
1097 os=-sim 1165 os=-sim
1098 ;; 1166 ;;
1167 z80-*-coff)
1168 basic_machine=z80-unknown
1169 os=-sim
1170 ;;
1099 none) 1171 none)
1100 basic_machine=none-none 1172 basic_machine=none-none
1101 os=-none 1173 os=-none
1102 ;; 1174 ;;
1103 1175
1104 # Here we handle the default manufacturer of certain CPU types. It is in 1176 # Here we handle the default manufacturer of certain CPU types. It is in
1105 # some cases the only manufacturer, in others, it is the most popular. 1177 # some cases the only manufacturer, in others, it is the most popular.
1106 w89k) 1178 w89k)
1107 basic_machine=hppa1.1-winbond 1179 basic_machine=hppa1.1-winbond
1108 ;; 1180 ;;
(...skipping 18 matching lines...) Expand all
1127 pdp10) 1199 pdp10)
1128 # there are many clones, so DEC is not a safe bet 1200 # there are many clones, so DEC is not a safe bet
1129 basic_machine=pdp10-unknown 1201 basic_machine=pdp10-unknown
1130 ;; 1202 ;;
1131 pdp11) 1203 pdp11)
1132 basic_machine=pdp11-dec 1204 basic_machine=pdp11-dec
1133 ;; 1205 ;;
1134 we32k) 1206 we32k)
1135 basic_machine=we32k-att 1207 basic_machine=we32k-att
1136 ;; 1208 ;;
1137 » sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele) 1209 » sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
1138 basic_machine=sh-unknown 1210 basic_machine=sh-unknown
1139 ;; 1211 ;;
1140 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) 1212 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
1141 basic_machine=sparc-sun 1213 basic_machine=sparc-sun
1142 ;; 1214 ;;
1143 cydra) 1215 cydra)
1144 basic_machine=cydra-cydrome 1216 basic_machine=cydra-cydrome
1145 ;; 1217 ;;
1146 orion) 1218 orion)
1147 basic_machine=orion-highlevel 1219 basic_machine=orion-highlevel
(...skipping 29 matching lines...) Expand all
1177 esac 1249 esac
1178 1250
1179 # Decode manufacturer-specific aliases for certain operating systems. 1251 # Decode manufacturer-specific aliases for certain operating systems.
1180 1252
1181 if [ x"$os" != x"" ] 1253 if [ x"$os" != x"" ]
1182 then 1254 then
1183 case $os in 1255 case $os in
1184 # First match some system type aliases 1256 # First match some system type aliases
1185 # that might get confused with valid system types. 1257 # that might get confused with valid system types.
1186 # -solaris* is a basic system type, with this one exception. 1258 # -solaris* is a basic system type, with this one exception.
1259 -auroraux)
1260 os=-auroraux
1261 ;;
1187 -solaris1 | -solaris1.*) 1262 -solaris1 | -solaris1.*)
1188 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1263 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1189 ;; 1264 ;;
1190 -solaris) 1265 -solaris)
1191 os=-solaris2 1266 os=-solaris2
1192 ;; 1267 ;;
1193 -svr4*) 1268 -svr4*)
1194 os=-sysv4 1269 os=-sysv4
1195 ;; 1270 ;;
1196 -unixware*) 1271 -unixware*)
1197 os=-sysv4.2uw 1272 os=-sysv4.2uw
1198 ;; 1273 ;;
1199 -gnu/linux*) 1274 -gnu/linux*)
1200 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` 1275 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1201 ;; 1276 ;;
1202 # First accept the basic system types. 1277 # First accept the basic system types.
1203 # The portable systems comes first. 1278 # The portable systems comes first.
1204 # Each alternative MUST END IN A *, to match a version number. 1279 # Each alternative MUST END IN A *, to match a version number.
1205 # -sysv* is not here because it comes later, after sysvr4. 1280 # -sysv* is not here because it comes later, after sysvr4.
1206 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1281 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1207 » | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ 1282 » | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -suno s[34]*\
1208 » | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ 1283 » | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solari s* \
1284 » | -sym* | -kopensolaris* \
1209 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1285 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1210 » | -aos* \ 1286 » | -aos* | -aros* \
1211 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1287 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1212 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1288 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1213 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1289 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1214 | -openbsd* | -solidbsd* \ 1290 | -openbsd* | -solidbsd* \
1215 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1291 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1216 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1292 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1217 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1293 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1218 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1294 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1219 » | -chorusos* | -chorusrdb* \ 1295 » | -chorusos* | -chorusrdb* | -cegcc* \
1220 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1296 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1221 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1297 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1222 | -uxpv* | -beos* | -mpeix* | -udk* \ 1298 | -uxpv* | -beos* | -mpeix* | -udk* \
1223 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1299 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1224 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1300 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1225 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1301 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1226 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1302 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1227 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1303 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1228 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1304 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1229 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1305 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1230 # Remember, each alternative MUST END IN *, to match a version number. 1306 # Remember, each alternative MUST END IN *, to match a version number.
1231 ;; 1307 ;;
1232 -qnx*) 1308 -qnx*)
1233 case $basic_machine in 1309 case $basic_machine in
1234 x86-* | i*86-*) 1310 x86-* | i*86-*)
1235 ;; 1311 ;;
1236 *) 1312 *)
1237 os=-nto$os 1313 os=-nto$os
1238 ;; 1314 ;;
1239 esac 1315 esac
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 ;; 1425 ;;
1350 -aros*) 1426 -aros*)
1351 os=-aros 1427 os=-aros
1352 ;; 1428 ;;
1353 -kaos*) 1429 -kaos*)
1354 os=-kaos 1430 os=-kaos
1355 ;; 1431 ;;
1356 -zvmoe) 1432 -zvmoe)
1357 os=-zvmoe 1433 os=-zvmoe
1358 ;; 1434 ;;
1435 -dicos*)
1436 os=-dicos
1437 ;;
1359 -none) 1438 -none)
1360 ;; 1439 ;;
1361 *) 1440 *)
1362 # Get rid of the `-' at the beginning of $os. 1441 # Get rid of the `-' at the beginning of $os.
1363 os=`echo $os | sed 's/[^-]*-//'` 1442 os=`echo $os | sed 's/[^-]*-//'`
1364 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 1443 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1365 exit 1 1444 exit 1
1366 ;; 1445 ;;
1367 esac 1446 esac
1368 else 1447 else
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
1546 vendor=unknown 1625 vendor=unknown
1547 case $basic_machine in 1626 case $basic_machine in
1548 *-unknown) 1627 *-unknown)
1549 case $os in 1628 case $os in
1550 -riscix*) 1629 -riscix*)
1551 vendor=acorn 1630 vendor=acorn
1552 ;; 1631 ;;
1553 -sunos*) 1632 -sunos*)
1554 vendor=sun 1633 vendor=sun
1555 ;; 1634 ;;
1556 » » » -aix*) 1635 » » » -cnk*|-aix*)
1557 vendor=ibm 1636 vendor=ibm
1558 ;; 1637 ;;
1559 -beos*) 1638 -beos*)
1560 vendor=be 1639 vendor=be
1561 ;; 1640 ;;
1562 -hpux*) 1641 -hpux*)
1563 vendor=hp 1642 vendor=hp
1564 ;; 1643 ;;
1565 -mpeix*) 1644 -mpeix*)
1566 vendor=hp 1645 vendor=hp
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
1617 1696
1618 echo $basic_machine$os 1697 echo $basic_machine$os
1619 exit 1698 exit
1620 1699
1621 # Local variables: 1700 # Local variables:
1622 # eval: (add-hook 'write-file-hooks 'time-stamp) 1701 # eval: (add-hook 'write-file-hooks 'time-stamp)
1623 # time-stamp-start: "timestamp='" 1702 # time-stamp-start: "timestamp='"
1624 # time-stamp-format: "%:y-%02m-%02d" 1703 # time-stamp-format: "%:y-%02m-%02d"
1625 # time-stamp-end: "'" 1704 # time-stamp-end: "'"
1626 # End: 1705 # End:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698