| OLD | NEW |
| 1 #! /bin/sh | 1 #! /bin/sh |
| 2 # Configuration validation subroutine script. | 2 # Configuration validation subroutine script. |
| 3 # Copyright 1992-2015 Free Software Foundation, Inc. | 3 # Copyright 1992-2013 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 timestamp='2015-01-01' | 5 timestamp='2013-08-10' |
| 6 | 6 |
| 7 # This file is free software; you can redistribute it and/or modify it | 7 # This file is free software; you can redistribute it and/or modify it |
| 8 # under the terms of the GNU General Public License as published by | 8 # under the terms of the GNU General Public License as published by |
| 9 # the Free Software Foundation; either version 3 of the License, or | 9 # the Free Software Foundation; either version 3 of the License, or |
| 10 # (at your option) any later version. | 10 # (at your option) any later version. |
| 11 # | 11 # |
| 12 # This program is distributed in the hope that it will be useful, but | 12 # This program is distributed in the hope that it will be useful, but |
| 13 # WITHOUT ANY WARRANTY; without even the implied warranty of | 13 # WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 # General Public License for more details. | 15 # General Public License for more details. |
| 16 # | 16 # |
| 17 # 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 |
| 18 # 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/>. |
| 19 # | 19 # |
| 20 # 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 |
| 21 # distribute this file as part of a program that contains a | 21 # distribute this file as part of a program that contains a |
| 22 # configuration script generated by Autoconf, you may include it under | 22 # configuration script generated by Autoconf, you may include it under |
| 23 # the same distribution terms that you use for the rest of that | 23 # the same distribution terms that you use for the rest of that |
| 24 # program. This Exception is an additional permission under section 7 | 24 # program. This Exception is an additional permission under section 7 |
| 25 # of the GNU General Public License, version 3 ("GPLv3"). | 25 # of the GNU General Public License, version 3 ("GPLv3"). |
| 26 | 26 |
| 27 | 27 |
| 28 # Please send patches to <config-patches@gnu.org>. | 28 # Please send patches with a ChangeLog entry to config-patches@gnu.org. |
| 29 # | 29 # |
| 30 # Configuration subroutine to validate and canonicalize a configuration type. | 30 # Configuration subroutine to validate and canonicalize a configuration type. |
| 31 # Supply the specified configuration type as an argument. | 31 # Supply the specified configuration type as an argument. |
| 32 # 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. |
| 33 # Otherwise, we print the canonical config type on stdout and succeed. | 33 # Otherwise, we print the canonical config type on stdout and succeed. |
| 34 | 34 |
| 35 # You can get the latest version of this script from: | 35 # You can get the latest version of this script from: |
| 36 # 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 |
| 37 | 37 |
| 38 # 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 Loading... |
| 61 Operation modes: | 61 Operation modes: |
| 62 -h, --help print this help, then exit | 62 -h, --help print this help, then exit |
| 63 -t, --time-stamp print date of last modification, then exit | 63 -t, --time-stamp print date of last modification, then exit |
| 64 -v, --version print version number, then exit | 64 -v, --version print version number, then exit |
| 65 | 65 |
| 66 Report bugs and patches to <config-patches@gnu.org>." | 66 Report bugs and patches to <config-patches@gnu.org>." |
| 67 | 67 |
| 68 version="\ | 68 version="\ |
| 69 GNU config.sub ($timestamp) | 69 GNU config.sub ($timestamp) |
| 70 | 70 |
| 71 Copyright 1992-2015 Free Software Foundation, Inc. | 71 Copyright 1992-2013 Free Software Foundation, Inc. |
| 72 | 72 |
| 73 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 |
| 74 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." | 74 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
| 75 | 75 |
| 76 help=" | 76 help=" |
| 77 Try \`$me --help' for more information." | 77 Try \`$me --help' for more information." |
| 78 | 78 |
| 79 # Parse command line | 79 # Parse command line |
| 80 while test $# -gt 0 ; do | 80 while test $# -gt 0 ; do |
| 81 case $1 in | 81 case $1 in |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ | 253 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[
67] \ |
| 254 | am33_2.0 \ | 254 | am33_2.0 \ |
| 255 | arc | arceb \ | 255 | arc | arceb \ |
| 256 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | 256 | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ |
| 257 | avr | avr32 \ | 257 | avr | avr32 \ |
| 258 | be32 | be64 \ | 258 | be32 | be64 \ |
| 259 | bfin \ | 259 | bfin \ |
| 260 | c4x | c8051 | clipper \ | 260 | c4x | c8051 | clipper \ |
| 261 | d10v | d30v | dlx | dsp16xx \ | 261 | d10v | d30v | dlx | dsp16xx \ |
| 262 | epiphany \ | 262 | epiphany \ |
| 263 » | fido | fr30 | frv | ft32 \ | 263 » | fido | fr30 | frv \ |
| 264 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | 264 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| 265 | hexagon \ | 265 | hexagon \ |
| 266 | i370 | i860 | i960 | ia64 \ | 266 | i370 | i860 | i960 | ia64 \ |
| 267 | ip2k | iq2000 \ | 267 | ip2k | iq2000 \ |
| 268 | k1om \ | |
| 269 | le32 | le64 \ | 268 | le32 | le64 \ |
| 270 | lm32 \ | 269 | lm32 \ |
| 271 | m32c | m32r | m32rle | m68000 | m68k | m88k \ | 270 | m32c | m32r | m32rle | m68000 | m68k | m88k \ |
| 272 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | 271 | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ |
| 273 | mips | mipsbe | mipseb | mipsel | mipsle \ | 272 | mips | mipsbe | mipseb | mipsel | mipsle \ |
| 274 | mips16 \ | 273 | mips16 \ |
| 275 | mips64 | mips64el \ | 274 | mips64 | mips64el \ |
| 276 | mips64octeon | mips64octeonel \ | 275 | mips64octeon | mips64octeonel \ |
| 277 | mips64orion | mips64orionel \ | 276 | mips64orion | mips64orionel \ |
| 278 | mips64r5900 | mips64r5900el \ | 277 | mips64r5900 | mips64r5900el \ |
| 279 | mips64vr | mips64vrel \ | 278 | mips64vr | mips64vrel \ |
| 280 | mips64vr4100 | mips64vr4100el \ | 279 | mips64vr4100 | mips64vr4100el \ |
| 281 | mips64vr4300 | mips64vr4300el \ | 280 | mips64vr4300 | mips64vr4300el \ |
| 282 | mips64vr5000 | mips64vr5000el \ | 281 | mips64vr5000 | mips64vr5000el \ |
| 283 | mips64vr5900 | mips64vr5900el \ | 282 | mips64vr5900 | mips64vr5900el \ |
| 284 | mipsisa32 | mipsisa32el \ | 283 | mipsisa32 | mipsisa32el \ |
| 285 | mipsisa32r2 | mipsisa32r2el \ | 284 | mipsisa32r2 | mipsisa32r2el \ |
| 286 | mipsisa32r6 | mipsisa32r6el \ | |
| 287 | mipsisa64 | mipsisa64el \ | 285 | mipsisa64 | mipsisa64el \ |
| 288 | mipsisa64r2 | mipsisa64r2el \ | 286 | mipsisa64r2 | mipsisa64r2el \ |
| 289 | mipsisa64r6 | mipsisa64r6el \ | |
| 290 | mipsisa64sb1 | mipsisa64sb1el \ | 287 | mipsisa64sb1 | mipsisa64sb1el \ |
| 291 | mipsisa64sr71k | mipsisa64sr71kel \ | 288 | mipsisa64sr71k | mipsisa64sr71kel \ |
| 292 | mipsr5900 | mipsr5900el \ | 289 | mipsr5900 | mipsr5900el \ |
| 293 | mipstx39 | mipstx39el \ | 290 | mipstx39 | mipstx39el \ |
| 294 | mn10200 | mn10300 \ | 291 | mn10200 | mn10300 \ |
| 295 | moxie \ | 292 | moxie \ |
| 296 | mt \ | 293 | mt \ |
| 297 | msp430 \ | 294 | msp430 \ |
| 298 | nds32 | nds32le | nds32be \ | 295 | nds32 | nds32le | nds32be \ |
| 299 | nios | nios2 | nios2eb | nios2el \ | 296 | nios | nios2 | nios2eb | nios2el \ |
| 300 | ns16k | ns32k \ | 297 | ns16k | ns32k \ |
| 301 » | open8 | or1k | or1knd | or32 \ | 298 » | open8 \ |
| 299 » | or1k | or32 \ |
| 302 | pdp10 | pdp11 | pj | pjl \ | 300 | pdp10 | pdp11 | pj | pjl \ |
| 303 | powerpc | powerpc64 | powerpc64le | powerpcle \ | 301 | powerpc | powerpc64 | powerpc64le | powerpcle \ |
| 304 | pyramid \ | 302 | pyramid \ |
| 305 | riscv32 | riscv64 \ | |
| 306 | rl78 | rx \ | 303 | rl78 | rx \ |
| 307 | score \ | 304 | score \ |
| 308 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe
| shle | sh[1234]le | sh3ele \ | 305 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe
| shle | sh[1234]le | sh3ele \ |
| 309 | sh64 | sh64le \ | 306 | sh64 | sh64le \ |
| 310 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit
e \ | 307 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclit
e \ |
| 311 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | 308 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
| 312 | spu \ | 309 | spu \ |
| 313 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | 310 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ |
| 314 | ubicom32 \ | 311 | ubicom32 \ |
| 315 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | 312 | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ |
| 316 | visium \ | |
| 317 | we32k \ | 313 | we32k \ |
| 318 | x86 | xc16x | xstormy16 | xtensa \ | 314 | x86 | xc16x | xstormy16 | xtensa \ |
| 319 | z8k | z80) | 315 | z8k | z80) |
| 320 basic_machine=$basic_machine-unknown | 316 basic_machine=$basic_machine-unknown |
| 321 ;; | 317 ;; |
| 322 c54x) | 318 c54x) |
| 323 basic_machine=tic54x-unknown | 319 basic_machine=tic54x-unknown |
| 324 ;; | 320 ;; |
| 325 c55x) | 321 c55x) |
| 326 basic_machine=tic55x-unknown | 322 basic_machine=tic55x-unknown |
| 327 ;; | 323 ;; |
| 328 c6x) | 324 c6x) |
| 329 basic_machine=tic6x-unknown | 325 basic_machine=tic6x-unknown |
| 330 ;; | 326 ;; |
| 331 » leon|leon[3-9]) | 327 » m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip) |
| 332 » » basic_machine=sparc-$basic_machine | |
| 333 » » ;; | |
| 334 » m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) | |
| 335 basic_machine=$basic_machine-unknown | 328 basic_machine=$basic_machine-unknown |
| 336 os=-none | 329 os=-none |
| 337 ;; | 330 ;; |
| 338 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) | 331 m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) |
| 339 ;; | 332 ;; |
| 340 ms1) | 333 ms1) |
| 341 basic_machine=mt-unknown | 334 basic_machine=mt-unknown |
| 342 ;; | 335 ;; |
| 343 | 336 |
| 344 strongarm | thumb | xscale) | 337 strongarm | thumb | xscale) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 | c[123]* | c30-* | [cjt]90-* | c4x-* \ | 374 | c[123]* | c30-* | [cjt]90-* | c4x-* \ |
| 382 | c8051-* | clipper-* | craynv-* | cydra-* \ | 375 | c8051-* | clipper-* | craynv-* | cydra-* \ |
| 383 | d10v-* | d30v-* | dlx-* \ | 376 | d10v-* | d30v-* | dlx-* \ |
| 384 | elxsi-* \ | 377 | elxsi-* \ |
| 385 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | 378 | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ |
| 386 | h8300-* | h8500-* \ | 379 | h8300-* | h8500-* \ |
| 387 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | 380 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ |
| 388 | hexagon-* \ | 381 | hexagon-* \ |
| 389 | i*86-* | i860-* | i960-* | ia64-* \ | 382 | i*86-* | i860-* | i960-* | ia64-* \ |
| 390 | ip2k-* | iq2000-* \ | 383 | ip2k-* | iq2000-* \ |
| 391 | k1om-* \ | |
| 392 | le32-* | le64-* \ | 384 | le32-* | le64-* \ |
| 393 | lm32-* \ | 385 | lm32-* \ |
| 394 | m32c-* | m32r-* | m32rle-* \ | 386 | m32c-* | m32r-* | m32rle-* \ |
| 395 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | 387 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
| 396 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | 388 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ |
| 397 | microblaze-* | microblazeel-* \ | 389 | microblaze-* | microblazeel-* \ |
| 398 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | 390 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
| 399 | mips16-* \ | 391 | mips16-* \ |
| 400 | mips64-* | mips64el-* \ | 392 | mips64-* | mips64el-* \ |
| 401 | mips64octeon-* | mips64octeonel-* \ | 393 | mips64octeon-* | mips64octeonel-* \ |
| 402 | mips64orion-* | mips64orionel-* \ | 394 | mips64orion-* | mips64orionel-* \ |
| 403 | mips64r5900-* | mips64r5900el-* \ | 395 | mips64r5900-* | mips64r5900el-* \ |
| 404 | mips64vr-* | mips64vrel-* \ | 396 | mips64vr-* | mips64vrel-* \ |
| 405 | mips64vr4100-* | mips64vr4100el-* \ | 397 | mips64vr4100-* | mips64vr4100el-* \ |
| 406 | mips64vr4300-* | mips64vr4300el-* \ | 398 | mips64vr4300-* | mips64vr4300el-* \ |
| 407 | mips64vr5000-* | mips64vr5000el-* \ | 399 | mips64vr5000-* | mips64vr5000el-* \ |
| 408 | mips64vr5900-* | mips64vr5900el-* \ | 400 | mips64vr5900-* | mips64vr5900el-* \ |
| 409 | mipsisa32-* | mipsisa32el-* \ | 401 | mipsisa32-* | mipsisa32el-* \ |
| 410 | mipsisa32r2-* | mipsisa32r2el-* \ | 402 | mipsisa32r2-* | mipsisa32r2el-* \ |
| 411 | mipsisa32r6-* | mipsisa32r6el-* \ | |
| 412 | mipsisa64-* | mipsisa64el-* \ | 403 | mipsisa64-* | mipsisa64el-* \ |
| 413 | mipsisa64r2-* | mipsisa64r2el-* \ | 404 | mipsisa64r2-* | mipsisa64r2el-* \ |
| 414 | mipsisa64r6-* | mipsisa64r6el-* \ | |
| 415 | mipsisa64sb1-* | mipsisa64sb1el-* \ | 405 | mipsisa64sb1-* | mipsisa64sb1el-* \ |
| 416 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | 406 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| 417 | mipsr5900-* | mipsr5900el-* \ | 407 | mipsr5900-* | mipsr5900el-* \ |
| 418 | mipstx39-* | mipstx39el-* \ | 408 | mipstx39-* | mipstx39el-* \ |
| 419 | mmix-* \ | 409 | mmix-* \ |
| 420 | mt-* \ | 410 | mt-* \ |
| 421 | msp430-* \ | 411 | msp430-* \ |
| 422 | nds32-* | nds32le-* | nds32be-* \ | 412 | nds32-* | nds32le-* | nds32be-* \ |
| 423 | nios-* | nios2-* | nios2eb-* | nios2el-* \ | 413 | nios-* | nios2-* | nios2eb-* | nios2el-* \ |
| 424 | none-* | np1-* | ns16k-* | ns32k-* \ | 414 | none-* | np1-* | ns16k-* | ns32k-* \ |
| 425 | open8-* \ | 415 | open8-* \ |
| 426 | or1k*-* \ | |
| 427 | orion-* \ | 416 | orion-* \ |
| 428 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | 417 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
| 429 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | 418 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ |
| 430 | pyramid-* \ | 419 | pyramid-* \ |
| 431 | rl78-* | romp-* | rs6000-* | rx-* \ | 420 | rl78-* | romp-* | rs6000-* | rx-* \ |
| 432 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* |
sheb-* | shbe-* \ | 421 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* |
sheb-* | shbe-* \ |
| 433 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | 422 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
| 434 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-
* \ | 423 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-
* \ |
| 435 | sparclite-* \ | 424 | sparclite-* \ |
| 436 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | 425 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ |
| 437 | tahoe-* \ | 426 | tahoe-* \ |
| 438 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | 427 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ |
| 439 | tile*-* \ | 428 | tile*-* \ |
| 440 | tron-* \ | 429 | tron-* \ |
| 441 | ubicom32-* \ | 430 | ubicom32-* \ |
| 442 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | 431 | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ |
| 443 | vax-* \ | 432 | vax-* \ |
| 444 | visium-* \ | |
| 445 | we32k-* \ | 433 | we32k-* \ |
| 446 | x86-* | x86_64-* | xc16x-* | xps100-* \ | 434 | x86-* | x86_64-* | xc16x-* | xps100-* \ |
| 447 | xstormy16-* | xtensa*-* \ | 435 | xstormy16-* | xtensa*-* \ |
| 448 | ymp-* \ | 436 | ymp-* \ |
| 449 | z8k-* | z80-*) | 437 | z8k-* | z80-*) |
| 450 ;; | 438 ;; |
| 451 # Recognize the basic CPU types without company name, with glob match. | 439 # Recognize the basic CPU types without company name, with glob match. |
| 452 xtensa*) | 440 xtensa*) |
| 453 basic_machine=$basic_machine-unknown | 441 basic_machine=$basic_machine-unknown |
| 454 ;; | 442 ;; |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 ;; | 760 ;; |
| 773 *) | 761 *) |
| 774 os=-irix4 | 762 os=-irix4 |
| 775 ;; | 763 ;; |
| 776 esac | 764 esac |
| 777 ;; | 765 ;; |
| 778 isi68 | isi) | 766 isi68 | isi) |
| 779 basic_machine=m68k-isi | 767 basic_machine=m68k-isi |
| 780 os=-sysv | 768 os=-sysv |
| 781 ;; | 769 ;; |
| 782 leon-*|leon[3-9]-*) | |
| 783 basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` | |
| 784 ;; | |
| 785 m68knommu) | 770 m68knommu) |
| 786 basic_machine=m68k-unknown | 771 basic_machine=m68k-unknown |
| 787 os=-linux | 772 os=-linux |
| 788 ;; | 773 ;; |
| 789 m68knommu-*) | 774 m68knommu-*) |
| 790 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` | 775 basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 791 os=-linux | 776 os=-linux |
| 792 ;; | 777 ;; |
| 793 m88k-omron*) | 778 m88k-omron*) |
| 794 basic_machine=m88k-omron | 779 basic_machine=m88k-omron |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-u
nknown | 815 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-u
nknown |
| 831 ;; | 816 ;; |
| 832 monitor) | 817 monitor) |
| 833 basic_machine=m68k-rom68k | 818 basic_machine=m68k-rom68k |
| 834 os=-coff | 819 os=-coff |
| 835 ;; | 820 ;; |
| 836 morphos) | 821 morphos) |
| 837 basic_machine=powerpc-unknown | 822 basic_machine=powerpc-unknown |
| 838 os=-morphos | 823 os=-morphos |
| 839 ;; | 824 ;; |
| 840 moxiebox) | |
| 841 basic_machine=moxie-unknown | |
| 842 os=-moxiebox | |
| 843 ;; | |
| 844 msdos) | 825 msdos) |
| 845 basic_machine=i386-pc | 826 basic_machine=i386-pc |
| 846 os=-msdos | 827 os=-msdos |
| 847 ;; | 828 ;; |
| 848 ms1-*) | 829 ms1-*) |
| 849 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` | 830 basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` |
| 850 ;; | 831 ;; |
| 851 msys) | 832 msys) |
| 852 basic_machine=i686-pc | 833 basic_machine=i686-pc |
| 853 os=-msys | 834 os=-msys |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1018 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` | 999 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` |
| 1019 ;; | 1000 ;; |
| 1020 ppcle | powerpclittle | ppc-le | powerpc-little) | 1001 ppcle | powerpclittle | ppc-le | powerpc-little) |
| 1021 basic_machine=powerpcle-unknown | 1002 basic_machine=powerpcle-unknown |
| 1022 ;; | 1003 ;; |
| 1023 ppcle-* | powerpclittle-*) | 1004 ppcle-* | powerpclittle-*) |
| 1024 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'
` | 1005 basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'
` |
| 1025 ;; | 1006 ;; |
| 1026 ppc64) basic_machine=powerpc64-unknown | 1007 ppc64) basic_machine=powerpc64-unknown |
| 1027 ;; | 1008 ;; |
| 1028 » ppc64-* | ppc64p7-*) basic_machine=powerpc64-`echo $basic_machine | sed
's/^[^-]*-//'` | 1009 » ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//
'` |
| 1029 ;; | 1010 ;; |
| 1030 ppc64le | powerpc64little | ppc64-le | powerpc64-little) | 1011 ppc64le | powerpc64little | ppc64-le | powerpc64-little) |
| 1031 basic_machine=powerpc64le-unknown | 1012 basic_machine=powerpc64le-unknown |
| 1032 ;; | 1013 ;; |
| 1033 ppc64le-* | powerpc64little-*) | 1014 ppc64le-* | powerpc64little-*) |
| 1034 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-/
/'` | 1015 basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-/
/'` |
| 1035 ;; | 1016 ;; |
| 1036 ps2) | 1017 ps2) |
| 1037 basic_machine=i386-ibm | 1018 basic_machine=i386-ibm |
| 1038 ;; | 1019 ;; |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1379 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 1360 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ |
| 1380 | -bitrig* | -openbsd* | -solidbsd* \ | 1361 | -bitrig* | -openbsd* | -solidbsd* \ |
| 1381 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | 1362 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ |
| 1382 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | 1363 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ |
| 1383 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | 1364 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ |
| 1384 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | 1365 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ |
| 1385 | -chorusos* | -chorusrdb* | -cegcc* \ | 1366 | -chorusos* | -chorusrdb* | -cegcc* \ |
| 1386 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems*
\ | 1367 | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems*
\ |
| 1387 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | 1368 | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ |
| 1388 | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | 1369 | -linux-newlib* | -linux-musl* | -linux-uclibc* \ |
| 1389 » | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | 1370 » | -uxpv* | -beos* | -mpeix* | -udk* \ |
| 1390 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | 1371 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ |
| 1391 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | 1372 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ |
| 1392 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | 1373 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ |
| 1393 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | 1374 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| 1394 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | 1375 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
| 1395 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | 1376 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
| 1396 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirto
s*) | 1377 » | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) |
| 1397 # Remember, each alternative MUST END IN *, to match a version number. | 1378 # Remember, each alternative MUST END IN *, to match a version number. |
| 1398 ;; | 1379 ;; |
| 1399 -qnx*) | 1380 -qnx*) |
| 1400 case $basic_machine in | 1381 case $basic_machine in |
| 1401 x86-* | i*86-*) | 1382 x86-* | i*86-*) |
| 1402 ;; | 1383 ;; |
| 1403 *) | 1384 *) |
| 1404 os=-nto$os | 1385 os=-nto$os |
| 1405 ;; | 1386 ;; |
| 1406 esac | 1387 esac |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1604 ;; | 1585 ;; |
| 1605 mep-*) | 1586 mep-*) |
| 1606 os=-elf | 1587 os=-elf |
| 1607 ;; | 1588 ;; |
| 1608 mips*-cisco) | 1589 mips*-cisco) |
| 1609 os=-elf | 1590 os=-elf |
| 1610 ;; | 1591 ;; |
| 1611 mips*-*) | 1592 mips*-*) |
| 1612 os=-elf | 1593 os=-elf |
| 1613 ;; | 1594 ;; |
| 1595 or1k-*) |
| 1596 os=-elf |
| 1597 ;; |
| 1614 or32-*) | 1598 or32-*) |
| 1615 os=-coff | 1599 os=-coff |
| 1616 ;; | 1600 ;; |
| 1617 *-tti) # must be before sparc entry or we get the wrong os. | 1601 *-tti) # must be before sparc entry or we get the wrong os. |
| 1618 os=-sysv3 | 1602 os=-sysv3 |
| 1619 ;; | 1603 ;; |
| 1620 sparc-* | *-sun) | 1604 sparc-* | *-sun) |
| 1621 os=-sunos4.1.1 | 1605 os=-sunos4.1.1 |
| 1622 ;; | 1606 ;; |
| 1623 *-be) | 1607 *-be) |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1798 | 1782 |
| 1799 echo $basic_machine$os | 1783 echo $basic_machine$os |
| 1800 exit | 1784 exit |
| 1801 | 1785 |
| 1802 # Local variables: | 1786 # Local variables: |
| 1803 # eval: (add-hook 'write-file-hooks 'time-stamp) | 1787 # eval: (add-hook 'write-file-hooks 'time-stamp) |
| 1804 # time-stamp-start: "timestamp='" | 1788 # time-stamp-start: "timestamp='" |
| 1805 # time-stamp-format: "%:y-%02m-%02d" | 1789 # time-stamp-format: "%:y-%02m-%02d" |
| 1806 # time-stamp-end: "'" | 1790 # time-stamp-end: "'" |
| 1807 # End: | 1791 # End: |
| OLD | NEW |