- Timestamp:
- Nov 23, 2005, 3:33:40 PM (19 years ago)
- Location:
- branches/world_entities
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/world_entities/aclocal.m4
r5479 r5739 1 # generated automatically by aclocal 1.9. 6-*- Autoconf -*-1 # generated automatically by aclocal 1.9.5 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, … … 29 29 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 30 30 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 31 [AM_AUTOMAKE_VERSION([1.9. 6])])31 [AM_AUTOMAKE_VERSION([1.9.5])]) 32 32 33 33 # AM_AUX_DIR_EXPAND -*- Autoconf -*- -
branches/world_entities/config.guess
r5479 r5739 4 4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 5 6 timestamp='2005-0 5-27'6 timestamp='2005-02-10' 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., 51 Franklin Street - Fifth Floor, Boston, MA 21 # 02110-1301, USA. 20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 22 21 # 23 22 # As a special exception to the GNU General Public License, if you … … 25 24 # configuration script generated by Autoconf, you may include it under 26 25 # the same distribution terms that you use for the rest of that program. 27 28 26 29 27 # Originally written by Per Bothner <per@bothner.com>. … … 69 67 case $1 in 70 68 --time-stamp | --time* | -t ) 71 echo "$timestamp" ; exit ;;69 echo "$timestamp" ; exit 0 ;; 72 70 --version | -v ) 73 echo "$version" ; exit ;;71 echo "$version" ; exit 0 ;; 74 72 --help | --h* | -h ) 75 echo "$usage"; exit ;;73 echo "$usage"; exit 0 ;; 76 74 -- ) # Stop option processing 77 75 shift; break ;; … … 138 136 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown 139 137 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown 140 141 if [ "${UNAME_SYSTEM}" = "Linux" ] ; then142 eval $set_cc_for_build143 cat << EOF > $dummy.c144 #include <features.h>145 #ifdef __UCLIBC__146 # ifdef __UCLIBC_CONFIG_VERSION__147 LIBC=uclibc __UCLIBC_CONFIG_VERSION__148 # else149 LIBC=uclibc150 # endif151 #else152 LIBC=gnu153 #endif154 EOF155 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep LIBC= | sed -e 's: ::g'`156 fi157 138 158 139 # Note: order is significant - the case branches are not exclusive. … … 216 197 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. 217 198 echo "${machine}-${os}${release}" 218 exit ;;199 exit 0 ;; 219 200 amd64:OpenBSD:*:*) 220 201 echo x86_64-unknown-openbsd${UNAME_RELEASE} 221 exit ;;202 exit 0 ;; 222 203 amiga:OpenBSD:*:*) 223 204 echo m68k-unknown-openbsd${UNAME_RELEASE} 224 exit ;;205 exit 0 ;; 225 206 cats:OpenBSD:*:*) 226 207 echo arm-unknown-openbsd${UNAME_RELEASE} 227 exit ;;208 exit 0 ;; 228 209 hp300:OpenBSD:*:*) 229 210 echo m68k-unknown-openbsd${UNAME_RELEASE} 230 exit ;;211 exit 0 ;; 231 212 luna88k:OpenBSD:*:*) 232 213 echo m88k-unknown-openbsd${UNAME_RELEASE} 233 exit ;;214 exit 0 ;; 234 215 mac68k:OpenBSD:*:*) 235 216 echo m68k-unknown-openbsd${UNAME_RELEASE} 236 exit ;;217 exit 0 ;; 237 218 macppc:OpenBSD:*:*) 238 219 echo powerpc-unknown-openbsd${UNAME_RELEASE} 239 exit ;;220 exit 0 ;; 240 221 mvme68k:OpenBSD:*:*) 241 222 echo m68k-unknown-openbsd${UNAME_RELEASE} 242 exit ;;223 exit 0 ;; 243 224 mvme88k:OpenBSD:*:*) 244 225 echo m88k-unknown-openbsd${UNAME_RELEASE} 245 exit ;;226 exit 0 ;; 246 227 mvmeppc:OpenBSD:*:*) 247 228 echo powerpc-unknown-openbsd${UNAME_RELEASE} 248 exit ;;229 exit 0 ;; 249 230 sgi:OpenBSD:*:*) 250 231 echo mips64-unknown-openbsd${UNAME_RELEASE} 251 exit ;;232 exit 0 ;; 252 233 sun3:OpenBSD:*:*) 253 234 echo m68k-unknown-openbsd${UNAME_RELEASE} 254 exit ;;235 exit 0 ;; 255 236 *:OpenBSD:*:*) 256 237 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} 257 exit ;;238 exit 0 ;; 258 239 *:ekkoBSD:*:*) 259 240 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} 260 exit ;;241 exit 0 ;; 261 242 macppc:MirBSD:*:*) 262 243 echo powerppc-unknown-mirbsd${UNAME_RELEASE} 263 exit ;;244 exit 0 ;; 264 245 *:MirBSD:*:*) 265 246 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} 266 exit ;;247 exit 0 ;; 267 248 alpha:OSF1:*:*) 268 249 case $UNAME_RELEASE in … … 317 298 # 1.2 uses "1.2" for uname -r. 318 299 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 319 exit ;;300 exit 0 ;; 320 301 Alpha\ *:Windows_NT*:*) 321 302 # How do we know it's Interix rather than the generic POSIX subsystem? … … 323 304 # of the specific Alpha model? 324 305 echo alpha-pc-interix 325 exit ;;306 exit 0 ;; 326 307 21064:Windows_NT:50:3) 327 308 echo alpha-dec-winnt3.5 328 exit ;;309 exit 0 ;; 329 310 Amiga*:UNIX_System_V:4.0:*) 330 311 echo m68k-unknown-sysv4 331 exit ;;312 exit 0;; 332 313 *:[Aa]miga[Oo][Ss]:*:*) 333 314 echo ${UNAME_MACHINE}-unknown-amigaos 334 exit ;;315 exit 0 ;; 335 316 *:[Mm]orph[Oo][Ss]:*:*) 336 317 echo ${UNAME_MACHINE}-unknown-morphos 337 exit ;;318 exit 0 ;; 338 319 *:OS/390:*:*) 339 320 echo i370-ibm-openedition 340 exit ;;321 exit 0 ;; 341 322 *:z/VM:*:*) 342 323 echo s390-ibm-zvmoe 343 exit ;;324 exit 0 ;; 344 325 *:OS400:*:*) 345 326 echo powerpc-ibm-os400 346 exit ;;327 exit 0 ;; 347 328 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 348 329 echo arm-acorn-riscix${UNAME_RELEASE} 349 exit ;; 350 arm:riscos:*:*|arm:RISCOS:*:*) 351 echo arm-unknown-riscos 352 exit ;; 330 exit 0;; 353 331 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) 354 332 echo hppa1.1-hitachi-hiuxmpp 355 exit ;;333 exit 0;; 356 334 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) 357 335 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. … … 361 339 echo pyramid-pyramid-bsd 362 340 fi 363 exit ;;341 exit 0 ;; 364 342 NILE*:*:*:dcosx) 365 343 echo pyramid-pyramid-svr4 366 exit ;;344 exit 0 ;; 367 345 DRS?6000:unix:4.0:6*) 368 346 echo sparc-icl-nx6 369 exit ;;347 exit 0 ;; 370 348 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) 371 349 case `/usr/bin/uname -p` in 372 sparc) echo sparc-icl-nx7 ; exit;;350 sparc) echo sparc-icl-nx7 && exit 0 ;; 373 351 esac ;; 374 352 sun4H:SunOS:5.*:*) 375 353 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 376 exit ;;354 exit 0 ;; 377 355 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 378 356 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 379 exit ;;357 exit 0 ;; 380 358 i86pc:SunOS:5.*:*) 381 359 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 382 exit ;;360 exit 0 ;; 383 361 sun4*:SunOS:6*:*) 384 362 # According to config.sub, this is the proper way to canonicalize … … 386 364 # it's likely to be more like Solaris than SunOS4. 387 365 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 388 exit ;;366 exit 0 ;; 389 367 sun4*:SunOS:*:*) 390 368 case "`/usr/bin/arch -k`" in … … 395 373 # Japanese Language versions have a version number like `4.1.3-JL'. 396 374 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` 397 exit ;;375 exit 0 ;; 398 376 sun3*:SunOS:*:*) 399 377 echo m68k-sun-sunos${UNAME_RELEASE} 400 exit ;;378 exit 0 ;; 401 379 sun*:*:4.2BSD:*) 402 380 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` … … 410 388 ;; 411 389 esac 412 exit ;;390 exit 0 ;; 413 391 aushp:SunOS:*:*) 414 392 echo sparc-auspex-sunos${UNAME_RELEASE} 415 exit ;;393 exit 0 ;; 416 394 # The situation for MiNT is a little confusing. The machine name 417 395 # can be virtually everything (everything which is not … … 424 402 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 425 403 echo m68k-atari-mint${UNAME_RELEASE} 426 exit ;;404 exit 0 ;; 427 405 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 428 406 echo m68k-atari-mint${UNAME_RELEASE} 429 exit ;;407 exit 0 ;; 430 408 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 431 409 echo m68k-atari-mint${UNAME_RELEASE} 432 exit ;;410 exit 0 ;; 433 411 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 434 412 echo m68k-milan-mint${UNAME_RELEASE} 435 exit ;;413 exit 0 ;; 436 414 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 437 415 echo m68k-hades-mint${UNAME_RELEASE} 438 exit ;;416 exit 0 ;; 439 417 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 440 418 echo m68k-unknown-mint${UNAME_RELEASE} 441 exit ;;419 exit 0 ;; 442 420 m68k:machten:*:*) 443 421 echo m68k-apple-machten${UNAME_RELEASE} 444 exit ;;422 exit 0 ;; 445 423 powerpc:machten:*:*) 446 424 echo powerpc-apple-machten${UNAME_RELEASE} 447 exit ;;425 exit 0 ;; 448 426 RISC*:Mach:*:*) 449 427 echo mips-dec-mach_bsd4.3 450 exit ;;428 exit 0 ;; 451 429 RISC*:ULTRIX:*:*) 452 430 echo mips-dec-ultrix${UNAME_RELEASE} 453 exit ;;431 exit 0 ;; 454 432 VAX*:ULTRIX*:*:*) 455 433 echo vax-dec-ultrix${UNAME_RELEASE} 456 exit ;;434 exit 0 ;; 457 435 2020:CLIX:*:* | 2430:CLIX:*:*) 458 436 echo clipper-intergraph-clix${UNAME_RELEASE} 459 exit ;;437 exit 0 ;; 460 438 mips:*:*:UMIPS | mips:*:*:RISCos) 461 439 eval $set_cc_for_build … … 481 459 } 482 460 EOF 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; } 461 $CC_FOR_BUILD -o $dummy $dummy.c \ 462 && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ 463 && exit 0 487 464 echo mips-mips-riscos${UNAME_RELEASE} 488 exit ;;465 exit 0 ;; 489 466 Motorola:PowerMAX_OS:*:*) 490 467 echo powerpc-motorola-powermax 491 exit ;;468 exit 0 ;; 492 469 Motorola:*:4.3:PL8-*) 493 470 echo powerpc-harris-powermax 494 exit ;;471 exit 0 ;; 495 472 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) 496 473 echo powerpc-harris-powermax 497 exit ;;474 exit 0 ;; 498 475 Night_Hawk:Power_UNIX:*:*) 499 476 echo powerpc-harris-powerunix 500 exit ;;477 exit 0 ;; 501 478 m88k:CX/UX:7*:*) 502 479 echo m88k-harris-cxux7 503 exit ;;480 exit 0 ;; 504 481 m88k:*:4*:R4*) 505 482 echo m88k-motorola-sysv4 506 exit ;;483 exit 0 ;; 507 484 m88k:*:3*:R3*) 508 485 echo m88k-motorola-sysv3 509 exit ;;486 exit 0 ;; 510 487 AViiON:dgux:*:*) 511 488 # DG/UX returns AViiON for all architectures … … 523 500 echo i586-dg-dgux${UNAME_RELEASE} 524 501 fi 525 exit ;;502 exit 0 ;; 526 503 M88*:DolphinOS:*:*) # DolphinOS (SVR3) 527 504 echo m88k-dolphin-sysv3 528 exit ;;505 exit 0 ;; 529 506 M88*:*:R3*:*) 530 507 # Delta 88k system running SVR3 531 508 echo m88k-motorola-sysv3 532 exit ;;509 exit 0 ;; 533 510 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) 534 511 echo m88k-tektronix-sysv3 535 exit ;;512 exit 0 ;; 536 513 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) 537 514 echo m68k-tektronix-bsd 538 exit ;;515 exit 0 ;; 539 516 *:IRIX*:*:*) 540 517 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` 541 exit ;;518 exit 0 ;; 542 519 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. 543 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id544 exit ;;# Note that: echo "'`uname -s`'" gives 'AIX '520 echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id 521 exit 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' 545 522 i*86:AIX:*:*) 546 523 echo i386-ibm-aix 547 exit ;;524 exit 0 ;; 548 525 ia64:AIX:*:*) 549 526 if [ -x /usr/bin/oslevel ] ; then … … 553 530 fi 554 531 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} 555 exit ;;532 exit 0 ;; 556 533 *:AIX:2:3) 557 534 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then … … 568 545 } 569 546 EOF 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 547 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 548 echo rs6000-ibm-aix3.2.5 576 549 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 577 550 echo rs6000-ibm-aix3.2.4 … … 579 552 echo rs6000-ibm-aix3.2 580 553 fi 581 exit ;;554 exit 0 ;; 582 555 *:AIX:*:[45]) 583 556 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` … … 593 566 fi 594 567 echo ${IBM_ARCH}-ibm-aix${IBM_REV} 595 exit ;;568 exit 0 ;; 596 569 *:AIX:*:*) 597 570 echo rs6000-ibm-aix 598 exit ;;571 exit 0 ;; 599 572 ibmrt:4.4BSD:*|romp-ibm:BSD:*) 600 573 echo romp-ibm-bsd4.4 601 exit ;;574 exit 0 ;; 602 575 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and 603 576 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to 604 exit ;;# report: romp-ibm BSD 4.3577 exit 0 ;; # report: romp-ibm BSD 4.3 605 578 *:BOSX:*:*) 606 579 echo rs6000-bull-bosx 607 exit ;;580 exit 0 ;; 608 581 DPX/2?00:B.O.S.:*:*) 609 582 echo m68k-bull-sysv3 610 exit ;;583 exit 0 ;; 611 584 9000/[34]??:4.3bsd:1.*:*) 612 585 echo m68k-hp-bsd 613 exit ;;586 exit 0 ;; 614 587 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) 615 588 echo m68k-hp-bsd4.4 616 exit ;;589 exit 0 ;; 617 590 9000/[34678]??:HP-UX:*:*) 618 591 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` … … 678 651 # avoid double evaluation of $set_cc_for_build 679 652 test -n "$CC_FOR_BUILD" || eval $set_cc_for_build 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 653 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null 692 654 then 693 655 HP_ARCH="hppa2.0w" … … 697 659 fi 698 660 echo ${HP_ARCH}-hp-hpux${HPUX_REV} 699 exit ;;661 exit 0 ;; 700 662 ia64:HP-UX:*:*) 701 663 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 702 664 echo ia64-hp-hpux${HPUX_REV} 703 exit ;;665 exit 0 ;; 704 666 3050*:HI-UX:*:*) 705 667 eval $set_cc_for_build … … 729 691 } 730 692 EOF 731 $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && 732 { echo "$SYSTEM_NAME"; exit; } 693 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 733 694 echo unknown-hitachi-hiuxwe2 734 exit ;;695 exit 0 ;; 735 696 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) 736 697 echo hppa1.1-hp-bsd 737 exit ;;698 exit 0 ;; 738 699 9000/8??:4.3bsd:*:*) 739 700 echo hppa1.0-hp-bsd 740 exit ;;701 exit 0 ;; 741 702 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) 742 703 echo hppa1.0-hp-mpeix 743 exit ;;704 exit 0 ;; 744 705 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) 745 706 echo hppa1.1-hp-osf 746 exit ;;707 exit 0 ;; 747 708 hp8??:OSF1:*:*) 748 709 echo hppa1.0-hp-osf 749 exit ;;710 exit 0 ;; 750 711 i*86:OSF1:*:*) 751 712 if [ -x /usr/sbin/sysversion ] ; then … … 754 715 echo ${UNAME_MACHINE}-unknown-osf1 755 716 fi 756 exit ;;717 exit 0 ;; 757 718 parisc*:Lites*:*:*) 758 719 echo hppa1.1-hp-lites 759 exit ;;720 exit 0 ;; 760 721 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 761 722 echo c1-convex-bsd 762 exit ;;723 exit 0 ;; 763 724 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 764 725 if getsysinfo -f scalar_acc … … 766 727 else echo c2-convex-bsd 767 728 fi 768 exit ;;729 exit 0 ;; 769 730 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 770 731 echo c34-convex-bsd 771 exit ;;732 exit 0 ;; 772 733 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 773 734 echo c38-convex-bsd 774 exit ;;735 exit 0 ;; 775 736 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 776 737 echo c4-convex-bsd 777 exit ;;738 exit 0 ;; 778 739 CRAY*Y-MP:*:*:*) 779 740 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 780 exit ;;741 exit 0 ;; 781 742 CRAY*[A-Z]90:*:*:*) 782 743 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ … … 784 745 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ 785 746 -e 's/\.[^.]*$/.X/' 786 exit ;;747 exit 0 ;; 787 748 CRAY*TS:*:*:*) 788 749 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 789 exit ;;750 exit 0 ;; 790 751 CRAY*T3E:*:*:*) 791 752 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 792 exit ;;753 exit 0 ;; 793 754 CRAY*SV1:*:*:*) 794 755 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 795 exit ;;756 exit 0 ;; 796 757 *:UNICOS/mp:*:*) 797 758 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 798 exit ;;759 exit 0 ;; 799 760 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 800 761 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` … … 802 763 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 803 764 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 804 exit ;;765 exit 0 ;; 805 766 5000:UNIX_System_V:4.*:*) 806 767 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 807 768 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 808 769 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 809 exit ;;770 exit 0 ;; 810 771 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 811 772 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 812 exit ;;773 exit 0 ;; 813 774 sparc*:BSD/OS:*:*) 814 775 echo sparc-unknown-bsdi${UNAME_RELEASE} 815 exit ;;776 exit 0 ;; 816 777 *:BSD/OS:*:*) 817 778 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 818 exit ;;779 exit 0 ;; 819 780 *:FreeBSD:*:*) 820 781 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 821 exit ;;782 exit 0 ;; 822 783 i*:CYGWIN*:*) 823 784 echo ${UNAME_MACHINE}-pc-cygwin 824 exit ;;785 exit 0 ;; 825 786 i*:MINGW*:*) 826 787 echo ${UNAME_MACHINE}-pc-mingw32 827 exit ;; 828 i*:windows32*:*) 829 # uname -m includes "-pc" on this system. 830 echo ${UNAME_MACHINE}-mingw32 831 exit ;; 788 exit 0 ;; 832 789 i*:PW*:*) 833 790 echo ${UNAME_MACHINE}-pc-pw32 834 exit ;;791 exit 0 ;; 835 792 x86:Interix*:[34]*) 836 793 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' 837 exit ;;794 exit 0 ;; 838 795 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 839 796 echo i${UNAME_MACHINE}-pc-mks 840 exit ;;797 exit 0 ;; 841 798 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 842 799 # How do we know it's Interix rather than the generic POSIX subsystem? … … 844 801 # UNAME_MACHINE based on the output of uname instead of i386? 845 802 echo i586-pc-interix 846 exit ;;803 exit 0 ;; 847 804 i*:UWIN*:*) 848 805 echo ${UNAME_MACHINE}-pc-uwin 849 exit ;;806 exit 0 ;; 850 807 amd64:CYGWIN*:*:*) 851 808 echo x86_64-unknown-cygwin 852 exit ;;809 exit 0 ;; 853 810 p*:CYGWIN*:*) 854 811 echo powerpcle-unknown-cygwin 855 exit ;;812 exit 0 ;; 856 813 prep*:SunOS:5.*:*) 857 814 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 858 exit ;;815 exit 0 ;; 859 816 *:GNU:*:*) 860 817 # the GNU system 861 818 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 862 exit ;;819 exit 0 ;; 863 820 *:GNU/*:*:*) 864 821 # other systems with GNU libc and userland 865 822 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu 866 exit ;;823 exit 0 ;; 867 824 i*86:Minix:*:*) 868 825 echo ${UNAME_MACHINE}-pc-minix 869 exit ;;826 exit 0 ;; 870 827 arm*:Linux:*:*) 871 echo ${UNAME_MACHINE}-unknown-linux- ${LIBC}872 exit ;;828 echo ${UNAME_MACHINE}-unknown-linux-gnu 829 exit 0 ;; 873 830 cris:Linux:*:*) 874 echo cris-axis-linux- ${LIBC}875 exit ;;831 echo cris-axis-linux-gnu 832 exit 0 ;; 876 833 crisv32:Linux:*:*) 877 echo crisv32-axis-linux- ${LIBC}878 exit ;;834 echo crisv32-axis-linux-gnu 835 exit 0 ;; 879 836 frv:Linux:*:*) 880 echo frv-unknown-linux- ${LIBC}881 exit ;;837 echo frv-unknown-linux-gnu 838 exit 0 ;; 882 839 ia64:Linux:*:*) 883 echo ${UNAME_MACHINE}-unknown-linux- ${LIBC}884 exit ;;840 echo ${UNAME_MACHINE}-unknown-linux-gnu 841 exit 0 ;; 885 842 m32r*:Linux:*:*) 886 echo ${UNAME_MACHINE}-unknown-linux- ${LIBC}887 exit ;;843 echo ${UNAME_MACHINE}-unknown-linux-gnu 844 exit 0 ;; 888 845 m68*:Linux:*:*) 889 echo ${UNAME_MACHINE}-unknown-linux- ${LIBC}890 exit ;;846 echo ${UNAME_MACHINE}-unknown-linux-gnu 847 exit 0 ;; 891 848 mips:Linux:*:*) 892 849 eval $set_cc_for_build … … 906 863 EOF 907 864 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 908 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }865 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 909 866 ;; 910 867 mips64:Linux:*:*) … … 925 882 EOF 926 883 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 927 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }884 test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 928 885 ;; 929 886 ppc:Linux:*:*) 930 echo powerpc-unknown-linux- ${LIBC}931 exit ;;887 echo powerpc-unknown-linux-gnu 888 exit 0 ;; 932 889 ppc64:Linux:*:*) 933 echo powerpc64-unknown-linux- ${LIBC}934 exit ;;890 echo powerpc64-unknown-linux-gnu 891 exit 0 ;; 935 892 alpha:Linux:*:*) 936 893 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in … … 944 901 esac 945 902 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null 946 if test "$?" = 0 ; then LIBC=" gnulibc1" ; fi947 echo ${UNAME_MACHINE}-unknown-linux- ${LIBC}948 exit ;;903 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi 904 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} 905 exit 0 ;; 949 906 parisc:Linux:*:* | hppa:Linux:*:*) 950 907 # Look for CPU level 951 908 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 952 PA7*) echo hppa1.1-unknown-linux- ${LIBC};;953 PA8*) echo hppa2.0-unknown-linux- ${LIBC};;954 *) echo hppa-unknown-linux- ${LIBC};;909 PA7*) echo hppa1.1-unknown-linux-gnu ;; 910 PA8*) echo hppa2.0-unknown-linux-gnu ;; 911 *) echo hppa-unknown-linux-gnu ;; 955 912 esac 956 exit ;;913 exit 0 ;; 957 914 parisc64:Linux:*:* | hppa64:Linux:*:*) 958 echo hppa64-unknown-linux- ${LIBC}959 exit ;;915 echo hppa64-unknown-linux-gnu 916 exit 0 ;; 960 917 s390:Linux:*:* | s390x:Linux:*:*) 961 918 echo ${UNAME_MACHINE}-ibm-linux 962 exit ;;919 exit 0 ;; 963 920 sh64*:Linux:*:*) 964 echo ${UNAME_MACHINE}-unknown-linux- ${LIBC}965 exit ;;921 echo ${UNAME_MACHINE}-unknown-linux-gnu 922 exit 0 ;; 966 923 sh*:Linux:*:*) 967 echo ${UNAME_MACHINE}-unknown-linux- ${LIBC}968 exit ;;924 echo ${UNAME_MACHINE}-unknown-linux-gnu 925 exit 0 ;; 969 926 sparc:Linux:*:* | sparc64:Linux:*:*) 970 echo ${UNAME_MACHINE}-unknown-linux- ${LIBC}971 exit ;;927 echo ${UNAME_MACHINE}-unknown-linux-gnu 928 exit 0 ;; 972 929 x86_64:Linux:*:*) 973 echo x86_64-unknown-linux- ${LIBC}974 exit ;;930 echo x86_64-unknown-linux-gnu 931 exit 0 ;; 975 932 i*86:Linux:*:*) 976 933 # The BFD linker knows what the default object file format is, so … … 986 943 case "$ld_supported_targets" in 987 944 elf32-i386) 988 TENTATIVE="${UNAME_MACHINE}-pc-linux- ${LIBC}"945 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" 989 946 ;; 990 947 a.out-i386-linux) 991 echo "${UNAME_MACHINE}-pc-linux- ${LIBC}aout"992 exit ;;948 echo "${UNAME_MACHINE}-pc-linux-gnuaout" 949 exit 0 ;; 993 950 coff-i386) 994 echo "${UNAME_MACHINE}-pc-linux- ${LIBC}coff"995 exit ;;951 echo "${UNAME_MACHINE}-pc-linux-gnucoff" 952 exit 0 ;; 996 953 "") 997 954 # Either a pre-BFD a.out linker (linux-gnuoldld) or 998 955 # one that does not give us useful --help. 999 echo "${UNAME_MACHINE}-pc-linux- ${LIBC}oldld"1000 exit ;;956 echo "${UNAME_MACHINE}-pc-linux-gnuoldld" 957 exit 0 ;; 1001 958 esac 1002 if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi1003 959 # Determine whether the default compiler is a.out or elf 1004 960 eval $set_cc_for_build … … 1027 983 EOF 1028 984 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 1029 test x"${LIBC}" != x && { 1030 echo "${UNAME_MACHINE}-pc-linux-${LIBC}" 1031 exit 1032 } 1033 test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } 985 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 986 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 1034 987 ;; 1035 988 i*86:DYNIX/ptx:4*:*) … … 1038 991 # sysname and nodename. 1039 992 echo i386-sequent-sysv4 1040 exit ;;993 exit 0 ;; 1041 994 i*86:UNIX_SV:4.2MP:2.*) 1042 995 # Unixware is an offshoot of SVR4, but it has its own version … … 1046 999 # Use sysv4.2uw... so that sysv4* matches it. 1047 1000 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 1048 exit ;;1001 exit 0 ;; 1049 1002 i*86:OS/2:*:*) 1050 1003 # If we were able to find `uname', then EMX Unix compatibility 1051 1004 # is probably installed. 1052 1005 echo ${UNAME_MACHINE}-pc-os2-emx 1053 exit ;;1006 exit 0 ;; 1054 1007 i*86:XTS-300:*:STOP) 1055 1008 echo ${UNAME_MACHINE}-unknown-stop 1056 exit ;;1009 exit 0 ;; 1057 1010 i*86:atheos:*:*) 1058 1011 echo ${UNAME_MACHINE}-unknown-atheos 1059 exit ;;1060 1012 exit 0 ;; 1013 i*86:syllable:*:*) 1061 1014 echo ${UNAME_MACHINE}-pc-syllable 1062 exit ;;1015 exit 0 ;; 1063 1016 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) 1064 1017 echo i386-unknown-lynxos${UNAME_RELEASE} 1065 exit ;;1018 exit 0 ;; 1066 1019 i*86:*DOS:*:*) 1067 1020 echo ${UNAME_MACHINE}-pc-msdosdjgpp 1068 exit ;;1021 exit 0 ;; 1069 1022 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) 1070 1023 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` … … 1074 1027 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} 1075 1028 fi 1076 exit ;; 1077 i*86:*:5:[678]*) 1078 # UnixWare 7.x, OpenUNIX and OpenServer 6. 1029 exit 0 ;; 1030 i*86:*:5:[78]*) 1079 1031 case `/bin/uname -X | grep "^Machine"` in 1080 1032 *486*) UNAME_MACHINE=i486 ;; … … 1083 1035 esac 1084 1036 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} 1085 exit ;;1037 exit 0 ;; 1086 1038 i*86:*:3.2:*) 1087 1039 if test -f /usr/options/cb.name; then … … 1101 1053 echo ${UNAME_MACHINE}-pc-sysv32 1102 1054 fi 1103 exit ;;1055 exit 0 ;; 1104 1056 pc:*:*:*) 1105 1057 # Left here for compatibility: … … 1107 1059 # the processor, so we play safe by assuming i386. 1108 1060 echo i386-pc-msdosdjgpp 1109 exit ;;1061 exit 0 ;; 1110 1062 Intel:Mach:3*:*) 1111 1063 echo i386-pc-mach3 1112 exit ;;1064 exit 0 ;; 1113 1065 paragon:*:*:*) 1114 1066 echo i860-intel-osf1 1115 exit ;;1067 exit 0 ;; 1116 1068 i860:*:4.*:*) # i860-SVR4 1117 1069 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then … … 1120 1072 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 1121 1073 fi 1122 exit ;;1074 exit 0 ;; 1123 1075 mini*:CTIX:SYS*5:*) 1124 1076 # "miniframe" 1125 1077 echo m68010-convergent-sysv 1126 exit ;;1078 exit 0 ;; 1127 1079 mc68k:UNIX:SYSTEM5:3.51m) 1128 1080 echo m68k-convergent-sysv 1129 exit ;;1081 exit 0 ;; 1130 1082 M680?0:D-NIX:5.3:*) 1131 1083 echo m68k-diab-dnix 1132 exit ;;1084 exit 0 ;; 1133 1085 M68*:*:R3V[5678]*:*) 1134 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; };;1086 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 1135 1087 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) 1136 1088 OS_REL='' … … 1138 1090 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` 1139 1091 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1140 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }1092 && echo i486-ncr-sysv4.3${OS_REL} && exit 0 1141 1093 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1142 && { echo i586-ncr-sysv4.3${OS_REL}; exit; };;1094 && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; 1143 1095 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 1144 1096 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1145 && { echo i486-ncr-sysv4; exit; };;1097 && echo i486-ncr-sysv4 && exit 0 ;; 1146 1098 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) 1147 1099 echo m68k-unknown-lynxos${UNAME_RELEASE} 1148 exit ;;1100 exit 0 ;; 1149 1101 mc68030:UNIX_System_V:4.*:*) 1150 1102 echo m68k-atari-sysv4 1151 exit ;;1103 exit 0 ;; 1152 1104 TSUNAMI:LynxOS:2.*:*) 1153 1105 echo sparc-unknown-lynxos${UNAME_RELEASE} 1154 exit ;;1106 exit 0 ;; 1155 1107 rs6000:LynxOS:2.*:*) 1156 1108 echo rs6000-unknown-lynxos${UNAME_RELEASE} 1157 exit ;;1109 exit 0 ;; 1158 1110 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) 1159 1111 echo powerpc-unknown-lynxos${UNAME_RELEASE} 1160 exit ;;1112 exit 0 ;; 1161 1113 SM[BE]S:UNIX_SV:*:*) 1162 1114 echo mips-dde-sysv${UNAME_RELEASE} 1163 exit ;;1115 exit 0 ;; 1164 1116 RM*:ReliantUNIX-*:*:*) 1165 1117 echo mips-sni-sysv4 1166 exit ;;1118 exit 0 ;; 1167 1119 RM*:SINIX-*:*:*) 1168 1120 echo mips-sni-sysv4 1169 exit ;;1121 exit 0 ;; 1170 1122 *:SINIX-*:*:*) 1171 1123 if uname -p 2>/dev/null >/dev/null ; then … … 1175 1127 echo ns32k-sni-sysv 1176 1128 fi 1177 exit ;;1129 exit 0 ;; 1178 1130 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 1179 1131 # says <Richard.M.Bartel@ccMail.Census.GOV> 1180 1132 echo i586-unisys-sysv4 1181 exit ;;1133 exit 0 ;; 1182 1134 *:UNIX_System_V:4*:FTX*) 1183 1135 # From Gerald Hewes <hewes@openmarket.com>. 1184 1136 # How about differentiating between stratus architectures? -djm 1185 1137 echo hppa1.1-stratus-sysv4 1186 exit ;;1138 exit 0 ;; 1187 1139 *:*:*:FTX*) 1188 1140 # From seanf@swdc.stratus.com. 1189 1141 echo i860-stratus-sysv4 1190 exit ;; 1191 i*86:VOS:*:*) 1192 # From Paul.Green@stratus.com. 1193 echo ${UNAME_MACHINE}-stratus-vos 1194 exit ;; 1142 exit 0 ;; 1195 1143 *:VOS:*:*) 1196 1144 # From Paul.Green@stratus.com. 1197 1145 echo hppa1.1-stratus-vos 1198 exit ;;1146 exit 0 ;; 1199 1147 mc68*:A/UX:*:*) 1200 1148 echo m68k-apple-aux${UNAME_RELEASE} 1201 exit ;;1149 exit 0 ;; 1202 1150 news*:NEWS-OS:6*:*) 1203 1151 echo mips-sony-newsos6 1204 exit ;;1152 exit 0 ;; 1205 1153 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 1206 1154 if [ -d /usr/nec ]; then … … 1209 1157 echo mips-unknown-sysv${UNAME_RELEASE} 1210 1158 fi 1211 exit ;;1159 exit 0 ;; 1212 1160 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. 1213 1161 echo powerpc-be-beos 1214 exit ;;1162 exit 0 ;; 1215 1163 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. 1216 1164 echo powerpc-apple-beos 1217 exit ;;1165 exit 0 ;; 1218 1166 BePC:BeOS:*:*) # BeOS running on Intel PC compatible. 1219 1167 echo i586-pc-beos 1220 exit ;;1168 exit 0 ;; 1221 1169 SX-4:SUPER-UX:*:*) 1222 1170 echo sx4-nec-superux${UNAME_RELEASE} 1223 exit ;;1171 exit 0 ;; 1224 1172 SX-5:SUPER-UX:*:*) 1225 1173 echo sx5-nec-superux${UNAME_RELEASE} 1226 exit ;;1174 exit 0 ;; 1227 1175 SX-6:SUPER-UX:*:*) 1228 1176 echo sx6-nec-superux${UNAME_RELEASE} 1229 exit ;;1177 exit 0 ;; 1230 1178 Power*:Rhapsody:*:*) 1231 1179 echo powerpc-apple-rhapsody${UNAME_RELEASE} 1232 exit ;;1180 exit 0 ;; 1233 1181 *:Rhapsody:*:*) 1234 1182 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} 1235 exit ;;1183 exit 0 ;; 1236 1184 *:Darwin:*:*) 1237 1185 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown … … 1241 1189 esac 1242 1190 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1243 exit ;;1191 exit 0 ;; 1244 1192 *:procnto*:*:* | *:QNX:[0123456789]*:*) 1245 1193 UNAME_PROCESSOR=`uname -p` … … 1249 1197 fi 1250 1198 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} 1251 exit ;;1199 exit 0 ;; 1252 1200 *:QNX:*:4*) 1253 1201 echo i386-pc-qnx 1254 exit ;;1202 exit 0 ;; 1255 1203 NSE-?:NONSTOP_KERNEL:*:*) 1256 1204 echo nse-tandem-nsk${UNAME_RELEASE} 1257 exit ;;1205 exit 0 ;; 1258 1206 NSR-?:NONSTOP_KERNEL:*:*) 1259 1207 echo nsr-tandem-nsk${UNAME_RELEASE} 1260 exit ;;1208 exit 0 ;; 1261 1209 *:NonStop-UX:*:*) 1262 1210 echo mips-compaq-nonstopux 1263 exit ;;1211 exit 0 ;; 1264 1212 BS2000:POSIX*:*:*) 1265 1213 echo bs2000-siemens-sysv 1266 exit ;;1214 exit 0 ;; 1267 1215 DS/*:UNIX_System_V:*:*) 1268 1216 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} 1269 exit ;;1217 exit 0 ;; 1270 1218 *:Plan9:*:*) 1271 1219 # "uname -m" is not consistent, so use $cputype instead. 386 … … 1278 1226 fi 1279 1227 echo ${UNAME_MACHINE}-unknown-plan9 1280 exit ;;1228 exit 0 ;; 1281 1229 *:TOPS-10:*:*) 1282 1230 echo pdp10-unknown-tops10 1283 exit ;;1231 exit 0 ;; 1284 1232 *:TENEX:*:*) 1285 1233 echo pdp10-unknown-tenex 1286 exit ;;1234 exit 0 ;; 1287 1235 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) 1288 1236 echo pdp10-dec-tops20 1289 exit ;;1237 exit 0 ;; 1290 1238 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) 1291 1239 echo pdp10-xkl-tops20 1292 exit ;;1240 exit 0 ;; 1293 1241 *:TOPS-20:*:*) 1294 1242 echo pdp10-unknown-tops20 1295 exit ;;1243 exit 0 ;; 1296 1244 *:ITS:*:*) 1297 1245 echo pdp10-unknown-its 1298 exit ;;1246 exit 0 ;; 1299 1247 SEI:*:*:SEIUX) 1300 1248 echo mips-sei-seiux${UNAME_RELEASE} 1301 exit ;;1249 exit 0 ;; 1302 1250 *:DragonFly:*:*) 1303 1251 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 1304 exit ;;1252 exit 0 ;; 1305 1253 *:*VMS:*:*) 1306 1254 UNAME_MACHINE=`(uname -p) 2>/dev/null` 1307 1255 case "${UNAME_MACHINE}" in 1308 A*) echo alpha-dec-vms ; exit;;1309 I*) echo ia64-dec-vms ; exit;;1310 V*) echo vax-dec-vms ; exit;;1256 A*) echo alpha-dec-vms && exit 0 ;; 1257 I*) echo ia64-dec-vms && exit 0 ;; 1258 V*) echo vax-dec-vms && exit 0 ;; 1311 1259 esac ;; 1312 1260 *:XENIX:*:SysV) 1313 1261 echo i386-pc-xenix 1314 exit ;; 1315 i*86:skyos:*:*) 1316 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' 1317 exit ;; 1262 exit 0 ;; 1318 1263 esac 1319 1264 … … 1347 1292 1348 1293 #if defined (__arm) && defined (__acorn) && defined (__unix) 1349 printf ("arm-acorn-riscix \n"); exit (0);1294 printf ("arm-acorn-riscix"); exit (0); 1350 1295 #endif 1351 1296 … … 1436 1381 EOF 1437 1382 1438 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && 1439 { echo "$SYSTEM_NAME"; exit; } 1383 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && $dummy && exit 0 1440 1384 1441 1385 # Apollos put the system type in the environment. 1442 1386 1443 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit ; }1387 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } 1444 1388 1445 1389 # Convex versions that predate uname can use getsysinfo(1) … … 1450 1394 c1*) 1451 1395 echo c1-convex-bsd 1452 exit ;;1396 exit 0 ;; 1453 1397 c2*) 1454 1398 if getsysinfo -f scalar_acc … … 1456 1400 else echo c2-convex-bsd 1457 1401 fi 1458 exit ;;1402 exit 0 ;; 1459 1403 c34*) 1460 1404 echo c34-convex-bsd 1461 exit ;;1405 exit 0 ;; 1462 1406 c38*) 1463 1407 echo c38-convex-bsd 1464 exit ;;1408 exit 0 ;; 1465 1409 c4*) 1466 1410 echo c4-convex-bsd 1467 exit ;;1411 exit 0 ;; 1468 1412 esac 1469 1413 fi … … 1476 1420 download the most up to date version of the config scripts from 1477 1421 1478 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess 1479 and 1480 http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub 1422 ftp://ftp.gnu.org/pub/gnu/config/ 1481 1423 1482 1424 If the version you run ($0) is already up to date, please -
branches/world_entities/config.sub
r5479 r5739 4 4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 5 6 timestamp='2005-0 6-02'6 timestamp='2005-02-10' 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., 5 1 Franklin Street - Fifth Floor, Boston, MA25 # 02110-1301, USA.26 # 24 # Foundation, Inc., 59 Temple Place - Suite 330, 25 # Boston, MA 02111-1307, 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 32 31 33 32 # Please send patches to <config-patches@gnu.org>. Submit a context … … 85 84 case $1 in 86 85 --time-stamp | --time* | -t ) 87 echo "$timestamp" ; exit ;;86 echo "$timestamp" ; exit 0 ;; 88 87 --version | -v ) 89 echo "$version" ; exit ;;88 echo "$version" ; exit 0 ;; 90 89 --help | --h* | -h ) 91 echo "$usage"; exit ;;90 echo "$usage"; exit 0 ;; 92 91 -- ) # Stop option processing 93 92 shift; break ;; … … 101 100 # First pass through any local machine types. 102 101 echo $1 103 exit ;;102 exit 0;; 104 103 105 104 * ) … … 233 232 | am33_2.0 \ 234 233 | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ 235 | bfin \236 234 | c4x | clipper \ 237 | d10v | d30v | dlx | dsp16xx | dvp\235 | d10v | d30v | dlx | dsp16xx \ 238 236 | fr30 | frv \ 239 237 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ … … 249 247 | mips64vr4300 | mips64vr4300el \ 250 248 | mips64vr5000 | mips64vr5000el \ 251 | mips64r5900 | mips64r5900el \252 249 | mipsisa32 | mipsisa32el \ 253 250 | mipsisa32r2 | mipsisa32r2el \ … … 258 255 | mipstx39 | mipstx39el \ 259 256 | mn10200 | mn10300 \ 260 | ms1 \261 257 | msp430 \ 262 258 | ns16k | ns32k \ … … 267 263 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 268 264 | sh64 | sh64le \ 269 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ 270 | sparcv8 | sparcv9 | sparcv9b \ 265 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ 271 266 | strongarm \ 272 267 | tahoe | thumb | tic4x | tic80 | tron \ … … 275 270 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ 276 271 | z8k) 277 basic_machine=$basic_machine-unknown278 ;;279 m32c)280 272 basic_machine=$basic_machine-unknown 281 273 ;; … … 307 299 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 308 300 | avr-* \ 309 | b fin-* | bs2000-* \301 | bs2000-* \ 310 302 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 311 303 | clipper-* | craynv-* | cydra-* \ … … 328 320 | mips64vr4300-* | mips64vr4300el-* \ 329 321 | mips64vr5000-* | mips64vr5000el-* \ 330 | mips64r5900-* | mips64r5900el-* \331 322 | mipsisa32-* | mipsisa32el-* \ 332 323 | mipsisa32r2-* | mipsisa32r2el-* \ … … 337 328 | mipstx39-* | mipstx39el-* \ 338 329 | mmix-* \ 339 | ms1-* \340 330 | msp430-* \ 341 331 | none-* | np1-* | ns16k-* | ns32k-* \ … … 347 337 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 348 338 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 349 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ 350 | sparclite-* \ 339 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 351 340 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 352 341 | tahoe-* | thumb-* \ … … 360 349 | z8k-*) 361 350 ;; 362 m32c-*)363 ;;364 351 # Recognize the various machine names and aliases which stand 365 352 # for a CPU type and a company and sometimes even an OS. … … 678 665 basic_machine=m68k-atari 679 666 os=-mint 680 ;;681 mipsEE* | ee | ps2)682 basic_machine=mips64r5900el-scei683 case $os in684 -linux*)685 ;;686 *)687 os=-elf688 ;;689 esac690 ;;691 iop)692 basic_machine=mipsel-scei693 os=-irx694 ;;695 dvp)696 basic_machine=dvp-scei697 os=-elf698 667 ;; 699 668 mips3*-*) … … 1210 1179 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1211 1180 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1212 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos* \ 1213 | -irx* ) 1181 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) 1214 1182 # Remember, each alternative MUST END IN *, to match a version number. 1215 1183 ;; … … 1589 1557 1590 1558 echo $basic_machine$os 1591 exit 1559 exit 0 1592 1560 1593 1561 # Local variables: -
branches/world_entities/depcomp
r5479 r5739 2 2 # depcomp - compile a program generating dependencies as side-effects 3 3 4 scriptversion=2005-0 7-09.114 scriptversion=2005-02-09.22 5 5 6 6 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. … … 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., 5 1 Franklin Street, Fifth Floor, Boston, MA21 # 0211 0-1301, USA.20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 21 # 02111-1307, USA. 22 22 23 23 # As a special exception to the GNU General Public License, if you … … 468 468 469 469 "$@" -E | 470 sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ 471 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | 470 sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | 472 471 sed '$ s: \\$::' > "$tmpdepfile" 473 472 rm -f "$depfile" -
branches/world_entities/install-sh
r5479 r5739 2 2 # install - install a program, script, or datafile 3 3 4 scriptversion=2005-0 5-14.224 scriptversion=2005-02-02.21 5 5 6 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was -
branches/world_entities/missing
r5479 r5739 2 2 # Common stub for a few missing GNU programs while installing. 3 3 4 scriptversion=2005-0 6-08.214 scriptversion=2005-02-08.22 5 5 6 6 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 … … 20 20 # You should have received a copy of the GNU General Public License 21 21 # along with this program; if not, write to the Free Software 22 # Foundation, Inc., 5 1 Franklin Street, Fifth Floor, Boston, MA23 # 0211 0-1301, USA.22 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 23 # 02111-1307, USA. 24 24 25 25 # As a special exception to the GNU General Public License, if you … … 298 298 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info 299 299 fi 300 # If the file does not exist, the user really needs makeinfo;301 # let's fail without touching anything.302 test -f $file || exit 1303 300 touch $file 304 301 ;; -
branches/world_entities/mkinstalldirs
r5479 r5739 2 2 # mkinstalldirs --- make directory hierarchy 3 3 4 scriptversion=2005-0 6-29.224 scriptversion=2005-02-02.21 5 5 6 6 # Original author: Noah Friedman <friedman@prep.ai.mit.edu> … … 13 13 14 14 errstatus=0 15 dirmode= 15 dirmode="" 16 16 17 17 usage="\ … … 104 104 for file 105 105 do 106 case $file in 107 /*) pathcomp=/ ;; 108 *) pathcomp= ;; 109 esac 110 oIFS=$IFS 111 IFS=/ 112 set fnord $file 106 set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` 113 107 shift 114 IFS=$oIFS115 108 109 pathcomp= 116 110 for d 117 111 do 118 test "x$d" = x && continue 119 120 pathcomp=$pathcomp$d 112 pathcomp="$pathcomp$d" 121 113 case $pathcomp in 122 114 -*) pathcomp=./$pathcomp ;; … … 133 125 if test ! -z "$dirmode"; then 134 126 echo "chmod $dirmode $pathcomp" 135 lasterr= 127 lasterr="" 136 128 chmod "$dirmode" "$pathcomp" || lasterr=$? 137 129 … … 143 135 fi 144 136 145 pathcomp= $pathcomp/137 pathcomp="$pathcomp/" 146 138 done 147 139 done -
branches/world_entities/src/world_entities/Makefile.am
r5679 r5739 27 27 weapons/ground_turret.cc \ 28 28 weapons/crosshair.cc \ 29 weapons/ground_turret.cc \ 29 30 power_ups/power_up.cc \ 30 31 power_ups/turret_power_up.cc \ -
branches/world_entities/src/world_entities/weapons/ground_turret.cc
r5680 r5739 15 15 16 16 #include "ground_turret.h" 17 #include "factory.h" 18 #include "model.h" 19 20 CREATE_FACTORY(GroundTurret, CL_GROUND_TURRET); 17 21 18 22 using namespace std; … … 47 51 { 48 52 this->setClassID(CL_GROUND_TURRET, "GroundTurret"); 53 this->loadModel("models/ground_turret.obj", 5); 49 54 50 55 } … … 59 64 { 60 65 // all the clases this Entity is directly derived from must be called in this way, to load all settings. 61 // static_cast<WorldEntity*>(this)->loadParam(root);66 static_cast<NPC*>(this)->loadParams(root); 62 67 63 68 … … 72 77 * @param time the Time to step 73 78 */ 74 //GroundTurret::tick(float time)75 //{76 // 77 //}79 void GroundTurret::tick(float time) 80 { 81 82 } 78 83 79 84 /** … … 94 99 glMultMatrixf((float*)matrix); 95 100 96 //if (model)97 //model->draw();101 if (model) 102 model->draw(); 98 103 glPopMatrix(); 99 104 } -
branches/world_entities/src/world_entities/weapons/ground_turret.h
r5685 r5739 25 25 26 26 virtual void draw() const; 27 //virtual void tick(float time);27 virtual void tick(float time); 28 28 virtual void collidesWith (WorldEntity* entity, const Vector& location); 29 29
Note: See TracChangeset
for help on using the changeset viewer.