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

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

Issue 1752223002: Roll libxml to 2.9.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Re-cherry-pick fprintf formatting fix. Created 4 years, 9 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 1992-2015 Free Software Foundation, Inc.
4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5 # 2011, 2012 Free Software Foundation, Inc.
6 4
7 timestamp='2012-02-10' 5 timestamp='2015-01-01'
8 6
9 # This file is (in principle) common to ALL GNU software. 7 # This file is free software; you can redistribute it and/or modify it
10 # The presence of a machine in this file suggests that SOME GNU software 8 # under the terms of the GNU General Public License as published by
11 # can handle that machine. It does not imply ALL GNU software can. 9 # the Free Software Foundation; either version 3 of the License, or
12 #
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
15 # the Free Software Foundation; either version 2 of the License, or
16 # (at your option) any later version. 10 # (at your option) any later version.
17 # 11 #
18 # This program is distributed in the hope that it will be useful, 12 # This program is distributed in the hope that it will be useful, but
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 # GNU General Public License for more details. 15 # General Public License for more details.
22 # 16 #
23 # You should have received a copy of the GNU General Public License 17 # You should have received a copy of the GNU General Public License
24 # along with this program; if not, see <http://www.gnu.org/licenses/>. 18 # along with this program; if not, see <http://www.gnu.org/licenses/>.
25 # 19 #
26 # As a special exception to the GNU General Public License, if you 20 # As a special exception to the GNU General Public License, if you
27 # distribute this file as part of a program that contains a 21 # distribute this file as part of a program that contains a
28 # configuration script generated by Autoconf, you may include it under 22 # configuration script generated by Autoconf, you may include it under
29 # the same distribution terms that you use for the rest of that program. 23 # the same distribution terms that you use for the rest of that
24 # program. This Exception is an additional permission under section 7
25 # of the GNU General Public License, version 3 ("GPLv3").
30 26
31 27
32 # Please send patches to <config-patches@gnu.org>. Submit a context 28 # Please send patches to <config-patches@gnu.org>.
33 # diff and a properly formatted GNU ChangeLog entry.
34 # 29 #
35 # Configuration subroutine to validate and canonicalize a configuration type. 30 # Configuration subroutine to validate and canonicalize a configuration type.
36 # Supply the specified configuration type as an argument. 31 # Supply the specified configuration type as an argument.
37 # If it is invalid, we print an error message on stderr and exit with code 1. 32 # If it is invalid, we print an error message on stderr and exit with code 1.
38 # Otherwise, we print the canonical config type on stdout and succeed. 33 # Otherwise, we print the canonical config type on stdout and succeed.
39 34
40 # You can get the latest version of this script from: 35 # You can get the latest version of this script from:
41 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb= HEAD 36 # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb= HEAD
42 37
43 # This file is supposed to be the same for all GNU packages 38 # This file is supposed to be the same for all GNU packages
(...skipping 22 matching lines...) Expand all
66 Operation modes: 61 Operation modes:
67 -h, --help print this help, then exit 62 -h, --help print this help, then exit
68 -t, --time-stamp print date of last modification, then exit 63 -t, --time-stamp print date of last modification, then exit
69 -v, --version print version number, then exit 64 -v, --version print version number, then exit
70 65
71 Report bugs and patches to <config-patches@gnu.org>." 66 Report bugs and patches to <config-patches@gnu.org>."
72 67
73 version="\ 68 version="\
74 GNU config.sub ($timestamp) 69 GNU config.sub ($timestamp)
75 70
76 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 71 Copyright 1992-2015 Free Software Foundation, Inc.
77 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
78 Free Software Foundation, Inc.
79 72
80 This is free software; see the source for copying conditions. There is NO 73 This is free software; see the source for copying conditions. There is NO
81 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 74 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
82 75
83 help=" 76 help="
84 Try \`$me --help' for more information." 77 Try \`$me --help' for more information."
85 78
86 # Parse command line 79 # Parse command line
87 while test $# -gt 0 ; do 80 while test $# -gt 0 ; do
88 case $1 in 81 case $1 in
(...skipping 27 matching lines...) Expand all
116 1) ;; 109 1) ;;
117 *) echo "$me: too many arguments$help" >&2 110 *) echo "$me: too many arguments$help" >&2
118 exit 1;; 111 exit 1;;
119 esac 112 esac
120 113
121 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 114 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
122 # Here we must recognize all the valid KERNEL-OS combinations. 115 # Here we must recognize all the valid KERNEL-OS combinations.
123 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 116 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
124 case $maybe_os in 117 case $maybe_os in
125 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ 118 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
126 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ 119 linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
127 knetbsd*-gnu* | netbsd*-gnu* | \ 120 knetbsd*-gnu* | netbsd*-gnu* | \
128 kopensolaris*-gnu* | \ 121 kopensolaris*-gnu* | \
129 storm-chaos* | os2-emx* | rtmk-nova*) 122 storm-chaos* | os2-emx* | rtmk-nova*)
130 os=-$maybe_os 123 os=-$maybe_os
131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
132 ;; 125 ;;
133 android-linux) 126 android-linux)
134 os=-linux-android 127 os=-linux-android
135 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown 128 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
136 ;; 129 ;;
(...skipping 12 matching lines...) Expand all
149 case $os in 142 case $os in
150 -sun*os*) 143 -sun*os*)
151 # Prevent following clause from handling this invalid input. 144 # Prevent following clause from handling this invalid input.
152 ;; 145 ;;
153 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 146 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
154 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 147 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
155 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 148 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
156 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 149 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
157 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 150 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
158 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 151 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
159 » -apple | -axis | -knuth | -cray | -microblaze) 152 » -apple | -axis | -knuth | -cray | -microblaze*)
160 os= 153 os=
161 basic_machine=$1 154 basic_machine=$1
162 ;; 155 ;;
163 -bluegene*) 156 -bluegene*)
164 os=-cnk 157 os=-cnk
165 ;; 158 ;;
166 -sim | -cisco | -oki | -wec | -winbond) 159 -sim | -cisco | -oki | -wec | -winbond)
167 os= 160 os=
168 basic_machine=$1 161 basic_machine=$1
169 ;; 162 ;;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 -isc) 211 -isc)
219 os=-isc2.2 212 os=-isc2.2
220 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 213 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
221 ;; 214 ;;
222 -clix*) 215 -clix*)
223 basic_machine=clipper-intergraph 216 basic_machine=clipper-intergraph
224 ;; 217 ;;
225 -isc*) 218 -isc*)
226 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 219 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
227 ;; 220 ;;
221 -lynx*178)
222 os=-lynxos178
223 ;;
224 -lynx*5)
225 os=-lynxos5
226 ;;
228 -lynx*) 227 -lynx*)
229 os=-lynxos 228 os=-lynxos
230 ;; 229 ;;
231 -ptx*) 230 -ptx*)
232 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` 231 basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
233 ;; 232 ;;
234 -windowsnt*) 233 -windowsnt*)
235 os=`echo $os | sed -e 's/windowsnt/winnt/'` 234 os=`echo $os | sed -e 's/windowsnt/winnt/'`
236 ;; 235 ;;
237 -psos*) 236 -psos*)
238 os=-psos 237 os=-psos
239 ;; 238 ;;
240 -mint | -mint[0-9]*) 239 -mint | -mint[0-9]*)
241 basic_machine=m68k-atari 240 basic_machine=m68k-atari
242 os=-mint 241 os=-mint
243 ;; 242 ;;
244 esac 243 esac
245 244
246 # Decode aliases for certain CPU-COMPANY combinations. 245 # Decode aliases for certain CPU-COMPANY combinations.
247 case $basic_machine in 246 case $basic_machine in
248 # Recognize the basic CPU types without company name. 247 # Recognize the basic CPU types without company name.
249 # Some are omitted here because they have special meanings below. 248 # Some are omitted here because they have special meanings below.
250 1750a | 580 \ 249 1750a | 580 \
251 | a29k \ 250 | a29k \
252 | aarch64 | aarch64_be \ 251 | aarch64 | aarch64_be \
253 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 252 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
254 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \ 253 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \
255 | am33_2.0 \ 254 | am33_2.0 \
256 » | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \ 255 » | arc | arceb \
257 | be32 | be64 \ 256 » | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
257 » | avr | avr32 \
258 » | be32 | be64 \
258 | bfin \ 259 | bfin \
259 » | c4x | clipper \ 260 » | c4x | c8051 | clipper \
260 | d10v | d30v | dlx | dsp16xx \ 261 | d10v | d30v | dlx | dsp16xx \
261 | epiphany \ 262 | epiphany \
262 » | fido | fr30 | frv \ 263 » | fido | fr30 | frv | ft32 \
263 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 264 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
264 | hexagon \ 265 | hexagon \
265 | i370 | i860 | i960 | ia64 \ 266 | i370 | i860 | i960 | ia64 \
266 | ip2k | iq2000 \ 267 | ip2k | iq2000 \
268 | k1om \
267 | le32 | le64 \ 269 | le32 | le64 \
268 | lm32 \ 270 | lm32 \
269 | m32c | m32r | m32rle | m68000 | m68k | m88k \ 271 | m32c | m32r | m32rle | m68000 | m68k | m88k \
270 » | maxq | mb | microblaze | mcore | mep | metag \ 272 » | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
271 | mips | mipsbe | mipseb | mipsel | mipsle \ 273 | mips | mipsbe | mipseb | mipsel | mipsle \
272 | mips16 \ 274 | mips16 \
273 | mips64 | mips64el \ 275 | mips64 | mips64el \
274 | mips64octeon | mips64octeonel \ 276 | mips64octeon | mips64octeonel \
275 | mips64orion | mips64orionel \ 277 | mips64orion | mips64orionel \
276 | mips64r5900 | mips64r5900el \ 278 | mips64r5900 | mips64r5900el \
277 | mips64vr | mips64vrel \ 279 | mips64vr | mips64vrel \
278 | mips64vr4100 | mips64vr4100el \ 280 | mips64vr4100 | mips64vr4100el \
279 | mips64vr4300 | mips64vr4300el \ 281 | mips64vr4300 | mips64vr4300el \
280 | mips64vr5000 | mips64vr5000el \ 282 | mips64vr5000 | mips64vr5000el \
281 | mips64vr5900 | mips64vr5900el \ 283 | mips64vr5900 | mips64vr5900el \
282 | mipsisa32 | mipsisa32el \ 284 | mipsisa32 | mipsisa32el \
283 | mipsisa32r2 | mipsisa32r2el \ 285 | mipsisa32r2 | mipsisa32r2el \
286 | mipsisa32r6 | mipsisa32r6el \
284 | mipsisa64 | mipsisa64el \ 287 | mipsisa64 | mipsisa64el \
285 | mipsisa64r2 | mipsisa64r2el \ 288 | mipsisa64r2 | mipsisa64r2el \
289 | mipsisa64r6 | mipsisa64r6el \
286 | mipsisa64sb1 | mipsisa64sb1el \ 290 | mipsisa64sb1 | mipsisa64sb1el \
287 | mipsisa64sr71k | mipsisa64sr71kel \ 291 | mipsisa64sr71k | mipsisa64sr71kel \
292 | mipsr5900 | mipsr5900el \
288 | mipstx39 | mipstx39el \ 293 | mipstx39 | mipstx39el \
289 | mn10200 | mn10300 \ 294 | mn10200 | mn10300 \
290 | moxie \ 295 | moxie \
291 | mt \ 296 | mt \
292 | msp430 \ 297 | msp430 \
293 | nds32 | nds32le | nds32be \ 298 | nds32 | nds32le | nds32be \
294 » | nios | nios2 \ 299 » | nios | nios2 | nios2eb | nios2el \
295 | ns16k | ns32k \ 300 | ns16k | ns32k \
296 » | open8 \ 301 » | open8 | or1k | or1knd | or32 \
297 » | or32 \
298 | pdp10 | pdp11 | pj | pjl \ 302 | pdp10 | pdp11 | pj | pjl \
299 | powerpc | powerpc64 | powerpc64le | powerpcle \ 303 | powerpc | powerpc64 | powerpc64le | powerpcle \
300 | pyramid \ 304 | pyramid \
305 | riscv32 | riscv64 \
301 | rl78 | rx \ 306 | rl78 | rx \
302 | score \ 307 | score \
303 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 308 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
304 | sh64 | sh64le \ 309 | sh64 | sh64le \
305 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit e \ 310 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit e \
306 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 311 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
307 | spu \ 312 | spu \
308 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ 313 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
309 | ubicom32 \ 314 | ubicom32 \
310 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ 315 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
316 | visium \
311 | we32k \ 317 | we32k \
312 | x86 | xc16x | xstormy16 | xtensa \ 318 | x86 | xc16x | xstormy16 | xtensa \
313 | z8k | z80) 319 | z8k | z80)
314 basic_machine=$basic_machine-unknown 320 basic_machine=$basic_machine-unknown
315 ;; 321 ;;
316 c54x) 322 c54x)
317 basic_machine=tic54x-unknown 323 basic_machine=tic54x-unknown
318 ;; 324 ;;
319 c55x) 325 c55x)
320 basic_machine=tic55x-unknown 326 basic_machine=tic55x-unknown
321 ;; 327 ;;
322 c6x) 328 c6x)
323 basic_machine=tic6x-unknown 329 basic_machine=tic6x-unknown
324 ;; 330 ;;
325 » m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) 331 » leon|leon[3-9])
332 » » basic_machine=sparc-$basic_machine
333 » » ;;
334 » m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
326 basic_machine=$basic_machine-unknown 335 basic_machine=$basic_machine-unknown
327 os=-none 336 os=-none
328 ;; 337 ;;
329 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 338 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
330 ;; 339 ;;
331 ms1) 340 ms1)
332 basic_machine=mt-unknown 341 basic_machine=mt-unknown
333 ;; 342 ;;
334 343
335 strongarm | thumb | xscale) 344 strongarm | thumb | xscale)
(...skipping 21 matching lines...) Expand all
357 *-*-*) 366 *-*-*)
358 echo Invalid configuration \`$1\': machine \`$basic_machine\' no t recognized 1>&2 367 echo Invalid configuration \`$1\': machine \`$basic_machine\' no t recognized 1>&2
359 exit 1 368 exit 1
360 ;; 369 ;;
361 # Recognize the basic CPU types with company name. 370 # Recognize the basic CPU types with company name.
362 580-* \ 371 580-* \
363 | a29k-* \ 372 | a29k-* \
364 | aarch64-* | aarch64_be-* \ 373 | aarch64-* | aarch64_be-* \
365 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 374 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
366 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 375 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
367 » | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 376 » | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
368 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 377 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
369 | avr-* | avr32-* \ 378 | avr-* | avr32-* \
370 | be32-* | be64-* \ 379 | be32-* | be64-* \
371 | bfin-* | bs2000-* \ 380 | bfin-* | bs2000-* \
372 | c[123]* | c30-* | [cjt]90-* | c4x-* \ 381 | c[123]* | c30-* | [cjt]90-* | c4x-* \
373 » | clipper-* | craynv-* | cydra-* \ 382 » | c8051-* | clipper-* | craynv-* | cydra-* \
374 | d10v-* | d30v-* | dlx-* \ 383 | d10v-* | d30v-* | dlx-* \
375 | elxsi-* \ 384 | elxsi-* \
376 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 385 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
377 | h8300-* | h8500-* \ 386 | h8300-* | h8500-* \
378 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 387 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
379 | hexagon-* \ 388 | hexagon-* \
380 | i*86-* | i860-* | i960-* | ia64-* \ 389 | i*86-* | i860-* | i960-* | ia64-* \
381 | ip2k-* | iq2000-* \ 390 | ip2k-* | iq2000-* \
391 | k1om-* \
382 | le32-* | le64-* \ 392 | le32-* | le64-* \
383 | lm32-* \ 393 | lm32-* \
384 | m32c-* | m32r-* | m32rle-* \ 394 | m32c-* | m32r-* | m32rle-* \
385 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 395 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
386 » | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ 396 » | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
397 » | microblaze-* | microblazeel-* \
387 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 398 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
388 | mips16-* \ 399 | mips16-* \
389 | mips64-* | mips64el-* \ 400 | mips64-* | mips64el-* \
390 | mips64octeon-* | mips64octeonel-* \ 401 | mips64octeon-* | mips64octeonel-* \
391 | mips64orion-* | mips64orionel-* \ 402 | mips64orion-* | mips64orionel-* \
392 | mips64r5900-* | mips64r5900el-* \ 403 | mips64r5900-* | mips64r5900el-* \
393 | mips64vr-* | mips64vrel-* \ 404 | mips64vr-* | mips64vrel-* \
394 | mips64vr4100-* | mips64vr4100el-* \ 405 | mips64vr4100-* | mips64vr4100el-* \
395 | mips64vr4300-* | mips64vr4300el-* \ 406 | mips64vr4300-* | mips64vr4300el-* \
396 | mips64vr5000-* | mips64vr5000el-* \ 407 | mips64vr5000-* | mips64vr5000el-* \
397 | mips64vr5900-* | mips64vr5900el-* \ 408 | mips64vr5900-* | mips64vr5900el-* \
398 | mipsisa32-* | mipsisa32el-* \ 409 | mipsisa32-* | mipsisa32el-* \
399 | mipsisa32r2-* | mipsisa32r2el-* \ 410 | mipsisa32r2-* | mipsisa32r2el-* \
411 | mipsisa32r6-* | mipsisa32r6el-* \
400 | mipsisa64-* | mipsisa64el-* \ 412 | mipsisa64-* | mipsisa64el-* \
401 | mipsisa64r2-* | mipsisa64r2el-* \ 413 | mipsisa64r2-* | mipsisa64r2el-* \
414 | mipsisa64r6-* | mipsisa64r6el-* \
402 | mipsisa64sb1-* | mipsisa64sb1el-* \ 415 | mipsisa64sb1-* | mipsisa64sb1el-* \
403 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 416 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
417 | mipsr5900-* | mipsr5900el-* \
404 | mipstx39-* | mipstx39el-* \ 418 | mipstx39-* | mipstx39el-* \
405 | mmix-* \ 419 | mmix-* \
406 | mt-* \ 420 | mt-* \
407 | msp430-* \ 421 | msp430-* \
408 | nds32-* | nds32le-* | nds32be-* \ 422 | nds32-* | nds32le-* | nds32be-* \
409 » | nios-* | nios2-* \ 423 » | nios-* | nios2-* | nios2eb-* | nios2el-* \
410 | none-* | np1-* | ns16k-* | ns32k-* \ 424 | none-* | np1-* | ns16k-* | ns32k-* \
411 | open8-* \ 425 | open8-* \
426 | or1k*-* \
412 | orion-* \ 427 | orion-* \
413 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 428 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
414 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ 429 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
415 | pyramid-* \ 430 | pyramid-* \
416 | rl78-* | romp-* | rs6000-* | rx-* \ 431 | rl78-* | romp-* | rs6000-* | rx-* \
417 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 432 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
418 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 433 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
419 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet- * \ 434 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet- * \
420 | sparclite-* \ 435 | sparclite-* \
421 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ 436 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
422 | tahoe-* \ 437 | tahoe-* \
423 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ 438 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
424 | tile*-* \ 439 | tile*-* \
425 | tron-* \ 440 | tron-* \
426 | ubicom32-* \ 441 | ubicom32-* \
427 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ 442 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
428 | vax-* \ 443 | vax-* \
444 | visium-* \
429 | we32k-* \ 445 | we32k-* \
430 | x86-* | x86_64-* | xc16x-* | xps100-* \ 446 | x86-* | x86_64-* | xc16x-* | xps100-* \
431 | xstormy16-* | xtensa*-* \ 447 | xstormy16-* | xtensa*-* \
432 | ymp-* \ 448 | ymp-* \
433 | z8k-* | z80-*) 449 | z8k-* | z80-*)
434 ;; 450 ;;
435 # Recognize the basic CPU types without company name, with glob match. 451 # Recognize the basic CPU types without company name, with glob match.
436 xtensa*) 452 xtensa*)
437 basic_machine=$basic_machine-unknown 453 basic_machine=$basic_machine-unknown
438 ;; 454 ;;
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 ;; 772 ;;
757 *) 773 *)
758 os=-irix4 774 os=-irix4
759 ;; 775 ;;
760 esac 776 esac
761 ;; 777 ;;
762 isi68 | isi) 778 isi68 | isi)
763 basic_machine=m68k-isi 779 basic_machine=m68k-isi
764 os=-sysv 780 os=-sysv
765 ;; 781 ;;
782 leon-*|leon[3-9]-*)
783 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
784 ;;
766 m68knommu) 785 m68knommu)
767 basic_machine=m68k-unknown 786 basic_machine=m68k-unknown
768 os=-linux 787 os=-linux
769 ;; 788 ;;
770 m68knommu-*) 789 m68knommu-*)
771 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` 790 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
772 os=-linux 791 os=-linux
773 ;; 792 ;;
774 m88k-omron*) 793 m88k-omron*)
775 basic_machine=m88k-omron 794 basic_machine=m88k-omron
776 ;; 795 ;;
777 magnum | m3230) 796 magnum | m3230)
778 basic_machine=mips-mips 797 basic_machine=mips-mips
779 os=-sysv 798 os=-sysv
780 ;; 799 ;;
781 merlin) 800 merlin)
782 basic_machine=ns32k-utek 801 basic_machine=ns32k-utek
783 os=-sysv 802 os=-sysv
784 ;; 803 ;;
785 » microblaze) 804 » microblaze*)
786 basic_machine=microblaze-xilinx 805 basic_machine=microblaze-xilinx
787 ;; 806 ;;
807 mingw64)
808 basic_machine=x86_64-pc
809 os=-mingw64
810 ;;
788 mingw32) 811 mingw32)
789 » » basic_machine=i386-pc 812 » » basic_machine=i686-pc
790 os=-mingw32 813 os=-mingw32
791 ;; 814 ;;
792 mingw32ce) 815 mingw32ce)
793 basic_machine=arm-unknown 816 basic_machine=arm-unknown
794 os=-mingw32ce 817 os=-mingw32ce
795 ;; 818 ;;
796 miniframe) 819 miniframe)
797 basic_machine=m68000-convergent 820 basic_machine=m68000-convergent
798 ;; 821 ;;
799 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) 822 *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*)
800 basic_machine=m68k-atari 823 basic_machine=m68k-atari
801 os=-mint 824 os=-mint
802 ;; 825 ;;
803 mips3*-*) 826 mips3*-*)
804 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` 827 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
805 ;; 828 ;;
806 mips3*) 829 mips3*)
807 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-u nknown 830 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-u nknown
808 ;; 831 ;;
809 monitor) 832 monitor)
810 basic_machine=m68k-rom68k 833 basic_machine=m68k-rom68k
811 os=-coff 834 os=-coff
812 ;; 835 ;;
813 morphos) 836 morphos)
814 basic_machine=powerpc-unknown 837 basic_machine=powerpc-unknown
815 os=-morphos 838 os=-morphos
816 ;; 839 ;;
840 moxiebox)
841 basic_machine=moxie-unknown
842 os=-moxiebox
843 ;;
817 msdos) 844 msdos)
818 basic_machine=i386-pc 845 basic_machine=i386-pc
819 os=-msdos 846 os=-msdos
820 ;; 847 ;;
821 ms1-*) 848 ms1-*)
822 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 849 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
823 ;; 850 ;;
824 msys) 851 msys)
825 » » basic_machine=i386-pc 852 » » basic_machine=i686-pc
826 os=-msys 853 os=-msys
827 ;; 854 ;;
828 mvs) 855 mvs)
829 basic_machine=i370-ibm 856 basic_machine=i370-ibm
830 os=-mvs 857 os=-mvs
831 ;; 858 ;;
832 nacl) 859 nacl)
833 basic_machine=le32-unknown 860 basic_machine=le32-unknown
834 os=-nacl 861 os=-nacl
835 ;; 862 ;;
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 1018 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
992 ;; 1019 ;;
993 ppcle | powerpclittle | ppc-le | powerpc-little) 1020 ppcle | powerpclittle | ppc-le | powerpc-little)
994 basic_machine=powerpcle-unknown 1021 basic_machine=powerpcle-unknown
995 ;; 1022 ;;
996 ppcle-* | powerpclittle-*) 1023 ppcle-* | powerpclittle-*)
997 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//' ` 1024 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//' `
998 ;; 1025 ;;
999 ppc64) basic_machine=powerpc64-unknown 1026 ppc64) basic_machine=powerpc64-unknown
1000 ;; 1027 ;;
1001 » ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-// '` 1028 » ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
1002 ;; 1029 ;;
1003 ppc64le | powerpc64little | ppc64-le | powerpc64-little) 1030 ppc64le | powerpc64little | ppc64-le | powerpc64-little)
1004 basic_machine=powerpc64le-unknown 1031 basic_machine=powerpc64le-unknown
1005 ;; 1032 ;;
1006 ppc64le-* | powerpc64little-*) 1033 ppc64le-* | powerpc64little-*)
1007 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-/ /'` 1034 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-/ /'`
1008 ;; 1035 ;;
1009 ps2) 1036 ps2)
1010 basic_machine=i386-ibm 1037 basic_machine=i386-ibm
1011 ;; 1038 ;;
1012 pw32) 1039 pw32)
1013 basic_machine=i586-unknown 1040 basic_machine=i586-unknown
1014 os=-pw32 1041 os=-pw32
1015 ;; 1042 ;;
1016 » rdos) 1043 » rdos | rdos64)
1044 » » basic_machine=x86_64-pc
1045 » » os=-rdos
1046 » » ;;
1047 » rdos32)
1017 basic_machine=i386-pc 1048 basic_machine=i386-pc
1018 os=-rdos 1049 os=-rdos
1019 ;; 1050 ;;
1020 rom68k) 1051 rom68k)
1021 basic_machine=m68k-rom68k 1052 basic_machine=m68k-rom68k
1022 os=-coff 1053 os=-coff
1023 ;; 1054 ;;
1024 rm[46]00) 1055 rm[46]00)
1025 basic_machine=mips-siemens 1056 basic_machine=mips-siemens
1026 ;; 1057 ;;
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1333 -gnu/linux*) 1364 -gnu/linux*)
1334 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` 1365 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1335 ;; 1366 ;;
1336 # First accept the basic system types. 1367 # First accept the basic system types.
1337 # The portable systems comes first. 1368 # The portable systems comes first.
1338 # Each alternative MUST END IN A *, to match a version number. 1369 # Each alternative MUST END IN A *, to match a version number.
1339 # -sysv* is not here because it comes later, after sysvr4. 1370 # -sysv* is not here because it comes later, after sysvr4.
1340 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1371 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1341 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -suno s[34]*\ 1372 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -suno s[34]*\
1342 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solari s* \ 1373 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solari s* \
1343 » | -sym* | -kopensolaris* \ 1374 » | -sym* | -kopensolaris* | -plan9* \
1344 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1375 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1345 | -aos* | -aros* \ 1376 | -aos* | -aros* \
1346 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1377 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1347 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1378 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1348 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1379 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1349 » | -openbsd* | -solidbsd* \ 1380 » | -bitrig* | -openbsd* | -solidbsd* \
1350 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1381 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1351 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1382 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1352 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1383 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1353 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1384 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1354 | -chorusos* | -chorusrdb* | -cegcc* \ 1385 | -chorusos* | -chorusrdb* | -cegcc* \
1355 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1386 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1356 » | -mingw32* | -linux-gnu* | -linux-android* \ 1387 » | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
1357 » | -linux-newlib* | -linux-uclibc* \ 1388 » | -linux-newlib* | -linux-musl* | -linux-uclibc* \
1358 » | -uxpv* | -beos* | -mpeix* | -udk* \ 1389 » | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
1359 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1390 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1360 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1391 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1361 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1392 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1362 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1393 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1363 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1394 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1364 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1395 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1365 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) 1396 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirto s*)
1366 # Remember, each alternative MUST END IN *, to match a version number. 1397 # Remember, each alternative MUST END IN *, to match a version number.
1367 ;; 1398 ;;
1368 -qnx*) 1399 -qnx*)
1369 case $basic_machine in 1400 case $basic_machine in
1370 x86-* | i*86-*) 1401 x86-* | i*86-*)
1371 ;; 1402 ;;
1372 *) 1403 *)
1373 os=-nto$os 1404 os=-nto$os
1374 ;; 1405 ;;
1375 esac 1406 esac
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1479 ;; 1510 ;;
1480 -xenix) 1511 -xenix)
1481 os=-xenix 1512 os=-xenix
1482 ;; 1513 ;;
1483 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1514 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
1484 os=-mint 1515 os=-mint
1485 ;; 1516 ;;
1486 -aros*) 1517 -aros*)
1487 os=-aros 1518 os=-aros
1488 ;; 1519 ;;
1489 -kaos*)
1490 os=-kaos
1491 ;;
1492 -zvmoe) 1520 -zvmoe)
1493 os=-zvmoe 1521 os=-zvmoe
1494 ;; 1522 ;;
1495 -dicos*) 1523 -dicos*)
1496 os=-dicos 1524 os=-dicos
1497 ;; 1525 ;;
1498 -nacl*) 1526 -nacl*)
1499 ;; 1527 ;;
1500 -none) 1528 -none)
1501 ;; 1529 ;;
(...skipping 28 matching lines...) Expand all
1530 ;; 1558 ;;
1531 arm*-rebel) 1559 arm*-rebel)
1532 os=-linux 1560 os=-linux
1533 ;; 1561 ;;
1534 arm*-semi) 1562 arm*-semi)
1535 os=-aout 1563 os=-aout
1536 ;; 1564 ;;
1537 c4x-* | tic4x-*) 1565 c4x-* | tic4x-*)
1538 os=-coff 1566 os=-coff
1539 ;; 1567 ;;
1568 c8051-*)
1569 os=-elf
1570 ;;
1571 hexagon-*)
1572 os=-elf
1573 ;;
1540 tic54x-*) 1574 tic54x-*)
1541 os=-coff 1575 os=-coff
1542 ;; 1576 ;;
1543 tic55x-*) 1577 tic55x-*)
1544 os=-coff 1578 os=-coff
1545 ;; 1579 ;;
1546 tic6x-*) 1580 tic6x-*)
1547 os=-coff 1581 os=-coff
1548 ;; 1582 ;;
1549 # This must come before the *-dec entry. 1583 # This must come before the *-dec entry.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
1764 1798
1765 echo $basic_machine$os 1799 echo $basic_machine$os
1766 exit 1800 exit
1767 1801
1768 # Local variables: 1802 # Local variables:
1769 # eval: (add-hook 'write-file-hooks 'time-stamp) 1803 # eval: (add-hook 'write-file-hooks 'time-stamp)
1770 # time-stamp-start: "timestamp='" 1804 # time-stamp-start: "timestamp='"
1771 # time-stamp-format: "%:y-%02m-%02d" 1805 # time-stamp-format: "%:y-%02m-%02d"
1772 # time-stamp-end: "'" 1806 # time-stamp-end: "'"
1773 # End: 1807 # End:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698