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

Side by Side Diff: autoconf/config.sub

Issue 7676009: Update to latest versions of config.guess and config.sub from GNU (Closed) Base URL: http://llvm.org/svn/llvm-project/llvm/trunk/
Patch Set: Reapply r132627 Created 9 years, 4 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
« no previous file with comments | « autoconf/config.guess ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2007, 2008, 2009 4 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
5 # Free Software Foundation, Inc. 5 # 2011 Free Software Foundation, Inc.
6 6
7 timestamp='2009-08-19' 7 timestamp='2011-08-15'
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 #
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 Operation modes: 68 Operation modes:
69 -h, --help print this help, then exit 69 -h, --help print this help, then exit
70 -t, --time-stamp print date of last modification, then exit 70 -t, --time-stamp print date of last modification, then exit
71 -v, --version print version number, then exit 71 -v, --version print version number, then exit
72 72
73 Report bugs and patches to <config-patches@gnu.org>." 73 Report bugs and patches to <config-patches@gnu.org>."
74 74
75 version="\ 75 version="\
76 GNU config.sub ($timestamp) 76 GNU config.sub ($timestamp)
77 77
78 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 78 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
79 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. 79 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
80 Software Foundation, Inc.
80 81
81 This is free software; see the source for copying conditions. There is NO 82 This is free software; see the source for copying conditions. There is NO
82 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 83 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
83 84
84 help=" 85 help="
85 Try \`$me --help' for more information." 86 Try \`$me --help' for more information."
86 87
87 # Parse command line 88 # Parse command line
88 while test $# -gt 0 ; do 89 while test $# -gt 0 ; do
89 case $1 in 90 case $1 in
(...skipping 26 matching lines...) Expand all
116 exit 1;; 117 exit 1;;
117 1) ;; 118 1) ;;
118 *) echo "$me: too many arguments$help" >&2 119 *) echo "$me: too many arguments$help" >&2
119 exit 1;; 120 exit 1;;
120 esac 121 esac
121 122
122 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). 123 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
123 # Here we must recognize all the valid KERNEL-OS combinations. 124 # Here we must recognize all the valid KERNEL-OS combinations.
124 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 125 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
125 case $maybe_os in 126 case $maybe_os in
126 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \ 127 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
127 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \ 128 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
129 knetbsd*-gnu* | netbsd*-gnu* | \
128 kopensolaris*-gnu* | \ 130 kopensolaris*-gnu* | \
129 storm-chaos* | os2-emx* | rtmk-nova*) 131 storm-chaos* | os2-emx* | rtmk-nova*)
130 os=-$maybe_os 132 os=-$maybe_os
131 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` 133 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
132 ;; 134 ;;
133 *) 135 *)
134 basic_machine=`echo $1 | sed 's/-[^-]*$//'` 136 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
135 if [ $basic_machine != $1 ] 137 if [ $basic_machine != $1 ]
136 then os=`echo $1 | sed 's/.*-/-/'` 138 then os=`echo $1 | sed 's/.*-/-/'`
137 else os=; fi 139 else os=; fi
(...skipping 11 matching lines...) Expand all
149 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ 151 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
150 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ 152 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
151 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ 153 -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \
152 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ 154 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
153 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 155 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
154 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 156 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
155 -apple | -axis | -knuth | -cray | -microblaze) 157 -apple | -axis | -knuth | -cray | -microblaze)
156 os= 158 os=
157 basic_machine=$1 159 basic_machine=$1
158 ;; 160 ;;
159 -bluegene*) 161 » -bluegene*)
160 » os=-cnk 162 » » os=-cnk
161 ;; 163 ;;
162 -sim | -cisco | -oki | -wec | -winbond) 164 -sim | -cisco | -oki | -wec | -winbond)
163 os= 165 os=
164 basic_machine=$1 166 basic_machine=$1
165 ;; 167 ;;
166 -scout) 168 -scout)
167 ;; 169 ;;
168 -wrs) 170 -wrs)
169 os=-vxworks 171 os=-vxworks
170 basic_machine=$1 172 basic_machine=$1
171 ;; 173 ;;
172 -chorusos*) 174 -chorusos*)
173 os=-chorusos 175 os=-chorusos
174 basic_machine=$1 176 basic_machine=$1
175 ;; 177 ;;
176 » -chorusrdb) 178 » -chorusrdb)
177 » » os=-chorusrdb 179 » » os=-chorusrdb
178 basic_machine=$1 180 basic_machine=$1
179 » » ;; 181 » » ;;
180 -hiux*) 182 -hiux*)
181 os=-hiuxwe2 183 os=-hiuxwe2
182 ;; 184 ;;
183 -sco6) 185 -sco6)
184 os=-sco5v6 186 os=-sco5v6
185 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 187 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
186 ;; 188 ;;
187 -sco5) 189 -sco5)
188 os=-sco3.2v5 190 os=-sco3.2v5
189 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` 191 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 basic_machine=m68k-atari 239 basic_machine=m68k-atari
238 os=-mint 240 os=-mint
239 ;; 241 ;;
240 esac 242 esac
241 243
242 # Decode aliases for certain CPU-COMPANY combinations. 244 # Decode aliases for certain CPU-COMPANY combinations.
243 case $basic_machine in 245 case $basic_machine in
244 # Recognize the basic CPU types without company name. 246 # Recognize the basic CPU types without company name.
245 # Some are omitted here because they have special meanings below. 247 # Some are omitted here because they have special meanings below.
246 1750a | 580 \ 248 1750a | 580 \
249 | 32e[bl] | 64e[bl] \
247 | a29k \ 250 | a29k \
248 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 251 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
249 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \ 252 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[ 67] \
250 | am33_2.0 \ 253 | am33_2.0 \
251 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \ 254 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | a vr32 \
252 | bfin \ 255 | bfin \
253 | c4x | clipper \ 256 | c4x | clipper \
254 | d10v | d30v | dlx | dsp16xx \ 257 | d10v | d30v | dlx | dsp16xx \
255 | fido | fr30 | frv \ 258 | fido | fr30 | frv \
256 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ 259 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
(...skipping 17 matching lines...) Expand all
274 | mipsisa32r2 | mipsisa32r2el \ 277 | mipsisa32r2 | mipsisa32r2el \
275 | mipsisa64 | mipsisa64el \ 278 | mipsisa64 | mipsisa64el \
276 | mipsisa64r2 | mipsisa64r2el \ 279 | mipsisa64r2 | mipsisa64r2el \
277 | mipsisa64sb1 | mipsisa64sb1el \ 280 | mipsisa64sb1 | mipsisa64sb1el \
278 | mipsisa64sr71k | mipsisa64sr71kel \ 281 | mipsisa64sr71k | mipsisa64sr71kel \
279 | mipstx39 | mipstx39el \ 282 | mipstx39 | mipstx39el \
280 | mn10200 | mn10300 \ 283 | mn10200 | mn10300 \
281 | moxie \ 284 | moxie \
282 | mt \ 285 | mt \
283 | msp430 \ 286 | msp430 \
287 | nds32 | nds32le | nds32be \
284 | nios | nios2 \ 288 | nios | nios2 \
285 | ns16k | ns32k \ 289 | ns16k | ns32k \
290 | open8 \
286 | or32 \ 291 | or32 \
287 | pdp10 | pdp11 | pj | pjl \ 292 | pdp10 | pdp11 | pj | pjl \
288 » | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ 293 » | powerpc | powerpc64 | powerpc64le | powerpcle \
289 | pyramid \ 294 | pyramid \
295 | rx \
290 | score \ 296 | score \
291 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ 297 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
292 | sh64 | sh64le \ 298 | sh64 | sh64le \
293 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit e \ 299 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit e \
294 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ 300 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
295 » | spu | strongarm \ 301 » | spu \
296 » | tahoe | thumb | tic4x | tic80 | tron \ 302 » | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
297 » | v850 | v850e \ 303 » | ubicom32 \
304 » | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
298 | we32k \ 305 | we32k \
299 » | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ 306 » | x86 | xc16x | xstormy16 | xtensa \
300 | z8k | z80) 307 | z8k | z80)
301 basic_machine=$basic_machine-unknown 308 basic_machine=$basic_machine-unknown
302 ;; 309 ;;
303 » m6811 | m68hc11 | m6812 | m68hc12) 310 » c54x)
311 » » basic_machine=tic54x-unknown
312 » » ;;
313 » c55x)
314 » » basic_machine=tic55x-unknown
315 » » ;;
316 » c6x)
317 » » basic_machine=tic6x-unknown
318 » » ;;
319 » m6811 | m68hc11 | m6812 | m68hc12 | picochip)
304 # Motorola 68HC11/12. 320 # Motorola 68HC11/12.
305 basic_machine=$basic_machine-unknown 321 basic_machine=$basic_machine-unknown
306 os=-none 322 os=-none
307 ;; 323 ;;
308 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) 324 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
309 ;; 325 ;;
310 ms1) 326 ms1)
311 basic_machine=mt-unknown 327 basic_machine=mt-unknown
312 ;; 328 ;;
313 329
330 strongarm | thumb | xscale)
331 basic_machine=arm-unknown
332 ;;
333
334 xscaleeb)
335 basic_machine=armeb-unknown
336 ;;
337
338 xscaleel)
339 basic_machine=armel-unknown
340 ;;
341
314 # We use `pc' rather than `unknown' 342 # We use `pc' rather than `unknown'
315 # because (1) that's what they normally are, and 343 # because (1) that's what they normally are, and
316 # (2) the word "unknown" tends to confuse beginning users. 344 # (2) the word "unknown" tends to confuse beginning users.
317 i*86 | x86_64) 345 i*86 | x86_64)
318 basic_machine=$basic_machine-pc 346 basic_machine=$basic_machine-pc
319 ;; 347 ;;
320 # Object if more than one company name word. 348 # Object if more than one company name word.
321 *-*-*) 349 *-*-*)
322 echo Invalid configuration \`$1\': machine \`$basic_machine\' no t recognized 1>&2 350 echo Invalid configuration \`$1\': machine \`$basic_machine\' no t recognized 1>&2
323 exit 1 351 exit 1
324 ;; 352 ;;
325 # Recognize the basic CPU types with company name. 353 # Recognize the basic CPU types with company name.
326 580-* \ 354 580-* \
355 | 32e[bl]-* | 64e[bl]-* \
327 | a29k-* \ 356 | a29k-* \
328 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 357 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
329 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 358 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
330 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 359 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
331 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 360 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
332 | avr-* | avr32-* \ 361 | avr-* | avr32-* \
333 | bfin-* | bs2000-* \ 362 | bfin-* | bs2000-* \
334 » | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 363 » | c[123]* | c30-* | [cjt]90-* | c4x-* \
335 | clipper-* | craynv-* | cydra-* \ 364 | clipper-* | craynv-* | cydra-* \
336 | d10v-* | d30v-* | dlx-* \ 365 | d10v-* | d30v-* | dlx-* \
337 | elxsi-* \ 366 | elxsi-* \
338 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ 367 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
339 | h8300-* | h8500-* \ 368 | h8300-* | h8500-* \
340 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ 369 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
341 | i*86-* | i860-* | i960-* | ia64-* \ 370 | i*86-* | i860-* | i960-* | ia64-* \
342 | ip2k-* | iq2000-* \ 371 | ip2k-* | iq2000-* \
343 | lm32-* \ 372 | lm32-* \
344 | m32c-* | m32r-* | m32rle-* \ 373 | m32c-* | m32r-* | m32rle-* \
(...skipping 13 matching lines...) Expand all
358 | mipsisa32-* | mipsisa32el-* \ 387 | mipsisa32-* | mipsisa32el-* \
359 | mipsisa32r2-* | mipsisa32r2el-* \ 388 | mipsisa32r2-* | mipsisa32r2el-* \
360 | mipsisa64-* | mipsisa64el-* \ 389 | mipsisa64-* | mipsisa64el-* \
361 | mipsisa64r2-* | mipsisa64r2el-* \ 390 | mipsisa64r2-* | mipsisa64r2el-* \
362 | mipsisa64sb1-* | mipsisa64sb1el-* \ 391 | mipsisa64sb1-* | mipsisa64sb1el-* \
363 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 392 | mipsisa64sr71k-* | mipsisa64sr71kel-* \
364 | mipstx39-* | mipstx39el-* \ 393 | mipstx39-* | mipstx39el-* \
365 | mmix-* \ 394 | mmix-* \
366 | mt-* \ 395 | mt-* \
367 | msp430-* \ 396 | msp430-* \
397 | nds32-* | nds32le-* | nds32be-* \
368 | nios-* | nios2-* \ 398 | nios-* | nios2-* \
369 | none-* | np1-* | ns16k-* | ns32k-* \ 399 | none-* | np1-* | ns16k-* | ns32k-* \
400 | open8-* \
370 | orion-* \ 401 | orion-* \
371 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ 402 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
372 » | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ 403 » | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
373 | pyramid-* \ 404 | pyramid-* \
374 » | romp-* | rs6000-* \ 405 » | romp-* | rs6000-* | rx-* \
375 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ 406 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
376 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 407 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
377 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet- * \ 408 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet- * \
378 | sparclite-* \ 409 | sparclite-* \
379 » | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ 410 » | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
380 » | tahoe-* | thumb-* \ 411 » | tahoe-* \
381 » | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ 412 » | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
413 » | tile*-* \
382 | tron-* \ 414 | tron-* \
383 » | v850-* | v850e-* | vax-* \ 415 » | ubicom32-* \
416 » | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
417 » | vax-* \
384 | we32k-* \ 418 | we32k-* \
385 » | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ 419 » | x86-* | x86_64-* | xc16x-* | xps100-* \
386 | xstormy16-* | xtensa*-* \ 420 | xstormy16-* | xtensa*-* \
387 | ymp-* \ 421 | ymp-* \
388 | z8k-* | z80-*) 422 | z8k-* | z80-*)
389 ;; 423 ;;
390 # Recognize the basic CPU types without company name, with glob match. 424 # Recognize the basic CPU types without company name, with glob match.
391 xtensa*) 425 xtensa*)
392 basic_machine=$basic_machine-unknown 426 basic_machine=$basic_machine-unknown
393 ;; 427 ;;
394 # Recognize the various machine names and aliases which stand 428 # Recognize the various machine names and aliases which stand
395 # for a CPU type and a company and sometimes even an OS. 429 # for a CPU type and a company and sometimes even an OS.
396 386bsd) 430 386bsd)
397 basic_machine=i386-unknown 431 basic_machine=i386-unknown
398 os=-bsd 432 os=-bsd
399 ;; 433 ;;
400 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) 434 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
401 basic_machine=m68000-att 435 basic_machine=m68000-att
402 ;; 436 ;;
403 3b*) 437 3b*)
404 basic_machine=we32k-att 438 basic_machine=we32k-att
405 ;; 439 ;;
406 a29khif) 440 a29khif)
407 basic_machine=a29k-amd 441 basic_machine=a29k-amd
408 os=-udi 442 os=-udi
409 ;; 443 ;;
410 » abacus) 444 » abacus)
411 basic_machine=abacus-unknown 445 basic_machine=abacus-unknown
412 ;; 446 ;;
413 adobe68k) 447 adobe68k)
414 basic_machine=m68010-adobe 448 basic_machine=m68010-adobe
415 os=-scout 449 os=-scout
416 ;; 450 ;;
417 alliant | fx80) 451 alliant | fx80)
418 basic_machine=fx80-alliant 452 basic_machine=fx80-alliant
419 ;; 453 ;;
420 altos | altos3068) 454 altos | altos3068)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
470 os=-linux 504 os=-linux
471 ;; 505 ;;
472 blackfin-*) 506 blackfin-*)
473 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` 507 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
474 os=-linux 508 os=-linux
475 ;; 509 ;;
476 bluegene*) 510 bluegene*)
477 basic_machine=powerpc-ibm 511 basic_machine=powerpc-ibm
478 os=-cnk 512 os=-cnk
479 ;; 513 ;;
514 c54x-*)
515 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
516 ;;
517 c55x-*)
518 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
519 ;;
520 c6x-*)
521 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
522 ;;
480 c90) 523 c90)
481 basic_machine=c90-cray 524 basic_machine=c90-cray
482 os=-unicos 525 os=-unicos
483 ;; 526 ;;
484 cegcc) 527 » cegcc)
485 basic_machine=arm-unknown 528 basic_machine=arm-unknown
486 os=-cegcc 529 os=-cegcc
487 ;; 530 ;;
488 convex-c1) 531 convex-c1)
489 basic_machine=c1-convex 532 basic_machine=c1-convex
490 os=-bsd 533 os=-bsd
491 ;; 534 ;;
492 convex-c2) 535 convex-c2)
493 basic_machine=c2-convex 536 basic_machine=c2-convex
494 os=-bsd 537 os=-bsd
(...skipping 11 matching lines...) Expand all
506 os=-bsd 549 os=-bsd
507 ;; 550 ;;
508 cray | j90) 551 cray | j90)
509 basic_machine=j90-cray 552 basic_machine=j90-cray
510 os=-unicos 553 os=-unicos
511 ;; 554 ;;
512 craynv) 555 craynv)
513 basic_machine=craynv-cray 556 basic_machine=craynv-cray
514 os=-unicosmp 557 os=-unicosmp
515 ;; 558 ;;
516 » cr16) 559 » cr16 | cr16-*)
517 basic_machine=cr16-unknown 560 basic_machine=cr16-unknown
518 os=-elf 561 os=-elf
519 ;; 562 ;;
520 crds | unos) 563 crds | unos)
521 basic_machine=m68k-crds 564 basic_machine=m68k-crds
522 ;; 565 ;;
523 crisv32 | crisv32-* | etraxfs*) 566 crisv32 | crisv32-* | etraxfs*)
524 basic_machine=crisv32-axis 567 basic_machine=crisv32-axis
525 ;; 568 ;;
526 cris | cris-* | etrax*) 569 cris | cris-* | etrax*)
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
722 basic_machine=m88k-omron 765 basic_machine=m88k-omron
723 ;; 766 ;;
724 magnum | m3230) 767 magnum | m3230)
725 basic_machine=mips-mips 768 basic_machine=mips-mips
726 os=-sysv 769 os=-sysv
727 ;; 770 ;;
728 merlin) 771 merlin)
729 basic_machine=ns32k-utek 772 basic_machine=ns32k-utek
730 os=-sysv 773 os=-sysv
731 ;; 774 ;;
732 microblaze) 775 » microblaze)
733 basic_machine=microblaze-xilinx 776 basic_machine=microblaze-xilinx
734 ;; 777 ;;
735 mingw32) 778 mingw32)
736 basic_machine=i386-pc 779 basic_machine=i386-pc
737 os=-mingw32 780 os=-mingw32
738 ;; 781 ;;
739 mingw32ce) 782 mingw32ce)
740 basic_machine=arm-unknown 783 basic_machine=arm-unknown
741 os=-mingw32ce 784 os=-mingw32ce
742 ;; 785 ;;
(...skipping 22 matching lines...) Expand all
765 basic_machine=i386-pc 808 basic_machine=i386-pc
766 os=-msdos 809 os=-msdos
767 ;; 810 ;;
768 ms1-*) 811 ms1-*)
769 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` 812 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
770 ;; 813 ;;
771 mvs) 814 mvs)
772 basic_machine=i370-ibm 815 basic_machine=i370-ibm
773 os=-mvs 816 os=-mvs
774 ;; 817 ;;
818 nacl)
819 basic_machine=32el-unknown
820 os=-nacl
821 ;;
775 ncr3000) 822 ncr3000)
776 basic_machine=i486-ncr 823 basic_machine=i486-ncr
777 os=-sysv4 824 os=-sysv4
778 ;; 825 ;;
779 netbsd386) 826 netbsd386)
780 basic_machine=i386-unknown 827 basic_machine=i386-unknown
781 os=-netbsd 828 os=-netbsd
782 ;; 829 ;;
783 netwinder) 830 netwinder)
784 basic_machine=armv4l-rebel 831 basic_machine=armv4l-rebel
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
829 basic_machine=i960-intel 876 basic_machine=i960-intel
830 os=-mon960 877 os=-mon960
831 ;; 878 ;;
832 nonstopux) 879 nonstopux)
833 basic_machine=mips-compaq 880 basic_machine=mips-compaq
834 os=-nonstopux 881 os=-nonstopux
835 ;; 882 ;;
836 np1) 883 np1)
837 basic_machine=np1-gould 884 basic_machine=np1-gould
838 ;; 885 ;;
886 neo-tandem)
887 basic_machine=neo-tandem
888 ;;
889 nse-tandem)
890 basic_machine=nse-tandem
891 ;;
839 nsr-tandem) 892 nsr-tandem)
840 basic_machine=nsr-tandem 893 basic_machine=nsr-tandem
841 ;; 894 ;;
842 op50n-* | op60c-*) 895 op50n-* | op60c-*)
843 basic_machine=hppa1.1-oki 896 basic_machine=hppa1.1-oki
844 os=-proelf 897 os=-proelf
845 ;; 898 ;;
846 openrisc | openrisc-*) 899 openrisc | openrisc-*)
847 basic_machine=or32-unknown 900 basic_machine=or32-unknown
848 ;; 901 ;;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 964 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
912 ;; 965 ;;
913 pentium4-*) 966 pentium4-*)
914 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` 967 basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
915 ;; 968 ;;
916 pn) 969 pn)
917 basic_machine=pn-gould 970 basic_machine=pn-gould
918 ;; 971 ;;
919 power) basic_machine=power-ibm 972 power) basic_machine=power-ibm
920 ;; 973 ;;
921 » ppc)» basic_machine=powerpc-unknown 974 » ppc | ppcbe)» basic_machine=powerpc-unknown
922 ;; 975 ;;
923 » ppc-*)» basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` 976 » ppc-* | ppcbe-*)
977 » » basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
924 ;; 978 ;;
925 ppcle | powerpclittle | ppc-le | powerpc-little) 979 ppcle | powerpclittle | ppc-le | powerpc-little)
926 basic_machine=powerpcle-unknown 980 basic_machine=powerpcle-unknown
927 ;; 981 ;;
928 ppcle-* | powerpclittle-*) 982 ppcle-* | powerpclittle-*)
929 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//' ` 983 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//' `
930 ;; 984 ;;
931 ppc64) basic_machine=powerpc64-unknown 985 ppc64) basic_machine=powerpc64-unknown
932 ;; 986 ;;
933 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-// '` 987 ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-// '`
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 spur) 1061 spur)
1008 basic_machine=spur-unknown 1062 basic_machine=spur-unknown
1009 ;; 1063 ;;
1010 st2000) 1064 st2000)
1011 basic_machine=m68k-tandem 1065 basic_machine=m68k-tandem
1012 ;; 1066 ;;
1013 stratus) 1067 stratus)
1014 basic_machine=i860-stratus 1068 basic_machine=i860-stratus
1015 os=-sysv4 1069 os=-sysv4
1016 ;; 1070 ;;
1071 strongarm-* | thumb-*)
1072 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1073 ;;
1017 sun2) 1074 sun2)
1018 basic_machine=m68000-sun 1075 basic_machine=m68000-sun
1019 ;; 1076 ;;
1020 sun2os3) 1077 sun2os3)
1021 basic_machine=m68000-sun 1078 basic_machine=m68000-sun
1022 os=-sunos3 1079 os=-sunos3
1023 ;; 1080 ;;
1024 sun2os4) 1081 sun2os4)
1025 basic_machine=m68000-sun 1082 basic_machine=m68000-sun
1026 os=-sunos4 1083 os=-sunos4
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 os=-dynix 1120 os=-dynix
1064 ;; 1121 ;;
1065 t3e) 1122 t3e)
1066 basic_machine=alphaev5-cray 1123 basic_machine=alphaev5-cray
1067 os=-unicos 1124 os=-unicos
1068 ;; 1125 ;;
1069 t90) 1126 t90)
1070 basic_machine=t90-cray 1127 basic_machine=t90-cray
1071 os=-unicos 1128 os=-unicos
1072 ;; 1129 ;;
1073 tic54x | c54x*)
1074 basic_machine=tic54x-unknown
1075 os=-coff
1076 ;;
1077 tic55x | c55x*)
1078 basic_machine=tic55x-unknown
1079 os=-coff
1080 ;;
1081 tic6x | c6x*)
1082 basic_machine=tic6x-unknown
1083 os=-coff
1084 ;;
1085 tile*) 1130 tile*)
1086 » » basic_machine=tile-unknown 1131 » » basic_machine=$basic_machine-unknown
1087 os=-linux-gnu 1132 os=-linux-gnu
1088 ;; 1133 ;;
1089 tx39) 1134 tx39)
1090 basic_machine=mipstx39-unknown 1135 basic_machine=mipstx39-unknown
1091 ;; 1136 ;;
1092 tx39el) 1137 tx39el)
1093 basic_machine=mipstx39el-unknown 1138 basic_machine=mipstx39el-unknown
1094 ;; 1139 ;;
1095 toad1) 1140 toad1)
1096 basic_machine=pdp10-xkl 1141 basic_machine=pdp10-xkl
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 basic_machine=hppa1.1-winbond 1191 basic_machine=hppa1.1-winbond
1147 os=-proelf 1192 os=-proelf
1148 ;; 1193 ;;
1149 xbox) 1194 xbox)
1150 basic_machine=i686-pc 1195 basic_machine=i686-pc
1151 os=-mingw32 1196 os=-mingw32
1152 ;; 1197 ;;
1153 xps | xps100) 1198 xps | xps100)
1154 basic_machine=xps100-honeywell 1199 basic_machine=xps100-honeywell
1155 ;; 1200 ;;
1201 xscale-* | xscalee[bl]-*)
1202 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
1203 ;;
1156 ymp) 1204 ymp)
1157 basic_machine=ymp-cray 1205 basic_machine=ymp-cray
1158 os=-unicos 1206 os=-unicos
1159 ;; 1207 ;;
1160 z8k-*-coff) 1208 z8k-*-coff)
1161 basic_machine=z8k-unknown 1209 basic_machine=z8k-unknown
1162 os=-sim 1210 os=-sim
1163 ;; 1211 ;;
1164 z80-*-coff) 1212 z80-*-coff)
1165 basic_machine=z80-unknown 1213 basic_machine=z80-unknown
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 ;; 1291 ;;
1244 *) 1292 *)
1245 ;; 1293 ;;
1246 esac 1294 esac
1247 1295
1248 # Decode manufacturer-specific aliases for certain operating systems. 1296 # Decode manufacturer-specific aliases for certain operating systems.
1249 1297
1250 if [ x"$os" != x"" ] 1298 if [ x"$os" != x"" ]
1251 then 1299 then
1252 case $os in 1300 case $os in
1253 # First match some system type aliases 1301 » # First match some system type aliases
1254 # that might get confused with valid system types. 1302 » # that might get confused with valid system types.
1255 # -solaris* is a basic system type, with this one exception. 1303 # -solaris* is a basic system type, with this one exception.
1304 -auroraux)
1305 os=-auroraux
1306 ;;
1256 -solaris1 | -solaris1.*) 1307 -solaris1 | -solaris1.*)
1257 os=`echo $os | sed -e 's|solaris1|sunos4|'` 1308 os=`echo $os | sed -e 's|solaris1|sunos4|'`
1258 ;; 1309 ;;
1259 -auroraux)
1260 os=-auroraux
1261 ;;
1262 -solaris) 1310 -solaris)
1263 os=-solaris2 1311 os=-solaris2
1264 ;; 1312 ;;
1265 -svr4*) 1313 -svr4*)
1266 os=-sysv4 1314 os=-sysv4
1267 ;; 1315 ;;
1268 -unixware*) 1316 -unixware*)
1269 os=-sysv4.2uw 1317 os=-sysv4.2uw
1270 ;; 1318 ;;
1271 -gnu/linux*) 1319 -gnu/linux*)
1272 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` 1320 os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
1273 ;; 1321 ;;
1274 # First accept the basic system types. 1322 # First accept the basic system types.
1275 # The portable systems comes first. 1323 # The portable systems comes first.
1276 # Each alternative MUST END IN A *, to match a version number. 1324 # Each alternative MUST END IN A *, to match a version number.
1277 # -sysv* is not here because it comes later, after sysvr4. 1325 # -sysv* is not here because it comes later, after sysvr4.
1278 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ 1326 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1279 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -suno s[34]*\ 1327 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -suno s[34]*\
1280 » | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solari s* | -sym* \ 1328 » | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solari s* \
1281 » | -kopensolaris* \ 1329 » | -sym* | -kopensolaris* \
1282 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ 1330 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1283 | -aos* | -aros* \ 1331 | -aos* | -aros* \
1284 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ 1332 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
1285 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ 1333 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1286 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ 1334 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1287 | -openbsd* | -solidbsd* \ 1335 | -openbsd* | -solidbsd* \
1288 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ 1336 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
1289 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ 1337 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
1290 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ 1338 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
1291 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ 1339 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
1292 | -chorusos* | -chorusrdb* | -cegcc* \ 1340 | -chorusos* | -chorusrdb* | -cegcc* \
1293 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ 1341 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1294 » | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ 1342 » | -mingw32* | -linux-gnu* | -linux-android* \
1343 » | -linux-newlib* | -linux-uclibc* \
1295 | -uxpv* | -beos* | -mpeix* | -udk* \ 1344 | -uxpv* | -beos* | -mpeix* | -udk* \
1296 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ 1345 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
1297 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1346 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
1298 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ 1347 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
1299 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1348 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
1300 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1349 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
1301 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ 1350 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1302 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) 1351 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
1303 # Remember, each alternative MUST END IN *, to match a version number. 1352 # Remember, each alternative MUST END IN *, to match a version number.
1304 ;; 1353 ;;
1305 -qnx*) 1354 -qnx*)
1306 case $basic_machine in 1355 case $basic_machine in
1307 x86-* | i*86-*) 1356 x86-* | i*86-*)
1308 ;; 1357 ;;
1309 *) 1358 *)
1310 os=-nto$os 1359 os=-nto$os
1311 ;; 1360 ;;
1312 esac 1361 esac
(...skipping 18 matching lines...) Expand all
1331 ;; 1380 ;;
1332 -sunos5*) 1381 -sunos5*)
1333 os=`echo $os | sed -e 's|sunos5|solaris2|'` 1382 os=`echo $os | sed -e 's|sunos5|solaris2|'`
1334 ;; 1383 ;;
1335 -sunos6*) 1384 -sunos6*)
1336 os=`echo $os | sed -e 's|sunos6|solaris3|'` 1385 os=`echo $os | sed -e 's|sunos6|solaris3|'`
1337 ;; 1386 ;;
1338 -opened*) 1387 -opened*)
1339 os=-openedition 1388 os=-openedition
1340 ;; 1389 ;;
1341 -os400*) 1390 » -os400*)
1342 os=-os400 1391 os=-os400
1343 ;; 1392 ;;
1344 -wince*) 1393 -wince*)
1345 os=-wince 1394 os=-wince
1346 ;; 1395 ;;
1347 -osfrose*) 1396 -osfrose*)
1348 os=-osfrose 1397 os=-osfrose
1349 ;; 1398 ;;
1350 -osf*) 1399 -osf*)
1351 os=-osf 1400 os=-osf
(...skipping 28 matching lines...) Expand all
1380 -nsk*) 1429 -nsk*)
1381 os=-nsk 1430 os=-nsk
1382 ;; 1431 ;;
1383 # Preserve the version number of sinix5. 1432 # Preserve the version number of sinix5.
1384 -sinix5.*) 1433 -sinix5.*)
1385 os=`echo $os | sed -e 's|sinix|sysv|'` 1434 os=`echo $os | sed -e 's|sinix|sysv|'`
1386 ;; 1435 ;;
1387 -sinix*) 1436 -sinix*)
1388 os=-sysv4 1437 os=-sysv4
1389 ;; 1438 ;;
1390 -tpf*) 1439 » -tpf*)
1391 os=-tpf 1440 os=-tpf
1392 ;; 1441 ;;
1393 -triton*) 1442 -triton*)
1394 os=-sysv3 1443 os=-sysv3
1395 ;; 1444 ;;
1396 -oss*) 1445 -oss*)
1397 os=-sysv3 1446 os=-sysv3
1398 ;; 1447 ;;
1399 -svr4) 1448 -svr4)
1400 os=-sysv4 1449 os=-sysv4
(...skipping 24 matching lines...) Expand all
1425 ;; 1474 ;;
1426 -kaos*) 1475 -kaos*)
1427 os=-kaos 1476 os=-kaos
1428 ;; 1477 ;;
1429 -zvmoe) 1478 -zvmoe)
1430 os=-zvmoe 1479 os=-zvmoe
1431 ;; 1480 ;;
1432 -dicos*) 1481 -dicos*)
1433 os=-dicos 1482 os=-dicos
1434 ;; 1483 ;;
1484 -nacl*)
1485 ;;
1435 -none) 1486 -none)
1436 ;; 1487 ;;
1437 *) 1488 *)
1438 # Get rid of the `-' at the beginning of $os. 1489 # Get rid of the `-' at the beginning of $os.
1439 os=`echo $os | sed 's/[^-]*-//'` 1490 os=`echo $os | sed 's/[^-]*-//'`
1440 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 1491 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
1441 exit 1 1492 exit 1
1442 ;; 1493 ;;
1443 esac 1494 esac
1444 else 1495 else
1445 1496
1446 # Here we handle the default operating systems that come with various machines. 1497 # Here we handle the default operating systems that come with various machines.
1447 # The value should be what the vendor currently ships out the door with their 1498 # The value should be what the vendor currently ships out the door with their
1448 # machine or put another way, the most popular os provided with the machine. 1499 # machine or put another way, the most popular os provided with the machine.
1449 1500
1450 # Note that if you're going to try to match "-MANUFACTURER" here (say, 1501 # Note that if you're going to try to match "-MANUFACTURER" here (say,
1451 # "-sun"), then you have to tell the case statement up towards the top 1502 # "-sun"), then you have to tell the case statement up towards the top
1452 # that MANUFACTURER isn't an operating system. Otherwise, code above 1503 # that MANUFACTURER isn't an operating system. Otherwise, code above
1453 # will signal an error saying that MANUFACTURER isn't an operating 1504 # will signal an error saying that MANUFACTURER isn't an operating
1454 # system, and we'll never get to this point. 1505 # system, and we'll never get to this point.
1455 1506
1456 case $basic_machine in 1507 case $basic_machine in
1457 score-*) 1508 » score-*)
1458 os=-elf 1509 os=-elf
1459 ;; 1510 ;;
1460 spu-*) 1511 » spu-*)
1461 os=-elf 1512 os=-elf
1462 ;; 1513 ;;
1463 *-acorn) 1514 *-acorn)
1464 os=-riscix1.2 1515 os=-riscix1.2
1465 ;; 1516 ;;
1466 arm*-rebel) 1517 arm*-rebel)
1467 os=-linux 1518 os=-linux
1468 ;; 1519 ;;
1469 arm*-semi) 1520 arm*-semi)
1470 os=-aout 1521 os=-aout
1471 ;; 1522 ;;
1472 c4x-* | tic4x-*) 1523 » c4x-* | tic4x-*)
1473 » os=-coff 1524 » » os=-coff
1525 » » ;;
1526 » tic54x-*)
1527 » » os=-coff
1528 » » ;;
1529 » tic55x-*)
1530 » » os=-coff
1531 » » ;;
1532 » tic6x-*)
1533 » » os=-coff
1474 ;; 1534 ;;
1475 # This must come before the *-dec entry. 1535 # This must come before the *-dec entry.
1476 pdp10-*) 1536 pdp10-*)
1477 os=-tops20 1537 os=-tops20
1478 ;; 1538 ;;
1479 pdp11-*) 1539 pdp11-*)
1480 os=-none 1540 os=-none
1481 ;; 1541 ;;
1482 *-dec | vax-*) 1542 *-dec | vax-*)
1483 os=-ultrix4.2 1543 os=-ultrix4.2
1484 ;; 1544 ;;
1485 m68*-apollo) 1545 m68*-apollo)
1486 os=-domain 1546 os=-domain
1487 ;; 1547 ;;
1488 i386-sun) 1548 i386-sun)
1489 os=-sunos4.0.2 1549 os=-sunos4.0.2
1490 ;; 1550 ;;
1491 m68000-sun) 1551 m68000-sun)
1492 os=-sunos3 1552 os=-sunos3
1493 # This also exists in the configure program, but was not the 1553 # This also exists in the configure program, but was not the
1494 # default. 1554 # default.
1495 # os=-sunos4 1555 # os=-sunos4
1496 ;; 1556 ;;
1497 m68*-cisco) 1557 m68*-cisco)
1498 os=-aout 1558 os=-aout
1499 ;; 1559 ;;
1500 mep-*) 1560 » mep-*)
1501 os=-elf 1561 os=-elf
1502 ;; 1562 ;;
1503 mips*-cisco) 1563 mips*-cisco)
1504 os=-elf 1564 os=-elf
1505 ;; 1565 ;;
1506 mips*-*) 1566 mips*-*)
1507 os=-elf 1567 os=-elf
1508 ;; 1568 ;;
1509 or32-*) 1569 or32-*)
1510 os=-coff 1570 os=-coff
1511 ;; 1571 ;;
1512 *-tti) # must be before sparc entry or we get the wrong os. 1572 *-tti) # must be before sparc entry or we get the wrong os.
1513 os=-sysv3 1573 os=-sysv3
1514 ;; 1574 ;;
1515 sparc-* | *-sun) 1575 sparc-* | *-sun)
1516 os=-sunos4.1.1 1576 os=-sunos4.1.1
1517 ;; 1577 ;;
1518 *-be) 1578 *-be)
1519 os=-beos 1579 os=-beos
1520 ;; 1580 ;;
1521 *-haiku) 1581 *-haiku)
1522 os=-haiku 1582 os=-haiku
1523 ;; 1583 ;;
1524 *-ibm) 1584 *-ibm)
1525 os=-aix 1585 os=-aix
1526 ;; 1586 ;;
1527 » *-knuth) 1587 » *-knuth)
1528 os=-mmixware 1588 os=-mmixware
1529 ;; 1589 ;;
1530 *-wec) 1590 *-wec)
1531 os=-proelf 1591 os=-proelf
1532 ;; 1592 ;;
1533 *-winbond) 1593 *-winbond)
1534 os=-proelf 1594 os=-proelf
1535 ;; 1595 ;;
1536 *-oki) 1596 *-oki)
1537 os=-proelf 1597 os=-proelf
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 1753
1694 echo $basic_machine$os 1754 echo $basic_machine$os
1695 exit 1755 exit
1696 1756
1697 # Local variables: 1757 # Local variables:
1698 # eval: (add-hook 'write-file-hooks 'time-stamp) 1758 # eval: (add-hook 'write-file-hooks 'time-stamp)
1699 # time-stamp-start: "timestamp='" 1759 # time-stamp-start: "timestamp='"
1700 # time-stamp-format: "%:y-%02m-%02d" 1760 # time-stamp-format: "%:y-%02m-%02d"
1701 # time-stamp-end: "'" 1761 # time-stamp-end: "'"
1702 # End: 1762 # End:
OLDNEW
« no previous file with comments | « autoconf/config.guess ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698