Changeset ad849c6eaf1422891cec3416d404c4bcc3d335b6
- Timestamp:
- 01/06/07 23:41:33 (6 years ago)
- Author:
- Philipp Kern <phil@…>
- Parents:
- 98a570a611271800de3383728fc714ffe8e5f103
- Children:
- 8c33ab10b2803083805bb91e98847d6781d318e8
- git-committer:
- Philipp Kern <phil@0x539.de> / 2007-01-06T22:41:33Z+0000
- Message:
-
[project @ Changes by libtool]
Original author: Armin Burgmeier <armin@…>
Date: 2005-07-21 16:55:14+00:00
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
rf49bdc2
|
rad849c6
|
|
| 4 | 4 | # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | 5 | |
| 6 | | timestamp='2005-03-24' |
| | 6 | timestamp='2005-05-27' |
| 7 | 7 | |
| 8 | 8 | # This file is free software; you can redistribute it and/or modify it |
| … |
… |
|
| 18 | 18 | # You should have received a copy of the GNU General Public License |
| 19 | 19 | # along with this program; if not, write to the Free Software |
| 20 | | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| | 20 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
| | 21 | # 02110-1301, USA. |
| 21 | 22 | # |
| 22 | 23 | # As a special exception to the GNU General Public License, if you |
| … |
… |
|
| 24 | 25 | # configuration script generated by Autoconf, you may include it under |
| 25 | 26 | # the same distribution terms that you use for the rest of that program. |
| | 27 | |
| 26 | 28 | |
| 27 | 29 | # Originally written by Per Bothner <per@bothner.com>. |
| … |
… |
|
| 67 | 69 | case $1 in |
| 68 | 70 | --time-stamp | --time* | -t ) |
| 69 | | echo "$timestamp" ; exit 0 ;; |
| | 71 | echo "$timestamp" ; exit ;; |
| 70 | 72 | --version | -v ) |
| 71 | | echo "$version" ; exit 0 ;; |
| | 73 | echo "$version" ; exit ;; |
| 72 | 74 | --help | --h* | -h ) |
| 73 | | echo "$usage"; exit 0 ;; |
| | 75 | echo "$usage"; exit ;; |
| 74 | 76 | -- ) # Stop option processing |
| 75 | 77 | shift; break ;; |
| … |
… |
|
| 214 | 216 | # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. |
| 215 | 217 | echo "${machine}-${os}${release}" |
| 216 | | exit 0 ;; |
| | 218 | exit ;; |
| 217 | 219 | amd64:OpenBSD:*:*) |
| 218 | 220 | echo x86_64-unknown-openbsd${UNAME_RELEASE} |
| 219 | | exit 0 ;; |
| | 221 | exit ;; |
| 220 | 222 | amiga:OpenBSD:*:*) |
| 221 | 223 | echo m68k-unknown-openbsd${UNAME_RELEASE} |
| 222 | | exit 0 ;; |
| | 224 | exit ;; |
| 223 | 225 | cats:OpenBSD:*:*) |
| 224 | 226 | echo arm-unknown-openbsd${UNAME_RELEASE} |
| 225 | | exit 0 ;; |
| | 227 | exit ;; |
| 226 | 228 | hp300:OpenBSD:*:*) |
| 227 | 229 | echo m68k-unknown-openbsd${UNAME_RELEASE} |
| 228 | | exit 0 ;; |
| | 230 | exit ;; |
| 229 | 231 | luna88k:OpenBSD:*:*) |
| 230 | 232 | echo m88k-unknown-openbsd${UNAME_RELEASE} |
| 231 | | exit 0 ;; |
| | 233 | exit ;; |
| 232 | 234 | mac68k:OpenBSD:*:*) |
| 233 | 235 | echo m68k-unknown-openbsd${UNAME_RELEASE} |
| 234 | | exit 0 ;; |
| | 236 | exit ;; |
| 235 | 237 | macppc:OpenBSD:*:*) |
| 236 | 238 | echo powerpc-unknown-openbsd${UNAME_RELEASE} |
| 237 | | exit 0 ;; |
| | 239 | exit ;; |
| 238 | 240 | mvme68k:OpenBSD:*:*) |
| 239 | 241 | echo m68k-unknown-openbsd${UNAME_RELEASE} |
| 240 | | exit 0 ;; |
| | 242 | exit ;; |
| 241 | 243 | mvme88k:OpenBSD:*:*) |
| 242 | 244 | echo m88k-unknown-openbsd${UNAME_RELEASE} |
| 243 | | exit 0 ;; |
| | 245 | exit ;; |
| 244 | 246 | mvmeppc:OpenBSD:*:*) |
| 245 | 247 | echo powerpc-unknown-openbsd${UNAME_RELEASE} |
| 246 | | exit 0 ;; |
| | 248 | exit ;; |
| 247 | 249 | sgi:OpenBSD:*:*) |
| 248 | 250 | echo mips64-unknown-openbsd${UNAME_RELEASE} |
| 249 | | exit 0 ;; |
| | 251 | exit ;; |
| 250 | 252 | sun3:OpenBSD:*:*) |
| 251 | 253 | echo m68k-unknown-openbsd${UNAME_RELEASE} |
| 252 | | exit 0 ;; |
| | 254 | exit ;; |
| 253 | 255 | *:OpenBSD:*:*) |
| 254 | 256 | echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} |
| 255 | | exit 0 ;; |
| | 257 | exit ;; |
| 256 | 258 | *:ekkoBSD:*:*) |
| 257 | 259 | echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} |
| 258 | | exit 0 ;; |
| | 260 | exit ;; |
| 259 | 261 | macppc:MirBSD:*:*) |
| 260 | 262 | echo powerppc-unknown-mirbsd${UNAME_RELEASE} |
| 261 | | exit 0 ;; |
| | 263 | exit ;; |
| 262 | 264 | *:MirBSD:*:*) |
| 263 | 265 | echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} |
| 264 | | exit 0 ;; |
| | 266 | exit ;; |
| 265 | 267 | alpha:OSF1:*:*) |
| 266 | 268 | case $UNAME_RELEASE in |
| … |
… |
|
| 315 | 317 | # 1.2 uses "1.2" for uname -r. |
| 316 | 318 | echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
| 317 | | exit 0 ;; |
| | 319 | exit ;; |
| 318 | 320 | Alpha\ *:Windows_NT*:*) |
| 319 | 321 | # How do we know it's Interix rather than the generic POSIX subsystem? |
| … |
… |
|
| 321 | 323 | # of the specific Alpha model? |
| 322 | 324 | echo alpha-pc-interix |
| 323 | | exit 0 ;; |
| | 325 | exit ;; |
| 324 | 326 | 21064:Windows_NT:50:3) |
| 325 | 327 | echo alpha-dec-winnt3.5 |
| 326 | | exit 0 ;; |
| | 328 | exit ;; |
| 327 | 329 | Amiga*:UNIX_System_V:4.0:*) |
| 328 | 330 | echo m68k-unknown-sysv4 |
| 329 | | exit 0;; |
| | 331 | exit ;; |
| 330 | 332 | *:[Aa]miga[Oo][Ss]:*:*) |
| 331 | 333 | echo ${UNAME_MACHINE}-unknown-amigaos |
| 332 | | exit 0 ;; |
| | 334 | exit ;; |
| 333 | 335 | *:[Mm]orph[Oo][Ss]:*:*) |
| 334 | 336 | echo ${UNAME_MACHINE}-unknown-morphos |
| 335 | | exit 0 ;; |
| | 337 | exit ;; |
| 336 | 338 | *:OS/390:*:*) |
| 337 | 339 | echo i370-ibm-openedition |
| 338 | | exit 0 ;; |
| | 340 | exit ;; |
| 339 | 341 | *:z/VM:*:*) |
| 340 | 342 | echo s390-ibm-zvmoe |
| 341 | | exit 0 ;; |
| | 343 | exit ;; |
| 342 | 344 | *:OS400:*:*) |
| 343 | 345 | echo powerpc-ibm-os400 |
| 344 | | exit 0 ;; |
| | 346 | exit ;; |
| 345 | 347 | arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) |
| 346 | 348 | echo arm-acorn-riscix${UNAME_RELEASE} |
| 347 | | exit 0;; |
| | 349 | exit ;; |
| | 350 | arm:riscos:*:*|arm:RISCOS:*:*) |
| | 351 | echo arm-unknown-riscos |
| | 352 | exit ;; |
| 348 | 353 | SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) |
| 349 | 354 | echo hppa1.1-hitachi-hiuxmpp |
| 350 | | exit 0;; |
| | 355 | exit ;; |
| 351 | 356 | Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) |
| 352 | 357 | # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. |
| … |
… |
|
| 356 | 361 | echo pyramid-pyramid-bsd |
| 357 | 362 | fi |
| 358 | | exit 0 ;; |
| | 363 | exit ;; |
| 359 | 364 | NILE*:*:*:dcosx) |
| 360 | 365 | echo pyramid-pyramid-svr4 |
| 361 | | exit 0 ;; |
| | 366 | exit ;; |
| 362 | 367 | DRS?6000:unix:4.0:6*) |
| 363 | 368 | echo sparc-icl-nx6 |
| 364 | | exit 0 ;; |
| | 369 | exit ;; |
| 365 | 370 | DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) |
| 366 | 371 | case `/usr/bin/uname -p` in |
| 367 | | sparc) echo sparc-icl-nx7 && exit 0 ;; |
| | 372 | sparc) echo sparc-icl-nx7; exit ;; |
| 368 | 373 | esac ;; |
| 369 | 374 | sun4H:SunOS:5.*:*) |
| 370 | 375 | echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
| 371 | | exit 0 ;; |
| | 376 | exit ;; |
| 372 | 377 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
| 373 | 378 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
| 374 | | exit 0 ;; |
| | 379 | exit ;; |
| 375 | 380 | i86pc:SunOS:5.*:*) |
| 376 | 381 | echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
| 377 | | exit 0 ;; |
| | 382 | exit ;; |
| 378 | 383 | sun4*:SunOS:6*:*) |
| 379 | 384 | # According to config.sub, this is the proper way to canonicalize |
| … |
… |
|
| 381 | 386 | # it's likely to be more like Solaris than SunOS4. |
| 382 | 387 | echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
| 383 | | exit 0 ;; |
| | 388 | exit ;; |
| 384 | 389 | sun4*:SunOS:*:*) |
| 385 | 390 | case "`/usr/bin/arch -k`" in |
| … |
… |
|
| 390 | 395 | # Japanese Language versions have a version number like `4.1.3-JL'. |
| 391 | 396 | echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` |
| 392 | | exit 0 ;; |
| | 397 | exit ;; |
| 393 | 398 | sun3*:SunOS:*:*) |
| 394 | 399 | echo m68k-sun-sunos${UNAME_RELEASE} |
| 395 | | exit 0 ;; |
| | 400 | exit ;; |
| 396 | 401 | sun*:*:4.2BSD:*) |
| 397 | 402 | UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` |
| … |
… |
|
| 405 | 410 | ;; |
| 406 | 411 | esac |
| 407 | | exit 0 ;; |
| | 412 | exit ;; |
| 408 | 413 | aushp:SunOS:*:*) |
| 409 | 414 | echo sparc-auspex-sunos${UNAME_RELEASE} |
| 410 | | exit 0 ;; |
| | 415 | exit ;; |
| 411 | 416 | # The situation for MiNT is a little confusing. The machine name |
| 412 | 417 | # can be virtually everything (everything which is not |
| … |
… |
|
| 419 | 424 | atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) |
| 420 | 425 | echo m68k-atari-mint${UNAME_RELEASE} |
| 421 | | exit 0 ;; |
| | 426 | exit ;; |
| 422 | 427 | atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) |
| 423 | 428 | echo m68k-atari-mint${UNAME_RELEASE} |
| 424 | | exit 0 ;; |
| | 429 | exit ;; |
| 425 | 430 | *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) |
| 426 | 431 | echo m68k-atari-mint${UNAME_RELEASE} |
| 427 | | exit 0 ;; |
| | 432 | exit ;; |
| 428 | 433 | milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) |
| 429 | 434 | echo m68k-milan-mint${UNAME_RELEASE} |
| 430 | | exit 0 ;; |
| | 435 | exit ;; |
| 431 | 436 | hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) |
| 432 | 437 | echo m68k-hades-mint${UNAME_RELEASE} |
| 433 | | exit 0 ;; |
| | 438 | exit ;; |
| 434 | 439 | *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) |
| 435 | 440 | echo m68k-unknown-mint${UNAME_RELEASE} |
| 436 | | exit 0 ;; |
| | 441 | exit ;; |
| 437 | 442 | m68k:machten:*:*) |
| 438 | 443 | echo m68k-apple-machten${UNAME_RELEASE} |
| 439 | | exit 0 ;; |
| | 444 | exit ;; |
| 440 | 445 | powerpc:machten:*:*) |
| 441 | 446 | echo powerpc-apple-machten${UNAME_RELEASE} |
| 442 | | exit 0 ;; |
| | 447 | exit ;; |
| 443 | 448 | RISC*:Mach:*:*) |
| 444 | 449 | echo mips-dec-mach_bsd4.3 |
| 445 | | exit 0 ;; |
| | 450 | exit ;; |
| 446 | 451 | RISC*:ULTRIX:*:*) |
| 447 | 452 | echo mips-dec-ultrix${UNAME_RELEASE} |
| 448 | | exit 0 ;; |
| | 453 | exit ;; |
| 449 | 454 | VAX*:ULTRIX*:*:*) |
| 450 | 455 | echo vax-dec-ultrix${UNAME_RELEASE} |
| 451 | | exit 0 ;; |
| | 456 | exit ;; |
| 452 | 457 | 2020:CLIX:*:* | 2430:CLIX:*:*) |
| 453 | 458 | echo clipper-intergraph-clix${UNAME_RELEASE} |
| 454 | | exit 0 ;; |
| | 459 | exit ;; |
| 455 | 460 | mips:*:*:UMIPS | mips:*:*:RISCos) |
| 456 | 461 | eval $set_cc_for_build |
| … |
… |
|
| 476 | 481 | } |
| 477 | 482 | EOF |
| 478 | | $CC_FOR_BUILD -o $dummy $dummy.c \ |
| 479 | | && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ |
| 480 | | && exit 0 |
| | 483 | $CC_FOR_BUILD -o $dummy $dummy.c && |
| | 484 | dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && |
| | 485 | SYSTEM_NAME=`$dummy $dummyarg` && |
| | 486 | { echo "$SYSTEM_NAME"; exit; } |
| 481 | 487 | echo mips-mips-riscos${UNAME_RELEASE} |
| 482 | | exit 0 ;; |
| | 488 | exit ;; |
| 483 | 489 | Motorola:PowerMAX_OS:*:*) |
| 484 | 490 | echo powerpc-motorola-powermax |
| 485 | | exit 0 ;; |
| | 491 | exit ;; |
| 486 | 492 | Motorola:*:4.3:PL8-*) |
| 487 | 493 | echo powerpc-harris-powermax |
| 488 | | exit 0 ;; |
| | 494 | exit ;; |
| 489 | 495 | Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) |
| 490 | 496 | echo powerpc-harris-powermax |
| 491 | | exit 0 ;; |
| | 497 | exit ;; |
| 492 | 498 | Night_Hawk:Power_UNIX:*:*) |
| 493 | 499 | echo powerpc-harris-powerunix |
| 494 | | exit 0 ;; |
| | 500 | exit ;; |
| 495 | 501 | m88k:CX/UX:7*:*) |
| 496 | 502 | echo m88k-harris-cxux7 |
| 497 | | exit 0 ;; |
| | 503 | exit ;; |
| 498 | 504 | m88k:*:4*:R4*) |
| 499 | 505 | echo m88k-motorola-sysv4 |
| 500 | | exit 0 ;; |
| | 506 | exit ;; |
| 501 | 507 | m88k:*:3*:R3*) |
| 502 | 508 | echo m88k-motorola-sysv3 |
| 503 | | exit 0 ;; |
| | 509 | exit ;; |
| 504 | 510 | AViiON:dgux:*:*) |
| 505 | 511 | # DG/UX returns AViiON for all architectures |
| … |
… |
|
| 517 | 523 | echo i586-dg-dgux${UNAME_RELEASE} |
| 518 | 524 | fi |
| 519 | | exit 0 ;; |
| | 525 | exit ;; |
| 520 | 526 | M88*:DolphinOS:*:*) # DolphinOS (SVR3) |
| 521 | 527 | echo m88k-dolphin-sysv3 |
| 522 | | exit 0 ;; |
| | 528 | exit ;; |
| 523 | 529 | M88*:*:R3*:*) |
| 524 | 530 | # Delta 88k system running SVR3 |
| 525 | 531 | echo m88k-motorola-sysv3 |
| 526 | | exit 0 ;; |
| | 532 | exit ;; |
| 527 | 533 | XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) |
| 528 | 534 | echo m88k-tektronix-sysv3 |
| 529 | | exit 0 ;; |
| | 535 | exit ;; |
| 530 | 536 | Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) |
| 531 | 537 | echo m68k-tektronix-bsd |
| 532 | | exit 0 ;; |
| | 538 | exit ;; |
| 533 | 539 | *:IRIX*:*:*) |
| 534 | 540 | echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` |
| 535 | | exit 0 ;; |
| | 541 | exit ;; |
| 536 | 542 | ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. |
| 537 | | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
| 538 | | exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' |
| | 543 | echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id |
| | 544 | exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' |
| 539 | 545 | i*86:AIX:*:*) |
| 540 | 546 | echo i386-ibm-aix |
| 541 | | exit 0 ;; |
| | 547 | exit ;; |
| 542 | 548 | ia64:AIX:*:*) |
| 543 | 549 | if [ -x /usr/bin/oslevel ] ; then |
| … |
… |
|
| 547 | 553 | fi |
| 548 | 554 | echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} |
| 549 | | exit 0 ;; |
| | 555 | exit ;; |
| 550 | 556 | *:AIX:2:3) |
| 551 | 557 | if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then |
| … |
… |
|
| 562 | 568 | } |
| 563 | 569 | EOF |
| 564 | | $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 |
| 565 | | echo rs6000-ibm-aix3.2.5 |
| | 570 | if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` |
| | 571 | then |
| | 572 | echo "$SYSTEM_NAME" |
| | 573 | else |
| | 574 | echo rs6000-ibm-aix3.2.5 |
| | 575 | fi |
| 566 | 576 | elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then |
| 567 | 577 | echo rs6000-ibm-aix3.2.4 |
| … |
… |
|
| 569 | 579 | echo rs6000-ibm-aix3.2 |
| 570 | 580 | fi |
| 571 | | exit 0 ;; |
| | 581 | exit ;; |
| 572 | 582 | *:AIX:*:[45]) |
| 573 | 583 | IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` |
| … |
… |
|
| 583 | 593 | fi |
| 584 | 594 | echo ${IBM_ARCH}-ibm-aix${IBM_REV} |
| 585 | | exit 0 ;; |
| | 595 | exit ;; |
| 586 | 596 | *:AIX:*:*) |
| 587 | 597 | echo rs6000-ibm-aix |
| 588 | | exit 0 ;; |
| | 598 | exit ;; |
| 589 | 599 | ibmrt:4.4BSD:*|romp-ibm:BSD:*) |
| 590 | 600 | echo romp-ibm-bsd4.4 |
| 591 | | exit 0 ;; |
| | 601 | exit ;; |
| 592 | 602 | ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and |
| 593 | 603 | echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to |
| 594 | | exit 0 ;; # report: romp-ibm BSD 4.3 |
| | 604 | exit ;; # report: romp-ibm BSD 4.3 |
| 595 | 605 | *:BOSX:*:*) |
| 596 | 606 | echo rs6000-bull-bosx |
| 597 | | exit 0 ;; |
| | 607 | exit ;; |
| 598 | 608 | DPX/2?00:B.O.S.:*:*) |
| 599 | 609 | echo m68k-bull-sysv3 |
| 600 | | exit 0 ;; |
| | 610 | exit ;; |
| 601 | 611 | 9000/[34]??:4.3bsd:1.*:*) |
| 602 | 612 | echo m68k-hp-bsd |
| 603 | | exit 0 ;; |
| | 613 | exit ;; |
| 604 | 614 | hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) |
| 605 | 615 | echo m68k-hp-bsd4.4 |
| 606 | | exit 0 ;; |
| | 616 | exit ;; |
| 607 | 617 | 9000/[34678]??:HP-UX:*:*) |
| 608 | 618 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |
| … |
… |
|
| 668 | 678 | # avoid double evaluation of $set_cc_for_build |
| 669 | 679 | test -n "$CC_FOR_BUILD" || eval $set_cc_for_build |
| 670 | | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null |
| | 680 | |
| | 681 | # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating |
| | 682 | # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler |
| | 683 | # generating 64-bit code. GNU and HP use different nomenclature: |
| | 684 | # |
| | 685 | # $ CC_FOR_BUILD=cc ./config.guess |
| | 686 | # => hppa2.0w-hp-hpux11.23 |
| | 687 | # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess |
| | 688 | # => hppa64-hp-hpux11.23 |
| | 689 | |
| | 690 | if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | |
| | 691 | grep __LP64__ >/dev/null |
| 671 | 692 | then |
| 672 | 693 | HP_ARCH="hppa2.0w" |
| … |
… |
|
| 676 | 697 | fi |
| 677 | 698 | echo ${HP_ARCH}-hp-hpux${HPUX_REV} |
| 678 | | exit 0 ;; |
| | 699 | exit ;; |
| 679 | 700 | ia64:HP-UX:*:*) |
| 680 | 701 | HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` |
| 681 | 702 | echo ia64-hp-hpux${HPUX_REV} |
| 682 | | exit 0 ;; |
| | 703 | exit ;; |
| 683 | 704 | 3050*:HI-UX:*:*) |
| 684 | 705 | eval $set_cc_for_build |
| … |
… |
|
| 708 | 729 | } |
| 709 | 730 | EOF |
| 710 | | $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 |
| | 731 | $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && |
| | 732 | { echo "$SYSTEM_NAME"; exit; } |
| 711 | 733 | echo unknown-hitachi-hiuxwe2 |
| 712 | | exit 0 ;; |
| | 734 | exit ;; |
| 713 | 735 | 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) |
| 714 | 736 | echo hppa1.1-hp-bsd |
| 715 | | exit 0 ;; |
| | 737 | exit ;; |
| 716 | 738 | 9000/8??:4.3bsd:*:*) |
| 717 | 739 | echo hppa1.0-hp-bsd |
| 718 | | exit 0 ;; |
| | 740 | exit ;; |
| 719 | 741 | *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) |
| 720 | 742 | echo hppa1.0-hp-mpeix |
| 721 | | exit 0 ;; |
| | 743 | exit ;; |
| 722 | 744 | hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) |
| 723 | 745 | echo hppa1.1-hp-osf |
| 724 | | exit 0 ;; |
| | 746 | exit ;; |
| 725 | 747 | hp8??:OSF1:*:*) |
| 726 | 748 | echo hppa1.0-hp-osf |
| 727 | | exit 0 ;; |
| | 749 | exit ;; |
| 728 | 750 | i*86:OSF1:*:*) |
| 729 | 751 | if [ -x /usr/sbin/sysversion ] ; then |
| … |
… |
|
| 732 | 754 | echo ${UNAME_MACHINE}-unknown-osf1 |
| 733 | 755 | fi |
| 734 | | exit 0 ;; |
| | 756 | exit ;; |
| 735 | 757 | parisc*:Lites*:*:*) |
| 736 | 758 | echo hppa1.1-hp-lites |
| 737 | | exit 0 ;; |
| | 759 | exit ;; |
| 738 | 760 | C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) |
| 739 | 761 | echo c1-convex-bsd |
| 740 | | exit 0 ;; |
| | 762 | exit ;; |
| 741 | 763 | C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) |
| 742 | 764 | if getsysinfo -f scalar_acc |
| … |
… |
|
| 744 | 766 | else echo c2-convex-bsd |
| 745 | 767 | fi |
| 746 | | exit 0 ;; |
| | 768 | exit ;; |
| 747 | 769 | C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) |
| 748 | 770 | echo c34-convex-bsd |
| 749 | | exit 0 ;; |
| | 771 | exit ;; |
| 750 | 772 | C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) |
| 751 | 773 | echo c38-convex-bsd |
| 752 | | exit 0 ;; |
| | 774 | exit ;; |
| 753 | 775 | C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) |
| 754 | 776 | echo c4-convex-bsd |
| 755 | | exit 0 ;; |
| | 777 | exit ;; |
| 756 | 778 | CRAY*Y-MP:*:*:*) |
| 757 | 779 | echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
| 758 | | exit 0 ;; |
| | 780 | exit ;; |
| 759 | 781 | CRAY*[A-Z]90:*:*:*) |
| 760 | 782 | echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ |
| … |
… |
|
| 762 | 784 | -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ |
| 763 | 785 | -e 's/\.[^.]*$/.X/' |
| 764 | | exit 0 ;; |
| | 786 | exit ;; |
| 765 | 787 | CRAY*TS:*:*:*) |
| 766 | 788 | echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
| 767 | | exit 0 ;; |
| | 789 | exit ;; |
| 768 | 790 | CRAY*T3E:*:*:*) |
| 769 | 791 | echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
| 770 | | exit 0 ;; |
| | 792 | exit ;; |
| 771 | 793 | CRAY*SV1:*:*:*) |
| 772 | 794 | echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
| 773 | | exit 0 ;; |
| | 795 | exit ;; |
| 774 | 796 | *:UNICOS/mp:*:*) |
| 775 | 797 | echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' |
| 776 | | exit 0 ;; |
| | 798 | exit ;; |
| 777 | 799 | F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) |
| 778 | 800 | FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` |
| … |
… |
|
| 780 | 802 | FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` |
| 781 | 803 | echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
| 782 | | exit 0 ;; |
| | 804 | exit ;; |
| 783 | 805 | 5000:UNIX_System_V:4.*:*) |
| 784 | 806 | FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` |
| 785 | 807 | FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` |
| 786 | 808 | echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" |
| 787 | | exit 0 ;; |
| | 809 | exit ;; |
| 788 | 810 | i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) |
| 789 | 811 | echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} |
| 790 | | exit 0 ;; |
| | 812 | exit ;; |
| 791 | 813 | sparc*:BSD/OS:*:*) |
| 792 | 814 | echo sparc-unknown-bsdi${UNAME_RELEASE} |
| 793 | | exit 0 ;; |
| | 815 | exit ;; |
| 794 | 816 | *:BSD/OS:*:*) |
| 795 | 817 | echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} |
| 796 | | exit 0 ;; |
| | 818 | exit ;; |
| 797 | 819 | *:FreeBSD:*:*) |
| 798 | 820 | echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
| 799 | | exit 0 ;; |
| | 821 | exit ;; |
| 800 | 822 | i*:CYGWIN*:*) |
| 801 | 823 | echo ${UNAME_MACHINE}-pc-cygwin |
| 802 | | exit 0 ;; |
| | 824 | exit ;; |
| 803 | 825 | i*:MINGW*:*) |
| 804 | 826 | echo ${UNAME_MACHINE}-pc-mingw32 |
| 805 | | exit 0 ;; |
| | 827 | exit ;; |
| | 828 | i*:windows32*:*) |
| | 829 | # uname -m includes "-pc" on this system. |
| | 830 | echo ${UNAME_MACHINE}-mingw32 |
| | 831 | exit ;; |
| 806 | 832 | i*:PW*:*) |
| 807 | 833 | echo ${UNAME_MACHINE}-pc-pw32 |
| 808 | | exit 0 ;; |
| | 834 | exit ;; |
| 809 | 835 | x86:Interix*:[34]*) |
| 810 | 836 | echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' |
| 811 | | exit 0 ;; |
| | 837 | exit ;; |
| 812 | 838 | [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) |
| 813 | 839 | echo i${UNAME_MACHINE}-pc-mks |
| 814 | | exit 0 ;; |
| | 840 | exit ;; |
| 815 | 841 | i*:Windows_NT*:* | Pentium*:Windows_NT*:*) |
| 816 | 842 | # How do we know it's Interix rather than the generic POSIX subsystem? |
| … |
… |
|
| 818 | 844 | # UNAME_MACHINE based on the output of uname instead of i386? |
| 819 | 845 | echo i586-pc-interix |
| 820 | | exit 0 ;; |
| | 846 | exit ;; |
| 821 | 847 | i*:UWIN*:*) |
| 822 | 848 | echo ${UNAME_MACHINE}-pc-uwin |
| 823 | | exit 0 ;; |
| | 849 | exit ;; |
| 824 | 850 | amd64:CYGWIN*:*:*) |
| 825 | 851 | echo x86_64-unknown-cygwin |
| 826 | | exit 0 ;; |
| | 852 | exit ;; |
| 827 | 853 | p*:CYGWIN*:*) |
| 828 | 854 | echo powerpcle-unknown-cygwin |
| 829 | | exit 0 ;; |
| | 855 | exit ;; |
| 830 | 856 | prep*:SunOS:5.*:*) |
| 831 | 857 | echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
| 832 | | exit 0 ;; |
| | 858 | exit ;; |
| 833 | 859 | *:GNU:*:*) |
| 834 | 860 | # the GNU system |
| 835 | 861 | echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` |
| 836 | | exit 0 ;; |
| | 862 | exit ;; |
| 837 | 863 | *:GNU/*:*:*) |
| 838 | 864 | # other systems with GNU libc and userland |
| 839 | 865 | echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu |
| 840 | | exit 0 ;; |
| | 866 | exit ;; |
| 841 | 867 | i*86:Minix:*:*) |
| 842 | 868 | echo ${UNAME_MACHINE}-pc-minix |
| 843 | | exit 0 ;; |
| | 869 | exit ;; |
| 844 | 870 | arm*:Linux:*:*) |
| 845 | 871 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 846 | | exit 0 ;; |
| | 872 | exit ;; |
| 847 | 873 | cris:Linux:*:*) |
| 848 | 874 | echo cris-axis-linux-${LIBC} |
| 849 | | exit 0 ;; |
| | 875 | exit ;; |
| 850 | 876 | crisv32:Linux:*:*) |
| 851 | 877 | echo crisv32-axis-linux-${LIBC} |
| 852 | | exit 0 ;; |
| | 878 | exit ;; |
| 853 | 879 | frv:Linux:*:*) |
| 854 | 880 | echo frv-unknown-linux-${LIBC} |
| 855 | | exit 0 ;; |
| | 881 | exit ;; |
| 856 | 882 | ia64:Linux:*:*) |
| 857 | 883 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 858 | | exit 0 ;; |
| | 884 | exit ;; |
| 859 | 885 | m32r*:Linux:*:*) |
| 860 | 886 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 861 | | exit 0 ;; |
| | 887 | exit ;; |
| 862 | 888 | m68*:Linux:*:*) |
| 863 | 889 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 864 | | exit 0 ;; |
| | 890 | exit ;; |
| 865 | 891 | mips:Linux:*:*) |
| 866 | 892 | eval $set_cc_for_build |
| … |
… |
|
| 880 | 906 | EOF |
| 881 | 907 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` |
| 882 | | test x"${CPU}" != x && echo "${CPU}-unknown-linux-${LIBC}" && exit 0 |
| | 908 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } |
| 883 | 909 | ;; |
| 884 | 910 | mips64:Linux:*:*) |
| … |
… |
|
| 899 | 925 | EOF |
| 900 | 926 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` |
| 901 | | test x"${CPU}" != x && echo "${CPU}-unknown-linux-${LIBC}" && exit 0 |
| | 927 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } |
| 902 | 928 | ;; |
| 903 | 929 | ppc:Linux:*:*) |
| 904 | 930 | echo powerpc-unknown-linux-${LIBC} |
| 905 | | exit 0 ;; |
| | 931 | exit ;; |
| 906 | 932 | ppc64:Linux:*:*) |
| 907 | 933 | echo powerpc64-unknown-linux-${LIBC} |
| 908 | | exit 0 ;; |
| | 934 | exit ;; |
| 909 | 935 | alpha:Linux:*:*) |
| 910 | 936 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in |
| … |
… |
|
| 920 | 946 | if test "$?" = 0 ; then LIBC="gnulibc1" ; fi |
| 921 | 947 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 922 | | exit 0 ;; |
| | 948 | exit ;; |
| 923 | 949 | parisc:Linux:*:* | hppa:Linux:*:*) |
| 924 | 950 | # Look for CPU level |
| … |
… |
|
| 928 | 954 | *) echo hppa-unknown-linux-${LIBC} ;; |
| 929 | 955 | esac |
| 930 | | exit 0 ;; |
| | 956 | exit ;; |
| 931 | 957 | parisc64:Linux:*:* | hppa64:Linux:*:*) |
| 932 | 958 | echo hppa64-unknown-linux-${LIBC} |
| 933 | | exit 0 ;; |
| | 959 | exit ;; |
| 934 | 960 | s390:Linux:*:* | s390x:Linux:*:*) |
| 935 | 961 | echo ${UNAME_MACHINE}-ibm-linux |
| 936 | | exit 0 ;; |
| | 962 | exit ;; |
| 937 | 963 | sh64*:Linux:*:*) |
| 938 | 964 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 939 | | exit 0 ;; |
| | 965 | exit ;; |
| 940 | 966 | sh*:Linux:*:*) |
| 941 | 967 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 942 | | exit 0 ;; |
| | 968 | exit ;; |
| 943 | 969 | sparc:Linux:*:* | sparc64:Linux:*:*) |
| 944 | 970 | echo ${UNAME_MACHINE}-unknown-linux-${LIBC} |
| 945 | | exit 0 ;; |
| | 971 | exit ;; |
| 946 | 972 | x86_64:Linux:*:*) |
| 947 | 973 | echo x86_64-unknown-linux-${LIBC} |
| 948 | | exit 0 ;; |
| | 974 | exit ;; |
| 949 | 975 | i*86:Linux:*:*) |
| 950 | 976 | # The BFD linker knows what the default object file format is, so |
| … |
… |
|
| 964 | 990 | a.out-i386-linux) |
| 965 | 991 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout" |
| 966 | | exit 0 ;; |
| | 992 | exit ;; |
| 967 | 993 | coff-i386) |
| 968 | 994 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff" |
| 969 | | exit 0 ;; |
| | 995 | exit ;; |
| 970 | 996 | "") |
| 971 | 997 | # Either a pre-BFD a.out linker (linux-gnuoldld) or |
| 972 | 998 | # one that does not give us useful --help. |
| 973 | 999 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld" |
| 974 | | exit 0 ;; |
| | 1000 | exit ;; |
| 975 | 1001 | esac |
| 976 | | if [ "`echo $LIBC | sed -e 's:uclibc::'`" != "$LIBC" ] ; then echo "$TENTATIVE" && exit 0 ; fi |
| | 1002 | if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi |
| 977 | 1003 | # Determine whether the default compiler is a.out or elf |
| 978 | 1004 | eval $set_cc_for_build |
| … |
… |
|
| 1001 | 1027 | EOF |
| 1002 | 1028 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` |
| 1003 | | test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 |
| 1004 | | test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 |
| | 1029 | test x"${LIBC}" != x && { |
| | 1030 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" |
| | 1031 | exit |
| | 1032 | } |
| | 1033 | test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } |
| 1005 | 1034 | ;; |
| 1006 | 1035 | i*86:DYNIX/ptx:4*:*) |
| … |
… |
|
| 1009 | 1038 | # sysname and nodename. |
| 1010 | 1039 | echo i386-sequent-sysv4 |
| 1011 | | exit 0 ;; |
| | 1040 | exit ;; |
| 1012 | 1041 | i*86:UNIX_SV:4.2MP:2.*) |
| 1013 | 1042 | # Unixware is an offshoot of SVR4, but it has its own version |
| … |
… |
|
| 1017 | 1046 | # Use sysv4.2uw... so that sysv4* matches it. |
| 1018 | 1047 | echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} |
| 1019 | | exit 0 ;; |
| | 1048 | exit ;; |
| 1020 | 1049 | i*86:OS/2:*:*) |
| 1021 | 1050 | # If we were able to find `uname', then EMX Unix compatibility |
| 1022 | 1051 | # is probably installed. |
| 1023 | 1052 | echo ${UNAME_MACHINE}-pc-os2-emx |
| 1024 | | exit 0 ;; |
| | 1053 | exit ;; |
| 1025 | 1054 | i*86:XTS-300:*:STOP) |
| 1026 | 1055 | echo ${UNAME_MACHINE}-unknown-stop |
| 1027 | | exit 0 ;; |
| | 1056 | exit ;; |
| 1028 | 1057 | i*86:atheos:*:*) |
| 1029 | 1058 | echo ${UNAME_MACHINE}-unknown-atheos |
| 1030 | | exit 0 ;; |
| 1031 | | i*86:syllable:*:*) |
| | 1059 | exit ;; |
| | 1060 | i*86:syllable:*:*) |
| 1032 | 1061 | echo ${UNAME_MACHINE}-pc-syllable |
| 1033 | | exit 0 ;; |
| | 1062 | exit ;; |
| 1034 | 1063 | i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) |
| 1035 | 1064 | echo i386-unknown-lynxos${UNAME_RELEASE} |
| 1036 | | exit 0 ;; |
| | 1065 | exit ;; |
| 1037 | 1066 | i*86:*DOS:*:*) |
| 1038 | 1067 | echo ${UNAME_MACHINE}-pc-msdosdjgpp |
| 1039 | | exit 0 ;; |
| | 1068 | exit ;; |
| 1040 | 1069 | i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) |
| 1041 | 1070 | UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` |
| … |
… |
|
| 1045 | 1074 | echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} |
| 1046 | 1075 | fi |
| 1047 | | exit 0 ;; |
| 1048 | | i*86:*:5:[78]*) |
| | 1076 | exit ;; |
| | 1077 | i*86:*:5:[678]*) |
| | 1078 | # UnixWare 7.x, OpenUNIX and OpenServer 6. |
| 1049 | 1079 | case `/bin/uname -X | grep "^Machine"` in |
| 1050 | 1080 | *486*) UNAME_MACHINE=i486 ;; |
| … |
… |
|
| 1053 | 1083 | esac |
| 1054 | 1084 | echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} |
| 1055 | | exit 0 ;; |
| | 1085 | exit ;; |
| 1056 | 1086 | i*86:*:3.2:*) |
| 1057 | 1087 | if test -f /usr/options/cb.name; then |
| … |
… |
|
| 1071 | 1101 | echo ${UNAME_MACHINE}-pc-sysv32 |
| 1072 | 1102 | fi |
| 1073 | | exit 0 ;; |
| | 1103 | exit ;; |
| 1074 | 1104 | pc:*:*:*) |
| 1075 | 1105 | # Left here for compatibility: |
| … |
… |
|
| 1077 | 1107 | # the processor, so we play safe by assuming i386. |
| 1078 | 1108 | echo i386-pc-msdosdjgpp |
| 1079 | | exit 0 ;; |
| | 1109 | exit ;; |
| 1080 | 1110 | Intel:Mach:3*:*) |
| 1081 | 1111 | echo i386-pc-mach3 |
| 1082 | | exit 0 ;; |
| | 1112 | exit ;; |
| 1083 | 1113 | paragon:*:*:*) |
| 1084 | 1114 | echo i860-intel-osf1 |
| 1085 | | exit 0 ;; |
| | 1115 | exit ;; |
| 1086 | 1116 | i860:*:4.*:*) # i860-SVR4 |
| 1087 | 1117 | if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then |
| … |
… |
|
| 1090 | 1120 | echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 |
| 1091 | 1121 | fi |
| 1092 | | exit 0 ;; |
| | 1122 | exit ;; |
| 1093 | 1123 | mini*:CTIX:SYS*5:*) |
| 1094 | 1124 | # "miniframe" |
| 1095 | 1125 | echo m68010-convergent-sysv |
| 1096 | | exit 0 ;; |
| | 1126 | exit ;; |
| 1097 | 1127 | mc68k:UNIX:SYSTEM5:3.51m) |
| 1098 | 1128 | echo m68k-convergent-sysv |
| 1099 | | exit 0 ;; |
| | 1129 | exit ;; |
| 1100 | 1130 | M680?0:D-NIX:5.3:*) |
| 1101 | 1131 | echo m68k-diab-dnix |
| 1102 | | exit 0 ;; |
| | 1132 | exit ;; |
| 1103 | 1133 | M68*:*:R3V[5678]*:*) |
| 1104 | | test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; |
| | 1134 | test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; |
| 1105 | 1135 | 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) |
| 1106 | 1136 | OS_REL='' |
| … |
… |
|
| 1108 | 1138 | && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` |
| 1109 | 1139 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
| 1110 | | && echo i486-ncr-sysv4.3${OS_REL} && exit 0 |
| | 1140 | && { echo i486-ncr-sysv4.3${OS_REL}; exit; } |
| 1111 | 1141 | /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ |
| 1112 | | && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; |
| | 1142 | && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; |
| 1113 | 1143 | 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) |
| 1114 | 1144 | /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ |
| 1115 | | && echo i486-ncr-sysv4 && exit 0 ;; |
| | 1145 | && { echo i486-ncr-sysv4; exit; } ;; |
| 1116 | 1146 | m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) |
| 1117 | 1147 | echo m68k-unknown-lynxos${UNAME_RELEASE} |
| 1118 | | exit 0 ;; |
| | 1148 | exit ;; |
| 1119 | 1149 | mc68030:UNIX_System_V:4.*:*) |
| 1120 | 1150 | echo m68k-atari-sysv4 |
| 1121 | | exit 0 ;; |
| | 1151 | exit ;; |
| 1122 | 1152 | TSUNAMI:LynxOS:2.*:*) |
| 1123 | 1153 | echo sparc-unknown-lynxos${UNAME_RELEASE} |
| 1124 | | exit 0 ;; |
| | 1154 | exit ;; |
| 1125 | 1155 | rs6000:LynxOS:2.*:*) |
| 1126 | 1156 | echo rs6000-unknown-lynxos${UNAME_RELEASE} |
| 1127 | | exit 0 ;; |
| | 1157 | exit ;; |
| 1128 | 1158 | PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) |
| 1129 | 1159 | echo powerpc-unknown-lynxos${UNAME_RELEASE} |
| 1130 | | exit 0 ;; |
| | 1160 | exit ;; |
| 1131 | 1161 | SM[BE]S:UNIX_SV:*:*) |
| 1132 | 1162 | echo mips-dde-sysv${UNAME_RELEASE} |
| 1133 | | exit 0 ;; |
| | 1163 | exit ;; |
| 1134 | 1164 | RM*:ReliantUNIX-*:*:*) |
| 1135 | 1165 | echo mips-sni-sysv4 |
| 1136 | | exit 0 ;; |
| | 1166 | exit ;; |
| 1137 | 1167 | RM*:SINIX-*:*:*) |
| 1138 | 1168 | echo mips-sni-sysv4 |
| 1139 | | exit 0 ;; |
| | 1169 | exit ;; |
| 1140 | 1170 | *:SINIX-*:*:*) |
| 1141 | 1171 | if uname -p 2>/dev/null >/dev/null ; then |
| … |
… |
|
| 1145 | 1175 | echo ns32k-sni-sysv |
| 1146 | 1176 | fi |
| 1147 | | exit 0 ;; |
| | 1177 | exit ;; |
| 1148 | 1178 | PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort |
| 1149 | 1179 | # says <Richard.M.Bartel@ccMail.Census.GOV> |
| 1150 | 1180 | echo i586-unisys-sysv4 |
| 1151 | | exit 0 ;; |
| | 1181 | exit ;; |
| 1152 | 1182 | *:UNIX_System_V:4*:FTX*) |
| 1153 | 1183 | # From Gerald Hewes <hewes@openmarket.com>. |
| 1154 | 1184 | # How about differentiating between stratus architectures? -djm |
| 1155 | 1185 | echo hppa1.1-stratus-sysv4 |
| 1156 | | exit 0 ;; |
| | 1186 | exit ;; |
| 1157 | 1187 | *:*:*:FTX*) |
| 1158 | 1188 | # From seanf@swdc.stratus.com. |
| 1159 | 1189 | echo i860-stratus-sysv4 |
| 1160 | | exit 0 ;; |
| | 1190 | exit ;; |
| | 1191 | i*86:VOS:*:*) |
| | 1192 | # From Paul.Green@stratus.com. |
| | 1193 | echo ${UNAME_MACHINE}-stratus-vos |
| | 1194 | exit ;; |
| 1161 | 1195 | *:VOS:*:*) |
| 1162 | 1196 | # From Paul.Green@stratus.com. |
| 1163 | 1197 | echo hppa1.1-stratus-vos |
| 1164 | | exit 0 ;; |
| | 1198 | exit ;; |
| 1165 | 1199 | mc68*:A/UX:*:*) |
| 1166 | 1200 | echo m68k-apple-aux${UNAME_RELEASE} |
| 1167 | | exit 0 ;; |
| | 1201 | exit ;; |
| 1168 | 1202 | news*:NEWS-OS:6*:*) |
| 1169 | 1203 | echo mips-sony-newsos6 |
| 1170 | | exit 0 ;; |
| | 1204 | exit ;; |
| 1171 | 1205 | R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) |
| 1172 | 1206 | if [ -d /usr/nec ]; then |
| … |
… |
|
| 1175 | 1209 | echo mips-unknown-sysv${UNAME_RELEASE} |
| 1176 | 1210 | fi |
| 1177 | | exit 0 ;; |
| | 1211 | exit ;; |
| 1178 | 1212 | BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. |
| 1179 | 1213 | echo powerpc-be-beos |
| 1180 | | exit 0 ;; |
| | 1214 | exit ;; |
| 1181 | 1215 | BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. |
| 1182 | 1216 | echo powerpc-apple-beos |
| 1183 | | exit 0 ;; |
| | 1217 | exit ;; |
| 1184 | 1218 | BePC:BeOS:*:*) # BeOS running on Intel PC compatible. |
| 1185 | 1219 | echo i586-pc-beos |
| 1186 | | exit 0 ;; |
| | 1220 | exit ;; |
| 1187 | 1221 | SX-4:SUPER-UX:*:*) |
| 1188 | 1222 | echo sx4-nec-superux${UNAME_RELEASE} |
| 1189 | | exit 0 ;; |
| | 1223 | exit ;; |
| 1190 | 1224 | SX-5:SUPER-UX:*:*) |
| 1191 | 1225 | echo sx5-nec-superux${UNAME_RELEASE} |
| 1192 | | exit 0 ;; |
| | 1226 | exit ;; |
| 1193 | 1227 | SX-6:SUPER-UX:*:*) |
| 1194 | 1228 | echo sx6-nec-superux${UNAME_RELEASE} |
| 1195 | | exit 0 ;; |
| | 1229 | exit ;; |
| 1196 | 1230 | Power*:Rhapsody:*:*) |
| 1197 | 1231 | echo powerpc-apple-rhapsody${UNAME_RELEASE} |
| 1198 | | exit 0 ;; |
| | 1232 | exit ;; |
| 1199 | 1233 | *:Rhapsody:*:*) |
| 1200 | 1234 | echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} |
| 1201 | | exit 0 ;; |
| | 1235 | exit ;; |
| 1202 | 1236 | *:Darwin:*:*) |
| 1203 | 1237 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
| … |
… |
|
| 1207 | 1241 | esac |
| 1208 | 1242 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
| 1209 | | exit 0 ;; |
| | 1243 | exit ;; |
| 1210 | 1244 | *:procnto*:*:* | *:QNX:[0123456789]*:*) |
| 1211 | 1245 | UNAME_PROCESSOR=`uname -p` |
| … |
… |
|
| 1215 | 1249 | fi |
| 1216 | 1250 | echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} |
| 1217 | | exit 0 ;; |
| | 1251 | exit ;; |
| 1218 | 1252 | *:QNX:*:4*) |
| 1219 | 1253 | echo i386-pc-qnx |
| 1220 | | exit 0 ;; |
| | 1254 | exit ;; |
| 1221 | 1255 | NSE-?:NONSTOP_KERNEL:*:*) |
| 1222 | 1256 | echo nse-tandem-nsk${UNAME_RELEASE} |
| 1223 | | exit 0 ;; |
| | 1257 | exit ;; |
| 1224 | 1258 | NSR-?:NONSTOP_KERNEL:*:*) |
| 1225 | 1259 | echo nsr-tandem-nsk${UNAME_RELEASE} |
| 1226 | | exit 0 ;; |
| | 1260 | exit ;; |
| 1227 | 1261 | *:NonStop-UX:*:*) |
| 1228 | 1262 | echo mips-compaq-nonstopux |
| 1229 | | exit 0 ;; |
| | 1263 | exit ;; |
| 1230 | 1264 | BS2000:POSIX*:*:*) |
| 1231 | 1265 | echo bs2000-siemens-sysv |
| 1232 | | exit 0 ;; |
| | 1266 | exit ;; |
| 1233 | 1267 | DS/*:UNIX_System_V:*:*) |
| 1234 | 1268 | echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} |
| 1235 | | exit 0 ;; |
| | 1269 | exit ;; |
| 1236 | 1270 | *:Plan9:*:*) |
| 1237 | 1271 | # "uname -m" is not consistent, so use $cputype instead. 386 |
| … |
… |
|
| 1244 | 1278 | fi |
| 1245 | 1279 | echo ${UNAME_MACHINE}-unknown-plan9 |
| 1246 | | exit 0 ;; |
| | 1280 | exit ;; |
| 1247 | 1281 | *:TOPS-10:*:*) |
| 1248 | 1282 | echo pdp10-unknown-tops10 |
| 1249 | | exit 0 ;; |
| | 1283 | exit ;; |
| 1250 | 1284 | *:TENEX:*:*) |
| 1251 | 1285 | echo pdp10-unknown-tenex |
| 1252 | | exit 0 ;; |
| | 1286 | exit ;; |
| 1253 | 1287 | KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) |
| 1254 | 1288 | echo pdp10-dec-tops20 |
| 1255 | | exit 0 ;; |
| | 1289 | exit ;; |
| 1256 | 1290 | XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) |
| 1257 | 1291 | echo pdp10-xkl-tops20 |
| 1258 | | exit 0 ;; |
| | 1292 | exit ;; |
| 1259 | 1293 | *:TOPS-20:*:*) |
| 1260 | 1294 | echo pdp10-unknown-tops20 |
| 1261 | | exit 0 ;; |
| | 1295 | exit ;; |
| 1262 | 1296 | *:ITS:*:*) |
| 1263 | 1297 | echo pdp10-unknown-its |
| 1264 | | exit 0 ;; |
| | 1298 | exit ;; |
| 1265 | 1299 | SEI:*:*:SEIUX) |
| 1266 | 1300 | echo mips-sei-seiux${UNAME_RELEASE} |
| 1267 | | exit 0 ;; |
| | 1301 | exit ;; |
| 1268 | 1302 | *:DragonFly:*:*) |
| 1269 | 1303 | echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` |
| 1270 | | exit 0 ;; |
| | 1304 | exit ;; |
| 1271 | 1305 | *:*VMS:*:*) |
| 1272 | 1306 | UNAME_MACHINE=`(uname -p) 2>/dev/null` |
| 1273 | 1307 | case "${UNAME_MACHINE}" in |
| 1274 | | A*) echo alpha-dec-vms && exit 0 ;; |
| 1275 | | I*) echo ia64-dec-vms && exit 0 ;; |
| 1276 | | V*) echo vax-dec-vms && exit 0 ;; |
| | 1308 | A*) echo alpha-dec-vms ; exit ;; |
| | 1309 | I*) echo ia64-dec-vms ; exit ;; |
| | 1310 | V*) echo vax-dec-vms ; exit ;; |
| 1277 | 1311 | esac ;; |
| 1278 | 1312 | *:XENIX:*:SysV) |
| 1279 | 1313 | echo i386-pc-xenix |
| 1280 | | exit 0 ;; |
| | 1314 | exit ;; |
| | 1315 | i*86:skyos:*:*) |
| | 1316 | echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' |
| | 1317 | exit ;; |
| 1281 | 1318 | esac |
| 1282 | 1319 | |
| … |
… |
|
| 1310 | 1347 | |
| 1311 | 1348 | #if defined (__arm) && defined (__acorn) && defined (__unix) |
| 1312 | | printf ("arm-acorn-riscix"); exit (0); |
| | 1349 | printf ("arm-acorn-riscix\n"); exit (0); |
| 1313 | 1350 | #endif |
| 1314 | 1351 | |
| … |
… |
|
| 1399 | 1436 | EOF |
| 1400 | 1437 | |
| 1401 | | $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 |
| | 1438 | $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && |
| | 1439 | { echo "$SYSTEM_NAME"; exit; } |
| 1402 | 1440 | |
| 1403 | 1441 | # Apollos put the system type in the environment. |
| 1404 | 1442 | |
| 1405 | | test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } |
| | 1443 | test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } |
| 1406 | 1444 | |
| 1407 | 1445 | # Convex versions that predate uname can use getsysinfo(1) |
| … |
… |
|
| 1412 | 1450 | c1*) |
| 1413 | 1451 | echo c1-convex-bsd |
| 1414 | | exit 0 ;; |
| | 1452 | exit ;; |
| 1415 | 1453 | c2*) |
| 1416 | 1454 | if getsysinfo -f scalar_acc |
| … |
… |
|
| 1418 | 1456 | else echo c2-convex-bsd |
| 1419 | 1457 | fi |
| 1420 | | exit 0 ;; |
| | 1458 | exit ;; |
| 1421 | 1459 | c34*) |
| 1422 | 1460 | echo c34-convex-bsd |
| 1423 | | exit 0 ;; |
| | 1461 | exit ;; |
| 1424 | 1462 | c38*) |
| 1425 | 1463 | echo c38-convex-bsd |
| 1426 | | exit 0 ;; |
| | 1464 | exit ;; |
| 1427 | 1465 | c4*) |
| 1428 | 1466 | echo c4-convex-bsd |
| 1429 | | exit 0 ;; |
| | 1467 | exit ;; |
| 1430 | 1468 | esac |
| 1431 | 1469 | fi |
-
|
rf49bdc2
|
rad849c6
|
|
| 4 | 4 | # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. |
| 5 | 5 | |
| 6 | | timestamp='2005-02-10' |
| | 6 | timestamp='2005-06-02' |
| 7 | 7 | |
| 8 | 8 | # This file is (in principle) common to ALL GNU software. |
| … |
… |
|
| 22 | 22 | # You should have received a copy of the GNU General Public License |
| 23 | 23 | # along with this program; if not, write to the Free Software |
| 24 | | # Foundation, Inc., 59 Temple Place - Suite 330, |
| 25 | | # Boston, MA 02111-1307, USA. |
| 26 | | |
| | 24 | # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA |
| | 25 | # 02110-1301, USA. |
| | 26 | # |
| 27 | 27 | # As a special exception to the GNU General Public License, if you |
| 28 | 28 | # distribute this file as part of a program that contains a |
| 29 | 29 | # configuration script generated by Autoconf, you may include it under |
| 30 | 30 | # the same distribution terms that you use for the rest of that program. |
| | 31 | |
| 31 | 32 | |
| 32 | 33 | # Please send patches to <config-patches@gnu.org>. Submit a context |
| … |
… |
|
| 84 | 85 | case $1 in |
| 85 | 86 | --time-stamp | --time* | -t ) |
| 86 | | echo "$timestamp" ; exit 0 ;; |
| | 87 | echo "$timestamp" ; exit ;; |
| 87 | 88 | --version | -v ) |
| 88 | | echo "$version" ; exit 0 ;; |
| | 89 | echo "$version" ; exit ;; |
| 89 | 90 | --help | --h* | -h ) |
| 90 | | echo "$usage"; exit 0 ;; |
| | 91 | echo "$usage"; exit ;; |
| 91 | 92 | -- ) # Stop option processing |
| 92 | 93 | shift; break ;; |
| … |
… |
|
| 100 | 101 | # First pass through any local machine types. |
| 101 | 102 | echo $1 |
| 102 | | exit 0;; |
| | 103 | exit ;; |
| 103 | 104 | |
| 104 | 105 | * ) |
| … |
… |
|
| 232 | 233 | | am33_2.0 \ |
| 233 | 234 | | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ |
| | 235 | | bfin \ |
| 234 | 236 | | c4x | clipper \ |
| 235 | | | d10v | d30v | dlx | dsp16xx \ |
| | 237 | | d10v | d30v | dlx | dsp16xx | dvp \ |
| 236 | 238 | | fr30 | frv \ |
| 237 | 239 | | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ |
| … |
… |
|
| 247 | 249 | | mips64vr4300 | mips64vr4300el \ |
| 248 | 250 | | mips64vr5000 | mips64vr5000el \ |
| | 251 | | mips64r5900 | mips64r5900el \ |
| 249 | 252 | | mipsisa32 | mipsisa32el \ |
| 250 | 253 | | mipsisa32r2 | mipsisa32r2el \ |
| … |
… |
|
| 254 | 257 | | mipsisa64sr71k | mipsisa64sr71kel \ |
| 255 | 258 | | mipstx39 | mipstx39el \ |
| 256 | | | mips64r5900 | mips64r5900el \ |
| 257 | 259 | | mn10200 | mn10300 \ |
| | 260 | | ms1 \ |
| 258 | 261 | | msp430 \ |
| 259 | 262 | | ns16k | ns32k \ |
| … |
… |
|
| 264 | 267 | | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ |
| 265 | 268 | | sh64 | sh64le \ |
| 266 | | | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ |
| | 269 | | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ |
| | 270 | | sparcv8 | sparcv9 | sparcv9b \ |
| 267 | 271 | | strongarm \ |
| 268 | | | tahoe | dvp | thumb | tic4x | tic80 | tron \ |
| | 272 | | tahoe | thumb | tic4x | tic80 | tron \ |
| 269 | 273 | | v850 | v850e \ |
| 270 | 274 | | we32k \ |
| 271 | 275 | | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ |
| 272 | 276 | | z8k) |
| | 277 | basic_machine=$basic_machine-unknown |
| | 278 | ;; |
| | 279 | m32c) |
| 273 | 280 | basic_machine=$basic_machine-unknown |
| 274 | 281 | ;; |
| … |
… |
|
| 300 | 307 | | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ |
| 301 | 308 | | avr-* \ |
| 302 | | | bs2000-* \ |
| | 309 | | bfin-* | bs2000-* \ |
| 303 | 310 | | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ |
| 304 | 311 | | clipper-* | craynv-* | cydra-* \ |
| … |
… |
|
| 321 | 328 | | mips64vr4300-* | mips64vr4300el-* \ |
| 322 | 329 | | mips64vr5000-* | mips64vr5000el-* \ |
| | 330 | | mips64r5900-* | mips64r5900el-* \ |
| 323 | 331 | | mipsisa32-* | mipsisa32el-* \ |
| 324 | 332 | | mipsisa32r2-* | mipsisa32r2el-* \ |
| … |
… |
|
| 328 | 336 | | mipsisa64sr71k-* | mipsisa64sr71kel-* \ |
| 329 | 337 | | mipstx39-* | mipstx39el-* \ |
| 330 | | | mips64r5900-* | mips64r5900el-* \ |
| 331 | 338 | | mmix-* \ |
| | 339 | | ms1-* \ |
| 332 | 340 | | msp430-* \ |
| 333 | 341 | | none-* | np1-* | ns16k-* | ns32k-* \ |
| … |
… |
|
| 339 | 347 | | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ |
| 340 | 348 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
| 341 | | | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ |
| | 349 | | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ |
| | 350 | | sparclite-* \ |
| 342 | 351 | | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ |
| 343 | 352 | | tahoe-* | thumb-* \ |
| … |
… |
|
| 350 | 359 | | ymp-* \ |
| 351 | 360 | | z8k-*) |
| | 361 | ;; |
| | 362 | m32c-*) |
| 352 | 363 | ;; |
| 353 | 364 | # Recognize the various machine names and aliases which stand |
| … |
… |
|
| 1199 | 1210 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
| 1200 | 1211 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
| 1201 | | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -irx*) |
| | 1212 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos* \ |
| | 1213 | | -irx* ) |
| 1202 | 1214 | # Remember, each alternative MUST END IN *, to match a version number. |
| 1203 | 1215 | ;; |
| … |
… |
|
| 1577 | 1589 | |
| 1578 | 1590 | echo $basic_machine$os |
| 1579 | | exit 0 |
| | 1591 | exit |
| 1580 | 1592 | |
| 1581 | 1593 | # Local variables: |