- Timestamp:
- Nov 3, 2005, 8:50:51 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 34 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 -
trunk/aclocal.m4
r5475 r5479 1 # generated automatically by aclocal 1.9. 5-*- Autoconf -*-1 # generated automatically by aclocal 1.9.6 -*- 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. 5])])31 [AM_AUTOMAKE_VERSION([1.9.6])]) 32 32 33 33 # AM_AUX_DIR_EXPAND -*- Autoconf -*- -
trunk/config.guess
r5413 r5479 2 2 # Attempt to guess a canonical system name. 3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.5 6 timestamp='200 4-03-12'4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 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>. … … 54 56 55 57 Originally written by Per Bothner. 56 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 58 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 57 59 Free Software Foundation, Inc. 58 60 … … 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 ;; … … 137 139 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown 138 140 139 # Detect uclibc systems. 140 141 LIBC="gnu" 142 if [ -f /usr/include/bits/uClibc_config.h ] 143 then 141 if [ "${UNAME_SYSTEM}" = "Linux" ] ; then 142 eval $set_cc_for_build 143 cat << EOF > $dummy.c 144 #include <features.h> 145 #ifdef __UCLIBC__ 146 # ifdef __UCLIBC_CONFIG_VERSION__ 147 LIBC=uclibc __UCLIBC_CONFIG_VERSION__ 148 # else 144 149 LIBC=uclibc 145 if [[ -n `grep "#define __UCLIBC_CONFIG_VERSION__" /usr/include/bits/uClibc_config.h` ]] 146 then 147 UCLIBC_SUBVER=`sed -n "/#define __UCLIBC_CONFIG_VERSION__ /s///p" /usr/include/bits/uClibc_config.h` 148 LIBC=$LIBC$UCLIBC_SUBVER 149 fi 150 # endif 151 #else 152 LIBC=gnu 153 #endif 154 EOF 155 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep LIBC= | sed -e 's: ::g'` 150 156 fi 151 157 … … 210 216 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. 211 217 echo "${machine}-${os}${release}" 212 exit 0;;218 exit ;; 213 219 amd64:OpenBSD:*:*) 214 220 echo x86_64-unknown-openbsd${UNAME_RELEASE} 215 exit 0;;221 exit ;; 216 222 amiga:OpenBSD:*:*) 217 223 echo m68k-unknown-openbsd${UNAME_RELEASE} 218 exit 0 ;; 219 arc:OpenBSD:*:*) 220 echo mipsel-unknown-openbsd${UNAME_RELEASE} 221 exit 0 ;; 224 exit ;; 222 225 cats:OpenBSD:*:*) 223 226 echo arm-unknown-openbsd${UNAME_RELEASE} 224 exit 0;;227 exit ;; 225 228 hp300:OpenBSD:*:*) 226 229 echo m68k-unknown-openbsd${UNAME_RELEASE} 227 exit 0 ;; 230 exit ;; 231 luna88k:OpenBSD:*:*) 232 echo m88k-unknown-openbsd${UNAME_RELEASE} 233 exit ;; 228 234 mac68k:OpenBSD:*:*) 229 235 echo m68k-unknown-openbsd${UNAME_RELEASE} 230 exit 0;;236 exit ;; 231 237 macppc:OpenBSD:*:*) 232 238 echo powerpc-unknown-openbsd${UNAME_RELEASE} 233 exit 0;;239 exit ;; 234 240 mvme68k:OpenBSD:*:*) 235 241 echo m68k-unknown-openbsd${UNAME_RELEASE} 236 exit 0;;242 exit ;; 237 243 mvme88k:OpenBSD:*:*) 238 244 echo m88k-unknown-openbsd${UNAME_RELEASE} 239 exit 0;;245 exit ;; 240 246 mvmeppc:OpenBSD:*:*) 241 247 echo powerpc-unknown-openbsd${UNAME_RELEASE} 242 exit 0 ;; 243 pegasos:OpenBSD:*:*) 244 echo powerpc-unknown-openbsd${UNAME_RELEASE} 245 exit 0 ;; 246 pmax:OpenBSD:*:*) 247 echo mipsel-unknown-openbsd${UNAME_RELEASE} 248 exit 0 ;; 248 exit ;; 249 249 sgi:OpenBSD:*:*) 250 echo mips eb-unknown-openbsd${UNAME_RELEASE}251 exit 0;;250 echo mips64-unknown-openbsd${UNAME_RELEASE} 251 exit ;; 252 252 sun3:OpenBSD:*:*) 253 253 echo m68k-unknown-openbsd${UNAME_RELEASE} 254 exit 0 ;; 255 wgrisc:OpenBSD:*:*) 256 echo mipsel-unknown-openbsd${UNAME_RELEASE} 257 exit 0 ;; 254 exit ;; 258 255 *:OpenBSD:*:*) 259 256 echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} 260 exit 0;;257 exit ;; 261 258 *:ekkoBSD:*:*) 262 259 echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} 263 exit 0;;260 exit ;; 264 261 macppc:MirBSD:*:*) 265 262 echo powerppc-unknown-mirbsd${UNAME_RELEASE} 266 exit 0;;263 exit ;; 267 264 *:MirBSD:*:*) 268 265 echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} 269 exit 0;;266 exit ;; 270 267 alpha:OSF1:*:*) 271 268 case $UNAME_RELEASE in … … 320 317 # 1.2 uses "1.2" for uname -r. 321 318 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 322 exit 0 ;; 323 Alpha*:OpenVMS:*:*) 324 echo alpha-hp-vms 325 exit 0 ;; 319 exit ;; 326 320 Alpha\ *:Windows_NT*:*) 327 321 # How do we know it's Interix rather than the generic POSIX subsystem? … … 329 323 # of the specific Alpha model? 330 324 echo alpha-pc-interix 331 exit 0;;325 exit ;; 332 326 21064:Windows_NT:50:3) 333 327 echo alpha-dec-winnt3.5 334 exit 0;;328 exit ;; 335 329 Amiga*:UNIX_System_V:4.0:*) 336 330 echo m68k-unknown-sysv4 337 exit 0;;331 exit ;; 338 332 *:[Aa]miga[Oo][Ss]:*:*) 339 333 echo ${UNAME_MACHINE}-unknown-amigaos 340 exit 0;;334 exit ;; 341 335 *:[Mm]orph[Oo][Ss]:*:*) 342 336 echo ${UNAME_MACHINE}-unknown-morphos 343 exit 0;;337 exit ;; 344 338 *:OS/390:*:*) 345 339 echo i370-ibm-openedition 346 exit 0 ;; 340 exit ;; 341 *:z/VM:*:*) 342 echo s390-ibm-zvmoe 343 exit ;; 347 344 *:OS400:*:*) 348 345 echo powerpc-ibm-os400 349 exit 0;;346 exit ;; 350 347 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) 351 348 echo arm-acorn-riscix${UNAME_RELEASE} 352 exit 0;; 349 exit ;; 350 arm:riscos:*:*|arm:RISCOS:*:*) 351 echo arm-unknown-riscos 352 exit ;; 353 353 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) 354 354 echo hppa1.1-hitachi-hiuxmpp 355 exit 0;;355 exit ;; 356 356 Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) 357 357 # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. … … 361 361 echo pyramid-pyramid-bsd 362 362 fi 363 exit 0;;363 exit ;; 364 364 NILE*:*:*:dcosx) 365 365 echo pyramid-pyramid-svr4 366 exit 0;;366 exit ;; 367 367 DRS?6000:unix:4.0:6*) 368 368 echo sparc-icl-nx6 369 exit 0;;370 DRS?6000:UNIX_SV:4.2*:7* )369 exit ;; 370 DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) 371 371 case `/usr/bin/uname -p` in 372 sparc) echo sparc-icl-nx7 && exit 0;;372 sparc) echo sparc-icl-nx7; exit ;; 373 373 esac ;; 374 374 sun4H:SunOS:5.*:*) 375 375 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 376 exit 0;;376 exit ;; 377 377 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) 378 378 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 379 exit 0;;379 exit ;; 380 380 i86pc:SunOS:5.*:*) 381 381 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 382 exit 0;;382 exit ;; 383 383 sun4*:SunOS:6*:*) 384 384 # According to config.sub, this is the proper way to canonicalize … … 386 386 # it's likely to be more like Solaris than SunOS4. 387 387 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 388 exit 0;;388 exit ;; 389 389 sun4*:SunOS:*:*) 390 390 case "`/usr/bin/arch -k`" in … … 395 395 # Japanese Language versions have a version number like `4.1.3-JL'. 396 396 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` 397 exit 0;;397 exit ;; 398 398 sun3*:SunOS:*:*) 399 399 echo m68k-sun-sunos${UNAME_RELEASE} 400 exit 0;;400 exit ;; 401 401 sun*:*:4.2BSD:*) 402 402 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` … … 410 410 ;; 411 411 esac 412 exit 0;;412 exit ;; 413 413 aushp:SunOS:*:*) 414 414 echo sparc-auspex-sunos${UNAME_RELEASE} 415 exit 0;;415 exit ;; 416 416 # The situation for MiNT is a little confusing. The machine name 417 417 # can be virtually everything (everything which is not … … 424 424 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) 425 425 echo m68k-atari-mint${UNAME_RELEASE} 426 exit 0;;426 exit ;; 427 427 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) 428 428 echo m68k-atari-mint${UNAME_RELEASE} 429 exit 0;;429 exit ;; 430 430 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) 431 431 echo m68k-atari-mint${UNAME_RELEASE} 432 exit 0;;432 exit ;; 433 433 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) 434 434 echo m68k-milan-mint${UNAME_RELEASE} 435 exit 0;;435 exit ;; 436 436 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) 437 437 echo m68k-hades-mint${UNAME_RELEASE} 438 exit 0;;438 exit ;; 439 439 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) 440 440 echo m68k-unknown-mint${UNAME_RELEASE} 441 exit 0;;441 exit ;; 442 442 m68k:machten:*:*) 443 443 echo m68k-apple-machten${UNAME_RELEASE} 444 exit 0;;444 exit ;; 445 445 powerpc:machten:*:*) 446 446 echo powerpc-apple-machten${UNAME_RELEASE} 447 exit 0;;447 exit ;; 448 448 RISC*:Mach:*:*) 449 449 echo mips-dec-mach_bsd4.3 450 exit 0;;450 exit ;; 451 451 RISC*:ULTRIX:*:*) 452 452 echo mips-dec-ultrix${UNAME_RELEASE} 453 exit 0;;453 exit ;; 454 454 VAX*:ULTRIX*:*:*) 455 455 echo vax-dec-ultrix${UNAME_RELEASE} 456 exit 0;;456 exit ;; 457 457 2020:CLIX:*:* | 2430:CLIX:*:*) 458 458 echo clipper-intergraph-clix${UNAME_RELEASE} 459 exit 0;;459 exit ;; 460 460 mips:*:*:UMIPS | mips:*:*:RISCos) 461 461 eval $set_cc_for_build … … 481 481 } 482 482 EOF 483 $CC_FOR_BUILD -o $dummy $dummy.c \ 484 && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ 485 && 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; } 486 487 echo mips-mips-riscos${UNAME_RELEASE} 487 exit 0;;488 exit ;; 488 489 Motorola:PowerMAX_OS:*:*) 489 490 echo powerpc-motorola-powermax 490 exit 0;;491 exit ;; 491 492 Motorola:*:4.3:PL8-*) 492 493 echo powerpc-harris-powermax 493 exit 0;;494 exit ;; 494 495 Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) 495 496 echo powerpc-harris-powermax 496 exit 0;;497 exit ;; 497 498 Night_Hawk:Power_UNIX:*:*) 498 499 echo powerpc-harris-powerunix 499 exit 0;;500 exit ;; 500 501 m88k:CX/UX:7*:*) 501 502 echo m88k-harris-cxux7 502 exit 0;;503 exit ;; 503 504 m88k:*:4*:R4*) 504 505 echo m88k-motorola-sysv4 505 exit 0;;506 exit ;; 506 507 m88k:*:3*:R3*) 507 508 echo m88k-motorola-sysv3 508 exit 0;;509 exit ;; 509 510 AViiON:dgux:*:*) 510 511 # DG/UX returns AViiON for all architectures … … 522 523 echo i586-dg-dgux${UNAME_RELEASE} 523 524 fi 524 exit 0;;525 exit ;; 525 526 M88*:DolphinOS:*:*) # DolphinOS (SVR3) 526 527 echo m88k-dolphin-sysv3 527 exit 0;;528 exit ;; 528 529 M88*:*:R3*:*) 529 530 # Delta 88k system running SVR3 530 531 echo m88k-motorola-sysv3 531 exit 0;;532 exit ;; 532 533 XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) 533 534 echo m88k-tektronix-sysv3 534 exit 0;;535 exit ;; 535 536 Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) 536 537 echo m68k-tektronix-bsd 537 exit 0;;538 exit ;; 538 539 *:IRIX*:*:*) 539 540 echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` 540 exit 0;;541 exit ;; 541 542 ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. 542 echo romp-ibm-aix 543 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 ' 544 545 i*86:AIX:*:*) 545 546 echo i386-ibm-aix 546 exit 0;;547 exit ;; 547 548 ia64:AIX:*:*) 548 549 if [ -x /usr/bin/oslevel ] ; then … … 552 553 fi 553 554 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} 554 exit 0;;555 exit ;; 555 556 *:AIX:2:3) 556 557 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then … … 567 568 } 568 569 EOF 569 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 570 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 571 576 elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then 572 577 echo rs6000-ibm-aix3.2.4 … … 574 579 echo rs6000-ibm-aix3.2 575 580 fi 576 exit 0;;581 exit ;; 577 582 *:AIX:*:[45]) 578 583 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` … … 588 593 fi 589 594 echo ${IBM_ARCH}-ibm-aix${IBM_REV} 590 exit 0;;595 exit ;; 591 596 *:AIX:*:*) 592 597 echo rs6000-ibm-aix 593 exit 0;;598 exit ;; 594 599 ibmrt:4.4BSD:*|romp-ibm:BSD:*) 595 600 echo romp-ibm-bsd4.4 596 exit 0;;601 exit ;; 597 602 ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and 598 603 echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to 599 exit 0 ;;# report: romp-ibm BSD 4.3604 exit ;; # report: romp-ibm BSD 4.3 600 605 *:BOSX:*:*) 601 606 echo rs6000-bull-bosx 602 exit 0;;607 exit ;; 603 608 DPX/2?00:B.O.S.:*:*) 604 609 echo m68k-bull-sysv3 605 exit 0;;610 exit ;; 606 611 9000/[34]??:4.3bsd:1.*:*) 607 612 echo m68k-hp-bsd 608 exit 0;;613 exit ;; 609 614 hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) 610 615 echo m68k-hp-bsd4.4 611 exit 0;;616 exit ;; 612 617 9000/[34678]??:HP-UX:*:*) 613 618 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` … … 673 678 # avoid double evaluation of $set_cc_for_build 674 679 test -n "$CC_FOR_BUILD" || eval $set_cc_for_build 675 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 676 692 then 677 693 HP_ARCH="hppa2.0w" … … 681 697 fi 682 698 echo ${HP_ARCH}-hp-hpux${HPUX_REV} 683 exit 0;;699 exit ;; 684 700 ia64:HP-UX:*:*) 685 701 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 686 702 echo ia64-hp-hpux${HPUX_REV} 687 exit 0;;703 exit ;; 688 704 3050*:HI-UX:*:*) 689 705 eval $set_cc_for_build … … 713 729 } 714 730 EOF 715 $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; } 716 733 echo unknown-hitachi-hiuxwe2 717 exit 0;;734 exit ;; 718 735 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) 719 736 echo hppa1.1-hp-bsd 720 exit 0;;737 exit ;; 721 738 9000/8??:4.3bsd:*:*) 722 739 echo hppa1.0-hp-bsd 723 exit 0;;740 exit ;; 724 741 *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) 725 742 echo hppa1.0-hp-mpeix 726 exit 0;;743 exit ;; 727 744 hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) 728 745 echo hppa1.1-hp-osf 729 exit 0;;746 exit ;; 730 747 hp8??:OSF1:*:*) 731 748 echo hppa1.0-hp-osf 732 exit 0;;749 exit ;; 733 750 i*86:OSF1:*:*) 734 751 if [ -x /usr/sbin/sysversion ] ; then … … 737 754 echo ${UNAME_MACHINE}-unknown-osf1 738 755 fi 739 exit 0;;756 exit ;; 740 757 parisc*:Lites*:*:*) 741 758 echo hppa1.1-hp-lites 742 exit 0;;759 exit ;; 743 760 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) 744 761 echo c1-convex-bsd 745 exit 0;;762 exit ;; 746 763 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) 747 764 if getsysinfo -f scalar_acc … … 749 766 else echo c2-convex-bsd 750 767 fi 751 exit 0;;768 exit ;; 752 769 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) 753 770 echo c34-convex-bsd 754 exit 0;;771 exit ;; 755 772 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) 756 773 echo c38-convex-bsd 757 exit 0;;774 exit ;; 758 775 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) 759 776 echo c4-convex-bsd 760 exit 0;;777 exit ;; 761 778 CRAY*Y-MP:*:*:*) 762 779 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 763 exit 0;;780 exit ;; 764 781 CRAY*[A-Z]90:*:*:*) 765 782 echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ … … 767 784 -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ 768 785 -e 's/\.[^.]*$/.X/' 769 exit 0;;786 exit ;; 770 787 CRAY*TS:*:*:*) 771 788 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 772 exit 0;;789 exit ;; 773 790 CRAY*T3E:*:*:*) 774 791 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 775 exit 0;;792 exit ;; 776 793 CRAY*SV1:*:*:*) 777 794 echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 778 exit 0;;795 exit ;; 779 796 *:UNICOS/mp:*:*) 780 echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'781 exit 0;;797 echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 798 exit ;; 782 799 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 783 800 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` … … 785 802 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 786 803 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 787 exit 0;;804 exit ;; 788 805 5000:UNIX_System_V:4.*:*) 789 806 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 790 807 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` 791 808 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 792 exit 0;;809 exit ;; 793 810 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) 794 811 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} 795 exit 0;;812 exit ;; 796 813 sparc*:BSD/OS:*:*) 797 814 echo sparc-unknown-bsdi${UNAME_RELEASE} 798 exit 0;;815 exit ;; 799 816 *:BSD/OS:*:*) 800 817 echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} 801 exit 0;;818 exit ;; 802 819 *:FreeBSD:*:*) 803 # Determine whether the default compiler uses glibc. 804 eval $set_cc_for_build 805 sed 's/^ //' << EOF >$dummy.c 806 #include <features.h> 807 #if __GLIBC__ >= 2 808 LIBC=gnu 809 #else 810 LIBC= 811 #endif 812 EOF 813 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 814 # GNU/KFreeBSD systems have a "k" prefix to indicate we are using 815 # FreeBSD's kernel, but not the complete OS. 816 case ${LIBC} in gnu) kernel_only='k' ;; esac 817 echo ${UNAME_MACHINE}-unknown-${kernel_only}freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} 818 exit 0 ;; 820 echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 821 exit ;; 819 822 i*:CYGWIN*:*) 820 823 echo ${UNAME_MACHINE}-pc-cygwin 821 exit 0;;824 exit ;; 822 825 i*:MINGW*:*) 823 826 echo ${UNAME_MACHINE}-pc-mingw32 824 exit 0 ;; 827 exit ;; 828 i*:windows32*:*) 829 # uname -m includes "-pc" on this system. 830 echo ${UNAME_MACHINE}-mingw32 831 exit ;; 825 832 i*:PW*:*) 826 833 echo ${UNAME_MACHINE}-pc-pw32 827 exit 0;;834 exit ;; 828 835 x86:Interix*:[34]*) 829 836 echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//' 830 exit 0;;837 exit ;; 831 838 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) 832 839 echo i${UNAME_MACHINE}-pc-mks 833 exit 0;;840 exit ;; 834 841 i*:Windows_NT*:* | Pentium*:Windows_NT*:*) 835 842 # How do we know it's Interix rather than the generic POSIX subsystem? … … 837 844 # UNAME_MACHINE based on the output of uname instead of i386? 838 845 echo i586-pc-interix 839 exit 0;;846 exit ;; 840 847 i*:UWIN*:*) 841 848 echo ${UNAME_MACHINE}-pc-uwin 842 exit 0 ;; 849 exit ;; 850 amd64:CYGWIN*:*:*) 851 echo x86_64-unknown-cygwin 852 exit ;; 843 853 p*:CYGWIN*:*) 844 854 echo powerpcle-unknown-cygwin 845 exit 0;;855 exit ;; 846 856 prep*:SunOS:5.*:*) 847 857 echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` 848 exit 0;;858 exit ;; 849 859 *:GNU:*:*) 850 860 # the GNU system 851 861 echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` 852 exit 0;;862 exit ;; 853 863 *:GNU/*:*:*) 854 864 # other systems with GNU libc and userland 855 865 echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu 856 exit 0;;866 exit ;; 857 867 i*86:Minix:*:*) 858 868 echo ${UNAME_MACHINE}-pc-minix 859 exit 0;;869 exit ;; 860 870 arm*:Linux:*:*) 861 871 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 862 exit 0;;872 exit ;; 863 873 cris:Linux:*:*) 864 874 echo cris-axis-linux-${LIBC} 865 exit 0 ;; 875 exit ;; 876 crisv32:Linux:*:*) 877 echo crisv32-axis-linux-${LIBC} 878 exit ;; 879 frv:Linux:*:*) 880 echo frv-unknown-linux-${LIBC} 881 exit ;; 866 882 ia64:Linux:*:*) 867 883 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 868 exit 0;;884 exit ;; 869 885 m32r*:Linux:*:*) 870 886 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 871 exit 0;;887 exit ;; 872 888 m68*:Linux:*:*) 873 889 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 874 exit 0;;890 exit ;; 875 891 mips:Linux:*:*) 876 892 eval $set_cc_for_build … … 890 906 EOF 891 907 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 892 test x"${CPU}" != x && echo "${CPU}-unknown-linux-${LIBC}" && exit 0908 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } 893 909 ;; 894 910 mips64:Linux:*:*) … … 909 925 EOF 910 926 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` 911 test x"${CPU}" != x && echo "${CPU}-unknown-linux-${LIBC}" && exit 0927 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } 912 928 ;; 913 929 ppc:Linux:*:*) 914 930 echo powerpc-unknown-linux-${LIBC} 915 exit 0;;931 exit ;; 916 932 ppc64:Linux:*:*) 917 933 echo powerpc64-unknown-linux-${LIBC} 918 exit 0;;934 exit ;; 919 935 alpha:Linux:*:*) 920 936 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in … … 930 946 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi 931 947 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 932 exit 0;;948 exit ;; 933 949 parisc:Linux:*:* | hppa:Linux:*:*) 934 950 # Look for CPU level … … 938 954 *) echo hppa-unknown-linux-${LIBC} ;; 939 955 esac 940 exit 0;;956 exit ;; 941 957 parisc64:Linux:*:* | hppa64:Linux:*:*) 942 958 echo hppa64-unknown-linux-${LIBC} 943 exit 0;;959 exit ;; 944 960 s390:Linux:*:* | s390x:Linux:*:*) 945 961 echo ${UNAME_MACHINE}-ibm-linux 946 exit 0;;962 exit ;; 947 963 sh64*:Linux:*:*) 948 964 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 949 exit 0;;965 exit ;; 950 966 sh*:Linux:*:*) 951 967 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 952 exit 0;;968 exit ;; 953 969 sparc:Linux:*:* | sparc64:Linux:*:*) 954 970 echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 955 exit 0;;971 exit ;; 956 972 x86_64:Linux:*:*) 957 973 echo x86_64-unknown-linux-${LIBC} 958 exit 0;;974 exit ;; 959 975 i*86:Linux:*:*) 960 976 # The BFD linker knows what the default object file format is, so … … 974 990 a.out-i386-linux) 975 991 echo "${UNAME_MACHINE}-pc-linux-${LIBC}aout" 976 exit 0;;992 exit ;; 977 993 coff-i386) 978 994 echo "${UNAME_MACHINE}-pc-linux-${LIBC}coff" 979 exit 0;;995 exit ;; 980 996 "") 981 997 # Either a pre-BFD a.out linker (linux-gnuoldld) or 982 998 # one that does not give us useful --help. 983 999 echo "${UNAME_MACHINE}-pc-linux-${LIBC}oldld" 984 exit 0;;1000 exit ;; 985 1001 esac 986 if [ $LIBC != "gnu" -o $LIBC != "gnulibc1" ];then echo "$TENTATIVE" && exit 0; fi1002 if [ "$LIBC" != "gnu" ] ; then echo "$TENTATIVE" && exit 0 ; fi 987 1003 # Determine whether the default compiler is a.out or elf 988 1004 eval $set_cc_for_build … … 1011 1027 EOF 1012 1028 eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` 1013 test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 1014 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; } 1015 1034 ;; 1016 1035 i*86:DYNIX/ptx:4*:*) … … 1019 1038 # sysname and nodename. 1020 1039 echo i386-sequent-sysv4 1021 exit 0;;1040 exit ;; 1022 1041 i*86:UNIX_SV:4.2MP:2.*) 1023 1042 # Unixware is an offshoot of SVR4, but it has its own version … … 1027 1046 # Use sysv4.2uw... so that sysv4* matches it. 1028 1047 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} 1029 exit 0;;1048 exit ;; 1030 1049 i*86:OS/2:*:*) 1031 1050 # If we were able to find `uname', then EMX Unix compatibility 1032 1051 # is probably installed. 1033 1052 echo ${UNAME_MACHINE}-pc-os2-emx 1034 exit 0;;1053 exit ;; 1035 1054 i*86:XTS-300:*:STOP) 1036 1055 echo ${UNAME_MACHINE}-unknown-stop 1037 exit 0;;1056 exit ;; 1038 1057 i*86:atheos:*:*) 1039 1058 echo ${UNAME_MACHINE}-unknown-atheos 1040 exit 0;;1041 1059 exit ;; 1060 i*86:syllable:*:*) 1042 1061 echo ${UNAME_MACHINE}-pc-syllable 1043 exit 0;;1062 exit ;; 1044 1063 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) 1045 1064 echo i386-unknown-lynxos${UNAME_RELEASE} 1046 exit 0;;1065 exit ;; 1047 1066 i*86:*DOS:*:*) 1048 1067 echo ${UNAME_MACHINE}-pc-msdosdjgpp 1049 exit 0;;1068 exit ;; 1050 1069 i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) 1051 1070 UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` … … 1055 1074 echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} 1056 1075 fi 1057 exit 0 ;; 1058 i*86:*:5:[78]*) 1076 exit ;; 1077 i*86:*:5:[678]*) 1078 # UnixWare 7.x, OpenUNIX and OpenServer 6. 1059 1079 case `/bin/uname -X | grep "^Machine"` in 1060 1080 *486*) UNAME_MACHINE=i486 ;; … … 1063 1083 esac 1064 1084 echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} 1065 exit 0;;1085 exit ;; 1066 1086 i*86:*:3.2:*) 1067 1087 if test -f /usr/options/cb.name; then … … 1081 1101 echo ${UNAME_MACHINE}-pc-sysv32 1082 1102 fi 1083 exit 0;;1103 exit ;; 1084 1104 pc:*:*:*) 1085 1105 # Left here for compatibility: … … 1087 1107 # the processor, so we play safe by assuming i386. 1088 1108 echo i386-pc-msdosdjgpp 1089 exit 0;;1109 exit ;; 1090 1110 Intel:Mach:3*:*) 1091 1111 echo i386-pc-mach3 1092 exit 0;;1112 exit ;; 1093 1113 paragon:*:*:*) 1094 1114 echo i860-intel-osf1 1095 exit 0;;1115 exit ;; 1096 1116 i860:*:4.*:*) # i860-SVR4 1097 1117 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then … … 1100 1120 echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 1101 1121 fi 1102 exit 0;;1122 exit ;; 1103 1123 mini*:CTIX:SYS*5:*) 1104 1124 # "miniframe" 1105 1125 echo m68010-convergent-sysv 1106 exit 0;;1126 exit ;; 1107 1127 mc68k:UNIX:SYSTEM5:3.51m) 1108 1128 echo m68k-convergent-sysv 1109 exit 0;;1129 exit ;; 1110 1130 M680?0:D-NIX:5.3:*) 1111 1131 echo m68k-diab-dnix 1112 exit 0;;1113 M68*:*:R3V[567 ]*:*)1114 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0;;1115 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 )1132 exit ;; 1133 M68*:*:R3V[5678]*:*) 1134 test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 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) 1116 1136 OS_REL='' 1117 1137 test -r /etc/.relid \ 1118 1138 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` 1119 1139 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1120 && echo i486-ncr-sysv4.3${OS_REL} && exit 01140 && { echo i486-ncr-sysv4.3${OS_REL}; exit; } 1121 1141 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ 1122 && echo i586-ncr-sysv4.3${OS_REL} && exit 0;;1142 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 1123 1143 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) 1124 1144 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ 1125 && echo i486-ncr-sysv4 && exit 0;;1145 && { echo i486-ncr-sysv4; exit; } ;; 1126 1146 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) 1127 1147 echo m68k-unknown-lynxos${UNAME_RELEASE} 1128 exit 0;;1148 exit ;; 1129 1149 mc68030:UNIX_System_V:4.*:*) 1130 1150 echo m68k-atari-sysv4 1131 exit 0;;1151 exit ;; 1132 1152 TSUNAMI:LynxOS:2.*:*) 1133 1153 echo sparc-unknown-lynxos${UNAME_RELEASE} 1134 exit 0;;1154 exit ;; 1135 1155 rs6000:LynxOS:2.*:*) 1136 1156 echo rs6000-unknown-lynxos${UNAME_RELEASE} 1137 exit 0;;1157 exit ;; 1138 1158 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) 1139 1159 echo powerpc-unknown-lynxos${UNAME_RELEASE} 1140 exit 0;;1160 exit ;; 1141 1161 SM[BE]S:UNIX_SV:*:*) 1142 1162 echo mips-dde-sysv${UNAME_RELEASE} 1143 exit 0;;1163 exit ;; 1144 1164 RM*:ReliantUNIX-*:*:*) 1145 1165 echo mips-sni-sysv4 1146 exit 0;;1166 exit ;; 1147 1167 RM*:SINIX-*:*:*) 1148 1168 echo mips-sni-sysv4 1149 exit 0;;1169 exit ;; 1150 1170 *:SINIX-*:*:*) 1151 1171 if uname -p 2>/dev/null >/dev/null ; then … … 1155 1175 echo ns32k-sni-sysv 1156 1176 fi 1157 exit 0;;1177 exit ;; 1158 1178 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort 1159 1179 # says <Richard.M.Bartel@ccMail.Census.GOV> 1160 1180 echo i586-unisys-sysv4 1161 exit 0;;1181 exit ;; 1162 1182 *:UNIX_System_V:4*:FTX*) 1163 1183 # From Gerald Hewes <hewes@openmarket.com>. 1164 1184 # How about differentiating between stratus architectures? -djm 1165 1185 echo hppa1.1-stratus-sysv4 1166 exit 0;;1186 exit ;; 1167 1187 *:*:*:FTX*) 1168 1188 # From seanf@swdc.stratus.com. 1169 1189 echo i860-stratus-sysv4 1170 exit 0 ;; 1190 exit ;; 1191 i*86:VOS:*:*) 1192 # From Paul.Green@stratus.com. 1193 echo ${UNAME_MACHINE}-stratus-vos 1194 exit ;; 1171 1195 *:VOS:*:*) 1172 1196 # From Paul.Green@stratus.com. 1173 1197 echo hppa1.1-stratus-vos 1174 exit 0;;1198 exit ;; 1175 1199 mc68*:A/UX:*:*) 1176 1200 echo m68k-apple-aux${UNAME_RELEASE} 1177 exit 0;;1201 exit ;; 1178 1202 news*:NEWS-OS:6*:*) 1179 1203 echo mips-sony-newsos6 1180 exit 0;;1204 exit ;; 1181 1205 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) 1182 1206 if [ -d /usr/nec ]; then … … 1185 1209 echo mips-unknown-sysv${UNAME_RELEASE} 1186 1210 fi 1187 exit 0;;1211 exit ;; 1188 1212 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. 1189 1213 echo powerpc-be-beos 1190 exit 0;;1214 exit ;; 1191 1215 BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. 1192 1216 echo powerpc-apple-beos 1193 exit 0;;1217 exit ;; 1194 1218 BePC:BeOS:*:*) # BeOS running on Intel PC compatible. 1195 1219 echo i586-pc-beos 1196 exit 0;;1220 exit ;; 1197 1221 SX-4:SUPER-UX:*:*) 1198 1222 echo sx4-nec-superux${UNAME_RELEASE} 1199 exit 0;;1223 exit ;; 1200 1224 SX-5:SUPER-UX:*:*) 1201 1225 echo sx5-nec-superux${UNAME_RELEASE} 1202 exit 0;;1226 exit ;; 1203 1227 SX-6:SUPER-UX:*:*) 1204 1228 echo sx6-nec-superux${UNAME_RELEASE} 1205 exit 0;;1229 exit ;; 1206 1230 Power*:Rhapsody:*:*) 1207 1231 echo powerpc-apple-rhapsody${UNAME_RELEASE} 1208 exit 0;;1232 exit ;; 1209 1233 *:Rhapsody:*:*) 1210 1234 echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} 1211 exit 0;;1235 exit ;; 1212 1236 *:Darwin:*:*) 1213 case `uname -p` in 1237 UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown 1238 case $UNAME_PROCESSOR in 1214 1239 *86) UNAME_PROCESSOR=i686 ;; 1215 powerpc) UNAME_PROCESSOR=powerpc ;;1240 unknown) UNAME_PROCESSOR=powerpc ;; 1216 1241 esac 1217 1242 echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} 1218 exit 0;;1243 exit ;; 1219 1244 *:procnto*:*:* | *:QNX:[0123456789]*:*) 1220 1245 UNAME_PROCESSOR=`uname -p` … … 1224 1249 fi 1225 1250 echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} 1226 exit 0;;1251 exit ;; 1227 1252 *:QNX:*:4*) 1228 1253 echo i386-pc-qnx 1229 exit 0 ;; 1254 exit ;; 1255 NSE-?:NONSTOP_KERNEL:*:*) 1256 echo nse-tandem-nsk${UNAME_RELEASE} 1257 exit ;; 1230 1258 NSR-?:NONSTOP_KERNEL:*:*) 1231 1259 echo nsr-tandem-nsk${UNAME_RELEASE} 1232 exit 0;;1260 exit ;; 1233 1261 *:NonStop-UX:*:*) 1234 1262 echo mips-compaq-nonstopux 1235 exit 0;;1263 exit ;; 1236 1264 BS2000:POSIX*:*:*) 1237 1265 echo bs2000-siemens-sysv 1238 exit 0;;1266 exit ;; 1239 1267 DS/*:UNIX_System_V:*:*) 1240 1268 echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} 1241 exit 0;;1269 exit ;; 1242 1270 *:Plan9:*:*) 1243 1271 # "uname -m" is not consistent, so use $cputype instead. 386 … … 1250 1278 fi 1251 1279 echo ${UNAME_MACHINE}-unknown-plan9 1252 exit 0;;1280 exit ;; 1253 1281 *:TOPS-10:*:*) 1254 1282 echo pdp10-unknown-tops10 1255 exit 0;;1283 exit ;; 1256 1284 *:TENEX:*:*) 1257 1285 echo pdp10-unknown-tenex 1258 exit 0;;1286 exit ;; 1259 1287 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) 1260 1288 echo pdp10-dec-tops20 1261 exit 0;;1289 exit ;; 1262 1290 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) 1263 1291 echo pdp10-xkl-tops20 1264 exit 0;;1292 exit ;; 1265 1293 *:TOPS-20:*:*) 1266 1294 echo pdp10-unknown-tops20 1267 exit 0;;1295 exit ;; 1268 1296 *:ITS:*:*) 1269 1297 echo pdp10-unknown-its 1270 exit 0;;1298 exit ;; 1271 1299 SEI:*:*:SEIUX) 1272 1300 echo mips-sei-seiux${UNAME_RELEASE} 1273 exit 0;;1301 exit ;; 1274 1302 *:DragonFly:*:*) 1275 1303 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` 1276 exit 0 ;; 1304 exit ;; 1305 *:*VMS:*:*) 1306 UNAME_MACHINE=`(uname -p) 2>/dev/null` 1307 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 ;; 1311 esac ;; 1312 *:XENIX:*:SysV) 1313 echo i386-pc-xenix 1314 exit ;; 1315 i*86:skyos:*:*) 1316 echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' 1317 exit ;; 1277 1318 esac 1278 1319 … … 1306 1347 1307 1348 #if defined (__arm) && defined (__acorn) && defined (__unix) 1308 printf ("arm-acorn-riscix "); exit (0);1349 printf ("arm-acorn-riscix\n"); exit (0); 1309 1350 #endif 1310 1351 … … 1395 1436 EOF 1396 1437 1397 $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; } 1398 1440 1399 1441 # Apollos put the system type in the environment. 1400 1442 1401 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }1443 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } 1402 1444 1403 1445 # Convex versions that predate uname can use getsysinfo(1) … … 1408 1450 c1*) 1409 1451 echo c1-convex-bsd 1410 exit 0;;1452 exit ;; 1411 1453 c2*) 1412 1454 if getsysinfo -f scalar_acc … … 1414 1456 else echo c2-convex-bsd 1415 1457 fi 1416 exit 0;;1458 exit ;; 1417 1459 c34*) 1418 1460 echo c34-convex-bsd 1419 exit 0;;1461 exit ;; 1420 1462 c38*) 1421 1463 echo c38-convex-bsd 1422 exit 0;;1464 exit ;; 1423 1465 c4*) 1424 1466 echo c4-convex-bsd 1425 exit 0;;1467 exit ;; 1426 1468 esac 1427 1469 fi … … 1434 1476 download the most up to date version of the config scripts from 1435 1477 1436 ftp://ftp.gnu.org/pub/gnu/config/ 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 1437 1481 1438 1482 If the version you run ($0) is already up to date, please -
trunk/config.sub
r5413 r5479 2 2 # Configuration validation subroutine script. 3 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 4 # 2000, 2001, 2002, 2003 Free Software Foundation, Inc.5 6 timestamp='200 4-03-12'4 # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 5 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., 5 9 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 … … 71 72 GNU config.sub ($timestamp) 72 73 73 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 74 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 74 75 Free Software Foundation, Inc. 75 76 … … 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 * ) … … 146 147 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ 147 148 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ 148 -apple | -axis )149 -apple | -axis | -knuth | -cray) 149 150 os= 150 151 basic_machine=$1 … … 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 \ 238 240 | i370 | i860 | i960 | ia64 \ 239 241 | ip2k | iq2000 \ 240 | m32r | m32rle | m68000 | m68k | m88k | m core \242 | m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \ 241 243 | mips | mipsbe | mipseb | mipsel | mipsle \ 242 244 | mips16 \ … … 247 249 | mips64vr4300 | mips64vr4300el \ 248 250 | mips64vr5000 | mips64vr5000el \ 251 | mips64r5900 | mips64r5900el \ 249 252 | mipsisa32 | mipsisa32el \ 250 253 | mipsisa32r2 | mipsisa32r2el \ … … 255 258 | mipstx39 | mipstx39el \ 256 259 | mn10200 | mn10300 \ 260 | ms1 \ 257 261 | msp430 \ 258 262 | ns16k | ns32k \ … … 263 267 | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ 264 268 | sh64 | sh64le \ 265 | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ 269 | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ 270 | sparcv8 | sparcv9 | sparcv9b \ 266 271 | strongarm \ 267 272 | tahoe | thumb | tic4x | tic80 | tron \ 268 273 | v850 | v850e \ 269 274 | we32k \ 270 | x86 | xscale | xs tormy16 | xtensa \275 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \ 271 276 | z8k) 277 basic_machine=$basic_machine-unknown 278 ;; 279 m32c) 272 280 basic_machine=$basic_machine-unknown 273 281 ;; … … 299 307 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ 300 308 | avr-* \ 301 | b s2000-* \309 | bfin-* | bs2000-* \ 302 310 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ 303 | clipper-* | c ydra-* \311 | clipper-* | craynv-* | cydra-* \ 304 312 | d10v-* | d30v-* | dlx-* \ 305 313 | elxsi-* \ … … 311 319 | m32r-* | m32rle-* \ 312 320 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ 313 | m88110-* | m88k-* | m core-* \321 | m88110-* | m88k-* | maxq-* | mcore-* \ 314 322 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ 315 323 | mips16-* \ … … 320 328 | mips64vr4300-* | mips64vr4300el-* \ 321 329 | mips64vr5000-* | mips64vr5000el-* \ 330 | mips64r5900-* | mips64r5900el-* \ 322 331 | mipsisa32-* | mipsisa32el-* \ 323 332 | mipsisa32r2-* | mipsisa32r2el-* \ … … 327 336 | mipsisa64sr71k-* | mipsisa64sr71kel-* \ 328 337 | mipstx39-* | mipstx39el-* \ 338 | mmix-* \ 339 | ms1-* \ 329 340 | msp430-* \ 330 | none-* | np1-* | n v1-* | ns16k-* | ns32k-* \341 | none-* | np1-* | ns16k-* | ns32k-* \ 331 342 | orion-* \ 332 343 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ … … 336 347 | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ 337 348 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ 338 | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ 349 | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ 350 | sparclite-* \ 339 351 | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ 340 352 | tahoe-* | thumb-* \ … … 343 355 | v850-* | v850e-* | vax-* \ 344 356 | we32k-* \ 345 | x86-* | x86_64-* | xps100-* | xscale-* | xs tormy16-* \346 | x tensa-* \357 | x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \ 358 | xstormy16-* | xtensa-* \ 347 359 | ymp-* \ 348 360 | z8k-*) 361 ;; 362 m32c-*) 349 363 ;; 350 364 # Recognize the various machine names and aliases which stand … … 446 460 os=-unicos 447 461 ;; 462 craynv) 463 basic_machine=craynv-cray 464 os=-unicosmp 465 ;; 448 466 cr16c) 449 467 basic_machine=cr16c-unknown … … 453 471 basic_machine=m68k-crds 454 472 ;; 473 crisv32 | crisv32-* | etraxfs*) 474 basic_machine=crisv32-axis 475 ;; 455 476 cris | cris-* | etrax*) 456 477 basic_machine=cris-axis … … 481 502 basic_machine=m88k-motorola 482 503 os=-sysv3 504 ;; 505 djgpp) 506 basic_machine=i586-pc 507 os=-msdosdjgpp 483 508 ;; 484 509 dpx20 | dpx20-*) … … 654 679 os=-mint 655 680 ;; 681 mipsEE* | ee | ps2) 682 basic_machine=mips64r5900el-scei 683 case $os in 684 -linux*) 685 ;; 686 *) 687 os=-elf 688 ;; 689 esac 690 ;; 691 iop) 692 basic_machine=mipsel-scei 693 os=-irx 694 ;; 695 dvp) 696 basic_machine=dvp-scei 697 os=-elf 698 ;; 656 699 mips3*-*) 657 700 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` … … 659 702 mips3*) 660 703 basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown 661 ;;662 mmix*)663 basic_machine=mmix-knuth664 os=-mmixware665 704 ;; 666 705 monitor) … … 744 783 basic_machine=np1-gould 745 784 ;; 746 nv1)747 basic_machine=nv1-cray748 os=-unicosmp749 ;;750 785 nsr-tandem) 751 786 basic_machine=nsr-tandem … … 1029 1064 basic_machine=hppa1.1-winbond 1030 1065 os=-proelf 1066 ;; 1067 xbox) 1068 basic_machine=i686-pc 1069 os=-mingw32 1031 1070 ;; 1032 1071 xps | xps100) … … 1059 1098 romp) 1060 1099 basic_machine=romp-ibm 1100 ;; 1101 mmix) 1102 basic_machine=mmix-knuth 1061 1103 ;; 1062 1104 rs6000) … … 1168 1210 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ 1169 1211 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ 1170 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly*) 1212 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* | -skyos* \ 1213 | -irx* ) 1171 1214 # Remember, each alternative MUST END IN *, to match a version number. 1172 1215 ;; … … 1295 1338 os=-kaos 1296 1339 ;; 1340 -zvmoe) 1341 os=-zvmoe 1342 ;; 1297 1343 -none) 1298 1344 ;; … … 1374 1420 *-ibm) 1375 1421 os=-aix 1422 ;; 1423 *-knuth) 1424 os=-mmixware 1376 1425 ;; 1377 1426 *-wec) … … 1540 1589 1541 1590 echo $basic_machine$os 1542 exit 01591 exit 1543 1592 1544 1593 # Local variables: -
trunk/configure
r5475 r5479 867 867 --enable-debug compiles in debug mode. Lots of debug info about the 868 868 game. 869 --disable-modular-debug compiles in modular-debug mode, that logs870 differently on the many modules of orxonox. 869 --disable-modular-debug compiles in modular-debug 870 that logs differently on the many modules of orxonox.mode 871 871 --disable-gtk Prevents GTK from being loaded 872 872 --disable-curl Prevents libcURL from being loaded … … 879 879 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 880 880 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 881 --with-shared-lib-path Tells the executable, where to look for the shared 882 libraries. 881 --with-shared-lib-path Tells the executable 883 882 --with-sub-projects also builds the subProjects while make from srcdir 884 883 --with-tardis sets all the necesary environment flags for … … 4173 4172 #---------------------------# 4174 4173 def_tardis=no 4174 GTKPATH="" 4175 4175 echo "$as_me:$LINENO: checking convenience flag for working at the taris in the ETH zurich" >&5 4176 4176 echo $ECHO_N "checking convenience flag for working at the taris in the ETH zurich... $ECHO_C" >&6 … … 4189 4189 ## GTK 4190 4190 GTKPREFIX=/usr/pack/gtk-2.8.3-mo 4191 GTKPATH=${GTKPREFIX}/${ARCH}/bin 4191 4192 CPPFLAGS="${CPPFLAGS} -I${GTKPREFIX}/include" 4192 4193 LDFLAGS="${LDFLAGS} -L${GTKPREFIX}/${ARCH}/lib -Wl,-rpath -Wl,${GTKPREFIX}/${ARCH}/lib" … … 4302 4303 #-------------------------# 4303 4304 if test x$def_gtk = xyes; then 4304 # Extract the first word of "pkg-config", so it can be a program name with args. 4305 if test x${GTKPATH} != x; then 4306 # Extract the first word of "pkg-config", so it can be a program name with args. 4305 4307 set dummy pkg-config; ac_word=$2 4308 echo "$as_me:$LINENO: checking for $ac_word" >&5 4309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 4310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then 4311 echo $ECHO_N "(cached) $ECHO_C" >&6 4312 else 4313 case $PKG_CONFIG in 4314 [\\/]* | ?:[\\/]*) 4315 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 4316 ;; 4317 *) 4318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4319 for as_dir in $GTKPATH 4320 do 4321 IFS=$as_save_IFS 4322 test -z "$as_dir" && as_dir=. 4323 for ac_exec_ext in '' $ac_executable_extensions; do 4324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4325 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 4326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4327 break 2 4328 fi 4329 done 4330 done 4331 4332 ;; 4333 esac 4334 fi 4335 PKG_CONFIG=$ac_cv_path_PKG_CONFIG 4336 4337 if test -n "$PKG_CONFIG"; then 4338 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 4339 echo "${ECHO_T}$PKG_CONFIG" >&6 4340 else 4341 echo "$as_me:$LINENO: result: no" >&5 4342 echo "${ECHO_T}no" >&6 4343 fi 4344 4345 else 4346 # Extract the first word of "pkg-config ", so it can be a program name with args. 4347 set dummy pkg-config ; ac_word=$2 4306 4348 echo "$as_me:$LINENO: checking for $ac_word" >&5 4307 4349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 … … 4341 4383 fi 4342 4384 4385 fi 4343 4386 fi 4344 4387 -
trunk/configure.ac
r5478 r5479 24 24 ## AUTOCONF INIT PHASE ## 25 25 ######################### 26 AC_PREREQ(2.5 6)27 AC_INIT( orxonox, 0.3.1_alpha,[orxonox-dev at mail.datacore.ch])26 AC_PREREQ(2.59) 27 AC_INIT([orxonox],[0.3.1_alpha],[orxonox-dev at mail.datacore.ch]) 28 28 29 29 ## Detect the canonical host and target build environment. … … 70 70 AC_MSG_CHECKING([shared lib path]) 71 71 AC_ARG_WITH([shared-lib-path], 72 A C_HELP_STRING( [--with-shared-lib-path], [Tells the executable, where to look for the shared libraries.]),72 AS_HELP_STRING(--with-shared-lib-path,Tells the executable, where to look for the shared libraries.), 73 73 SHARED_LIB_PATH=$withval) 74 74 if test x$SHARED_LIB_PATH != xno; then … … 85 85 AC_MSG_CHECKING([if DEBUG-mode should be enabled]) 86 86 AC_ARG_ENABLE([debug], 87 A C_HELP_STRING( [--enable-debug], [compiles in debug mode. Lots of debug info about the game.]),87 AS_HELP_STRING(--enable-debug,compiles in debug mode. Lots of debug info about the game.), 88 88 DEBUG=$enableval) 89 89 … … 108 108 AC_MSG_CHECKING([if Modular-DEBUG-mode should be ebabled]) 109 109 AC_ARG_ENABLE([modular-debug], 110 A C_HELP_STRING( [--disable-modular-debug], [compiles in modular-debug mode, that logs differently on the many modules of orxonox.]),110 AS_HELP_STRING(--disable-modular-debug,compiles in modular-debug mode, that logs differently on the many modules of orxonox.), 111 111 MODULAR_DEBUG=$enableval) 112 112 … … 123 123 AC_MSG_CHECKING([if gtk should be enabled]) 124 124 AC_ARG_ENABLE([gtk], 125 AC_HELP_STRING( [--disable-gtk], 126 [Prevents GTK from being loaded]), [def_gtk=no], [def_gtk=yes]) 125 AS_HELP_STRING(--disable-gtk,Prevents GTK from being loaded), [def_gtk=no], [def_gtk=yes]) 127 126 if test x$def_gtk = xyes; then 128 127 echo "yes" … … 137 136 AC_MSG_CHECKING([if libcURL should be enabled]) 138 137 AC_ARG_ENABLE([curl], 139 AC_HELP_STRING( [--disable-curl], 140 [Prevents libcURL from being loaded]), [def_curl=no], [def_curl=yes]) 138 AS_HELP_STRING(--disable-curl,Prevents libcURL from being loaded), [def_curl=no], [def_curl=yes]) 141 139 if test x$def_curl = xyes; then 142 140 echo "yes" … … 152 150 AC_MSG_CHECKING([if the SubProjects should be built]) 153 151 AC_ARG_WITH([sub-projects], 154 AC_HELP_STRING( [--with-sub-projects], 155 [also builds the subProjects while make from srcdir]), [def_sub_projects=yes]) 152 AS_HELP_STRING(--with-sub-projects,also builds the subProjects while make from srcdir), [def_sub_projects=yes]) 156 153 if test x$def_sub_projects = xyes; then 157 154 echo "yes" … … 168 165 AC_MSG_CHECKING([if Profiling should be enabled]) 169 166 AC_ARG_ENABLE([profile], 170 AC_HELP_STRING( [--enable-profile], 171 [builds orxonox with profiling support]), [def_profiling=yes]) 167 AS_HELP_STRING(--enable-profile,builds orxonox with profiling support), [def_profiling=yes]) 172 168 if test x$def_profiling = xyes; then 173 169 echo "yes" … … 184 180 AC_MSG_CHECKING([if efence should be enabled]) 185 181 AC_ARG_ENABLE([efence], 186 AC_HELP_STRING( [--enable-efence], 187 [builds orxonox with efence support]), [def_efence=yes]) 182 AS_HELP_STRING(--enable-efence,builds orxonox with efence support), [def_efence=yes]) 188 183 if test x$def_efence = xyes; then 189 184 echo "yes" … … 199 194 AC_MSG_CHECKING([if the Documentation should be build by default]) 200 195 AC_ARG_ENABLE([documentation], 201 AC_HELP_STRING( [--enable-documentation], 202 [also builds the sDocumentation while make from srcdir]), [def_documentation=yes]) 196 AS_HELP_STRING(--enable-documentation,also builds the sDocumentation while make from srcdir), [def_documentation=yes]) 203 197 if test x$def_documentation = xyes; then 204 198 echo "yes" … … 218 212 AC_MSG_CHECKING([convenience flag for working at the taris in the ETH zurich]) 219 213 AC_ARG_WITH([tardis], 220 AC_HELP_STRING( [--with-tardis], 221 [sets all the necesary environment flags for linux-TARDIS boxes at the ETH Zurich]), [def_tardis=yes]) 214 AS_HELP_STRING(--with-tardis,sets all the necesary environment flags for linux-TARDIS boxes at the ETH Zurich), [def_tardis=yes]) 222 215 if test x$def_tardis = xyes; then 223 216 ARCH=i686-debian-linux3.1 -
trunk/depcomp
r1956 r5479 1 1 #! /bin/sh 2 3 2 # depcomp - compile a program generating dependencies as side-effects 4 # Copyright 1999, 2000, 2003 Free Software Foundation, Inc. 3 4 scriptversion=2005-07-09.11 5 6 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. 5 7 6 8 # This program is free software; you can redistribute it and/or modify … … 16 18 # You should have received a copy of the GNU General Public License 17 19 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 5 9 Temple Place - Suite 330, Boston, MA19 # 0211 1-1307, USA.20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 21 # 02110-1301, USA. 20 22 21 23 # As a special exception to the GNU General Public License, if you … … 26 28 # Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>. 27 29 30 case $1 in 31 '') 32 echo "$0: No command. Try \`$0 --help' for more information." 1>&2 33 exit 1; 34 ;; 35 -h | --h*) 36 cat <<\EOF 37 Usage: depcomp [--help] [--version] PROGRAM [ARGS] 38 39 Run PROGRAMS ARGS to compile a file, generating dependencies 40 as side-effects. 41 42 Environment variables: 43 depmode Dependency tracking mode. 44 source Source file read by `PROGRAMS ARGS'. 45 object Object file output by `PROGRAMS ARGS'. 46 DEPDIR directory where to store dependencies. 47 depfile Dependency file to output. 48 tmpdepfile Temporary file to use when outputing dependencies. 49 libtool Whether libtool is used (yes/no). 50 51 Report bugs to <bug-automake@gnu.org>. 52 EOF 53 exit $? 54 ;; 55 -v | --v*) 56 echo "depcomp $scriptversion" 57 exit $? 58 ;; 59 esac 60 28 61 if test -z "$depmode" || test -z "$source" || test -z "$object"; then 29 62 echo "depcomp: Variables source, object and depmode must be set" 1>&2 30 63 exit 1 31 64 fi 32 # `libtool' can also be set to `yes' or `no'. 33 34 if test -z "$depfile"; then 35 base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` 36 dir=`echo "$object" | sed 's,/.*$,/,'` 37 if test "$dir" = "$object"; then 38 dir= 39 fi 40 # FIXME: should be _deps on DOS. 41 depfile="$dir.deps/$base" 42 fi 43 65 66 # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. 67 depfile=${depfile-`echo "$object" | 68 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} 44 69 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} 45 70 … … 263 288 264 289 if test "$libtool" = yes; then 265 tmpdepfile1="$dir.libs/$base.lo.d" 266 tmpdepfile2="$dir.libs/$base.d" 290 # With Tru64 cc, shared objects can also be used to make a 291 # static library. This mecanism is used in libtool 1.4 series to 292 # handle both shared and static libraries in a single compilation. 293 # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. 294 # 295 # With libtool 1.5 this exception was removed, and libtool now 296 # generates 2 separate objects for the 2 libraries. These two 297 # compilations output dependencies in in $dir.libs/$base.o.d and 298 # in $dir$base.o.d. We have to check for both files, because 299 # one of the two compilations can be disabled. We should prefer 300 # $dir$base.o.d over $dir.libs/$base.o.d because the latter is 301 # automatically cleaned when .libs/ is deleted, while ignoring 302 # the former would cause a distcleancheck panic. 303 tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 304 tmpdepfile2=$dir$base.o.d # libtool 1.5 305 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 306 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 267 307 "$@" -Wc,-MD 268 308 else 269 tmpdepfile1="$dir$base.o.d" 270 tmpdepfile2="$dir$base.d" 309 tmpdepfile1=$dir$base.o.d 310 tmpdepfile2=$dir$base.d 311 tmpdepfile3=$dir$base.d 312 tmpdepfile4=$dir$base.d 271 313 "$@" -MD 272 314 fi … … 275 317 if test $stat -eq 0; then : 276 318 else 277 rm -f "$tmpdepfile1" "$tmpdepfile2" 319 rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" 278 320 exit $stat 279 321 fi 280 322 281 if test -f "$tmpdepfile1"; then 282 tmpdepfile="$tmpdepfile1" 283 else 284 tmpdepfile="$tmpdepfile2" 285 fi 323 for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" 324 do 325 test -f "$tmpdepfile" && break 326 done 286 327 if test -f "$tmpdepfile"; then 287 328 sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" … … 427 468 428 469 "$@" -E | 429 sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | 470 sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ 471 -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | 430 472 sed '$ s: \\$::' > "$tmpdepfile" 431 473 rm -f "$depfile" … … 478 520 479 521 exit 0 522 523 # Local Variables: 524 # mode: shell-script 525 # sh-indentation: 2 526 # eval: (add-hook 'write-file-hooks 'time-stamp) 527 # time-stamp-start: "scriptversion=" 528 # time-stamp-format: "%:y-%02m-%02d.%02H" 529 # time-stamp-end: "$" 530 # End: -
trunk/install-sh
r1956 r5479 1 1 #!/bin/sh 2 #3 2 # install - install a program, script, or datafile 4 # 3 4 scriptversion=2005-05-14.22 5 5 6 # This originates from X11R5 (mit/util/scripts/install.sh), which was 6 7 # later released in X11R6 (xc/config/util/install.sh) with the … … 42 43 # shared with many OS's install programs. 43 44 44 45 45 # set DOITPROG to echo to test this script 46 46 47 47 # Don't use :- since 4.3BSD and earlier shells don't like it. 48 48 doit="${DOITPROG-}" 49 50 49 51 50 # put in absolute paths if you don't have them in your path; or use env. vars. … … 60 59 mkdirprog="${MKDIRPROG-mkdir}" 61 60 62 transformbasename=""63 transform_arg=""64 instcmd="$mvprog"65 61 chmodcmd="$chmodprog 0755" 66 chowncmd= ""67 chgrpcmd= ""68 stripcmd= ""62 chowncmd= 63 chgrpcmd= 64 stripcmd= 69 65 rmcmd="$rmprog -f" 70 66 mvcmd="$mvprog" 71 src="" 72 dst="" 73 dir_arg="" 74 75 while [ x"$1" != x ]; do 76 case $1 in 77 -c) instcmd=$cpprog 78 shift 79 continue;; 80 81 -d) dir_arg=true 82 shift 83 continue;; 84 85 -m) chmodcmd="$chmodprog $2" 86 shift 87 shift 88 continue;; 89 90 -o) chowncmd="$chownprog $2" 91 shift 92 shift 93 continue;; 94 95 -g) chgrpcmd="$chgrpprog $2" 96 shift 97 shift 98 continue;; 99 100 -s) stripcmd=$stripprog 101 shift 102 continue;; 103 104 -t=*) transformarg=`echo $1 | sed 's/-t=//'` 105 shift 106 continue;; 107 108 -b=*) transformbasename=`echo $1 | sed 's/-b=//'` 109 shift 110 continue;; 111 112 *) if [ x"$src" = x ] 113 then 114 src=$1 115 else 116 # this colon is to work around a 386BSD /bin/sh bug 117 : 118 dst=$1 119 fi 120 shift 121 continue;; 67 src= 68 dst= 69 dir_arg= 70 dstarg= 71 no_target_directory= 72 73 usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE 74 or: $0 [OPTION]... SRCFILES... DIRECTORY 75 or: $0 [OPTION]... -t DIRECTORY SRCFILES... 76 or: $0 [OPTION]... -d DIRECTORIES... 77 78 In the 1st form, copy SRCFILE to DSTFILE. 79 In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. 80 In the 4th, create DIRECTORIES. 81 82 Options: 83 -c (ignored) 84 -d create directories instead of installing files. 85 -g GROUP $chgrpprog installed files to GROUP. 86 -m MODE $chmodprog installed files to MODE. 87 -o USER $chownprog installed files to USER. 88 -s $stripprog installed files. 89 -t DIRECTORY install into DIRECTORY. 90 -T report an error if DSTFILE is a directory. 91 --help display this help and exit. 92 --version display version info and exit. 93 94 Environment variables override the default commands: 95 CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG 96 " 97 98 while test -n "$1"; do 99 case $1 in 100 -c) shift 101 continue;; 102 103 -d) dir_arg=true 104 shift 105 continue;; 106 107 -g) chgrpcmd="$chgrpprog $2" 108 shift 109 shift 110 continue;; 111 112 --help) echo "$usage"; exit $?;; 113 114 -m) chmodcmd="$chmodprog $2" 115 shift 116 shift 117 continue;; 118 119 -o) chowncmd="$chownprog $2" 120 shift 121 shift 122 continue;; 123 124 -s) stripcmd=$stripprog 125 shift 126 continue;; 127 128 -t) dstarg=$2 129 shift 130 shift 131 continue;; 132 133 -T) no_target_directory=true 134 shift 135 continue;; 136 137 --version) echo "$0 $scriptversion"; exit $?;; 138 139 *) # When -d is used, all remaining arguments are directories to create. 140 # When -t is used, the destination is already specified. 141 test -n "$dir_arg$dstarg" && break 142 # Otherwise, the last argument is the destination. Remove it from $@. 143 for arg 144 do 145 if test -n "$dstarg"; then 146 # $@ is not empty: it contains at least $arg. 147 set fnord "$@" "$dstarg" 148 shift # fnord 149 fi 150 shift # arg 151 dstarg=$arg 152 done 153 break;; 154 esac 155 done 156 157 if test -z "$1"; then 158 if test -z "$dir_arg"; then 159 echo "$0: no input file specified." >&2 160 exit 1 161 fi 162 # It's OK to call `install-sh -d' without argument. 163 # This can happen when creating conditional directories. 164 exit 0 165 fi 166 167 for src 168 do 169 # Protect names starting with `-'. 170 case $src in 171 -*) src=./$src ;; 172 esac 173 174 if test -n "$dir_arg"; then 175 dst=$src 176 src= 177 178 if test -d "$dst"; then 179 mkdircmd=: 180 chmodcmd= 181 else 182 mkdircmd=$mkdirprog 183 fi 184 else 185 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command 186 # might cause directories to be created, which would be especially bad 187 # if $src (and thus $dsttmp) contains '*'. 188 if test ! -f "$src" && test ! -d "$src"; then 189 echo "$0: $src does not exist." >&2 190 exit 1 191 fi 192 193 if test -z "$dstarg"; then 194 echo "$0: no destination specified." >&2 195 exit 1 196 fi 197 198 dst=$dstarg 199 # Protect names starting with `-'. 200 case $dst in 201 -*) dst=./$dst ;; 122 202 esac 203 204 # If destination is a directory, append the input filename; won't work 205 # if double slashes aren't ignored. 206 if test -d "$dst"; then 207 if test -n "$no_target_directory"; then 208 echo "$0: $dstarg: Is a directory" >&2 209 exit 1 210 fi 211 dst=$dst/`basename "$src"` 212 fi 213 fi 214 215 # This sed command emulates the dirname command. 216 dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` 217 218 # Make sure that the destination directory exists. 219 220 # Skip lots of stat calls in the usual case. 221 if test ! -d "$dstdir"; then 222 defaultIFS=' 223 ' 224 IFS="${IFS-$defaultIFS}" 225 226 oIFS=$IFS 227 # Some sh's can't handle IFS=/ for some reason. 228 IFS='%' 229 set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` 230 shift 231 IFS=$oIFS 232 233 pathcomp= 234 235 while test $# -ne 0 ; do 236 pathcomp=$pathcomp$1 237 shift 238 if test ! -d "$pathcomp"; then 239 $mkdirprog "$pathcomp" 240 # mkdir can fail with a `File exist' error in case several 241 # install-sh are creating the directory concurrently. This 242 # is OK. 243 test -d "$pathcomp" || exit 244 fi 245 pathcomp=$pathcomp/ 246 done 247 fi 248 249 if test -n "$dir_arg"; then 250 $doit $mkdircmd "$dst" \ 251 && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ 252 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ 253 && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ 254 && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } 255 256 else 257 dstfile=`basename "$dst"` 258 259 # Make a couple of temp file names in the proper directory. 260 dsttmp=$dstdir/_inst.$$_ 261 rmtmp=$dstdir/_rm.$$_ 262 263 # Trap to clean up those temp files at exit. 264 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 265 trap '(exit $?); exit' 1 2 13 15 266 267 # Copy the file name to the temp name. 268 $doit $cpprog "$src" "$dsttmp" && 269 270 # and set any options; do chmod last to preserve setuid bits. 271 # 272 # If any of these fail, we abort the whole thing. If we want to 273 # ignore errors from any of these, just make sure not to ignore 274 # errors from the above "$doit $cpprog $src $dsttmp" command. 275 # 276 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ 277 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ 278 && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ 279 && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && 280 281 # Now rename the file to the real destination. 282 { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ 283 || { 284 # The rename failed, perhaps because mv can't rename something else 285 # to itself, or perhaps because mv is so ancient that it does not 286 # support -f. 287 288 # Now remove or move aside any old file at destination location. 289 # We try this two ways since rm can't unlink itself on some 290 # systems and the destination file might be busy for other 291 # reasons. In this case, the final cleanup might fail but the new 292 # file should still install successfully. 293 { 294 if test -f "$dstdir/$dstfile"; then 295 $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ 296 || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ 297 || { 298 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 299 (exit 1); exit 1 300 } 301 else 302 : 303 fi 304 } && 305 306 # Now rename the file to the real destination. 307 $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" 308 } 309 } 310 fi || { (exit 1); exit 1; } 123 311 done 124 312 125 if [ x"$src" = x ] 126 then 127 echo "$0: no input file specified" >&2 128 exit 1 129 else 130 : 131 fi 132 133 if [ x"$dir_arg" != x ]; then 134 dst=$src 135 src="" 136 137 if [ -d "$dst" ]; then 138 instcmd=: 139 chmodcmd="" 140 else 141 instcmd=$mkdirprog 142 fi 143 else 144 145 # Waiting for this to be detected by the "$instcmd $src $dsttmp" command 146 # might cause directories to be created, which would be especially bad 147 # if $src (and thus $dsttmp) contains '*'. 148 149 if [ -f "$src" ] || [ -d "$src" ] 150 then 151 : 152 else 153 echo "$0: $src does not exist" >&2 154 exit 1 155 fi 156 157 if [ x"$dst" = x ] 158 then 159 echo "$0: no destination specified" >&2 160 exit 1 161 else 162 : 163 fi 164 165 # If destination is a directory, append the input filename; if your system 166 # does not like double slashes in filenames, you may need to add some logic 167 168 if [ -d "$dst" ] 169 then 170 dst=$dst/`basename "$src"` 171 else 172 : 173 fi 174 fi 175 176 ## this sed command emulates the dirname command 177 dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` 178 179 # Make sure that the destination directory exists. 180 # this part is taken from Noah Friedman's mkinstalldirs script 181 182 # Skip lots of stat calls in the usual case. 183 if [ ! -d "$dstdir" ]; then 184 defaultIFS=' 185 ' 186 IFS="${IFS-$defaultIFS}" 187 188 oIFS=$IFS 189 # Some sh's can't handle IFS=/ for some reason. 190 IFS='%' 191 set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` 192 IFS=$oIFS 193 194 pathcomp='' 195 196 while [ $# -ne 0 ] ; do 197 pathcomp=$pathcomp$1 198 shift 199 200 if [ ! -d "$pathcomp" ] ; 201 then 202 $mkdirprog "$pathcomp" 203 else 204 : 205 fi 206 207 pathcomp=$pathcomp/ 208 done 209 fi 210 211 if [ x"$dir_arg" != x ] 212 then 213 $doit $instcmd "$dst" && 214 215 if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi && 216 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi && 217 if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi && 218 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi 219 else 220 221 # If we're going to rename the final executable, determine the name now. 222 223 if [ x"$transformarg" = x ] 224 then 225 dstfile=`basename "$dst"` 226 else 227 dstfile=`basename "$dst" $transformbasename | 228 sed $transformarg`$transformbasename 229 fi 230 231 # don't allow the sed command to completely eliminate the filename 232 233 if [ x"$dstfile" = x ] 234 then 235 dstfile=`basename "$dst"` 236 else 237 : 238 fi 239 240 # Make a couple of temp file names in the proper directory. 241 242 dsttmp=$dstdir/_inst.$$_ 243 rmtmp=$dstdir/_rm.$$_ 244 245 # Trap to clean up temp files at exit. 246 247 trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 248 trap '(exit $?); exit' 1 2 13 15 249 250 # Move or copy the file name to the temp name 251 252 $doit $instcmd "$src" "$dsttmp" && 253 254 # and set any options; do chmod last to preserve setuid bits 255 256 # If any of these fail, we abort the whole thing. If we want to 257 # ignore errors from any of these, just make sure not to ignore 258 # errors from the above "$doit $instcmd $src $dsttmp" command. 259 260 if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi && 261 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi && 262 if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi && 263 if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi && 264 265 # Now remove or move aside any old file at destination location. We try this 266 # two ways since rm can't unlink itself on some systems and the destination 267 # file might be busy for other reasons. In this case, the final cleanup 268 # might fail but the new file should still install successfully. 269 313 # The final little trick to "correctly" pass the exit status to the exit trap. 270 314 { 271 if [ -f "$dstdir/$dstfile" ] 272 then 273 $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null || 274 $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null || 275 { 276 echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 277 (exit 1); exit 278 } 279 else 280 : 281 fi 282 } && 283 284 # Now rename the file to the real destination. 285 286 $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" 287 288 fi && 289 290 # The final little trick to "correctly" pass the exit status to the exit trap. 291 292 { 293 (exit 0); exit 315 (exit 0); exit 0 294 316 } 317 318 # Local variables: 319 # eval: (add-hook 'write-file-hooks 'time-stamp) 320 # time-stamp-start: "scriptversion=" 321 # time-stamp-format: "%:y-%02m-%02d.%02H" 322 # time-stamp-end: "$" 323 # End: -
trunk/missing
r1956 r5479 1 1 #! /bin/sh 2 2 # Common stub for a few missing GNU programs while installing. 3 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. 3 4 scriptversion=2005-06-08.21 5 6 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 7 # Free Software Foundation, Inc. 4 8 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. 5 9 … … 16 20 # You should have received a copy of the GNU General Public License 17 21 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 5 9 Temple Place - Suite 330, Boston, MA19 # 0211 1-1307, USA.22 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 23 # 02110-1301, USA. 20 24 21 25 # As a special exception to the GNU General Public License, if you … … 39 43 fi 40 44 45 msg="missing on your system" 46 41 47 case "$1" in 42 48 --run) … … 45 51 shift 46 52 "$@" && exit 0 53 # Exit code 63 means version mismatch. This often happens 54 # when the user try to use an ancient version of a tool on 55 # a file that requires a minimum version. In this case we 56 # we should proceed has if the program had been absent, or 57 # if --run hadn't been passed. 58 if test $? = 63; then 59 run=: 60 msg="probably too old" 61 fi 47 62 ;; 48 esac49 50 # If it does not exist, or fails to run (possibly an outdated version),51 # try to emulate it.52 case "$1" in53 63 54 64 -h|--h|--he|--hel|--help) … … 75 85 makeinfo touch the output file 76 86 tar try tar, gnutar, gtar, then tar without non-portable flags 77 yacc create \`y.tab.[ch]', if possible, from existing .[ch]" 87 yacc create \`y.tab.[ch]', if possible, from existing .[ch] 88 89 Send bug reports to <bug-automake@gnu.org>." 90 exit $? 78 91 ;; 79 92 80 93 -v|--v|--ve|--ver|--vers|--versi|--versio|--version) 81 echo "missing 0.4 - GNU automake" 94 echo "missing $scriptversion (GNU Automake)" 95 exit $? 82 96 ;; 83 97 … … 88 102 ;; 89 103 90 aclocal*) 104 esac 105 106 # Now exit if we have it, but it failed. Also exit now if we 107 # don't have it and --version was passed (most likely to detect 108 # the program). 109 case "$1" in 110 lex|yacc) 111 # Not GNU programs, they don't have --version. 112 ;; 113 114 tar) 115 if test -n "$run"; then 116 echo 1>&2 "ERROR: \`tar' requires --run" 117 exit 1 118 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then 119 exit 1 120 fi 121 ;; 122 123 *) 91 124 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then 92 125 # We have it, but it failed. 93 126 exit 1 94 fi 95 96 echo 1>&2 "\ 97 WARNING: \`$1' is missing on your system. You should only need it if 127 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then 128 # Could not run --version or --help. This is probably someone 129 # running `$TOOL --version' or `$TOOL --help' to check whether 130 # $TOOL exists and not knowing $TOOL uses missing. 131 exit 1 132 fi 133 ;; 134 esac 135 136 # If it does not exist, or fails to run (possibly an outdated version), 137 # try to emulate it. 138 case "$1" in 139 aclocal*) 140 echo 1>&2 "\ 141 WARNING: \`$1' is $msg. You should only need it if 98 142 you modified \`acinclude.m4' or \`${configure_ac}'. You might want 99 143 to install the \`Automake' and \`Perl' packages. Grab them from … … 103 147 104 148 autoconf) 105 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then 106 # We have it, but it failed. 107 exit 1 108 fi 109 110 echo 1>&2 "\ 111 WARNING: \`$1' is missing on your system. You should only need it if 149 echo 1>&2 "\ 150 WARNING: \`$1' is $msg. You should only need it if 112 151 you modified \`${configure_ac}'. You might want to install the 113 152 \`Autoconf' and \`GNU m4' packages. Grab them from any GNU … … 117 156 118 157 autoheader) 119 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then 120 # We have it, but it failed. 121 exit 1 122 fi 123 124 echo 1>&2 "\ 125 WARNING: \`$1' is missing on your system. You should only need it if 158 echo 1>&2 "\ 159 WARNING: \`$1' is $msg. You should only need it if 126 160 you modified \`acconfig.h' or \`${configure_ac}'. You might want 127 161 to install the \`Autoconf' and \`GNU m4' packages. Grab them … … 141 175 142 176 automake*) 143 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then 144 # We have it, but it failed. 145 exit 1 146 fi 147 148 echo 1>&2 "\ 149 WARNING: \`$1' is missing on your system. You should only need it if 177 echo 1>&2 "\ 178 WARNING: \`$1' is $msg. You should only need it if 150 179 you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. 151 180 You might want to install the \`Automake' and \`Perl' packages. … … 157 186 158 187 autom4te) 159 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then 160 # We have it, but it failed. 161 exit 1 162 fi 163 164 echo 1>&2 "\ 165 WARNING: \`$1' is needed, and you do not seem to have it handy on your 166 system. You might have modified some files without having the 188 echo 1>&2 "\ 189 WARNING: \`$1' is needed, but is $msg. 190 You might have modified some files without having the 167 191 proper tools for further handling them. 168 192 You can get \`$1' as part of \`Autoconf' from any GNU … … 186 210 bison|yacc) 187 211 echo 1>&2 "\ 188 WARNING: \`$1' is missing on your system. You should only need it if212 WARNING: \`$1' $msg. You should only need it if 189 213 you modified a \`.y' file. You may need the \`Bison' package 190 214 in order for those modifications to take effect. You can get … … 216 240 lex|flex) 217 241 echo 1>&2 "\ 218 WARNING: \`$1' is missing on your system. You should only need it if242 WARNING: \`$1' is $msg. You should only need it if 219 243 you modified a \`.l' file. You may need the \`Flex' package 220 244 in order for those modifications to take effect. You can get … … 238 262 239 263 help2man) 240 if test -z "$run" && ($1 --version) > /dev/null 2>&1; then 241 # We have it, but it failed. 242 exit 1 243 fi 244 245 echo 1>&2 "\ 246 WARNING: \`$1' is missing on your system. You should only need it if 264 echo 1>&2 "\ 265 WARNING: \`$1' is $msg. You should only need it if 247 266 you modified a dependency of a manual page. You may need the 248 267 \`Help2man' package in order for those modifications to take … … 263 282 264 283 makeinfo) 265 if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then 266 # We have makeinfo, but it failed. 267 exit 1 268 fi 269 270 echo 1>&2 "\ 271 WARNING: \`$1' is missing on your system. You should only need it if 284 echo 1>&2 "\ 285 WARNING: \`$1' is $msg. You should only need it if 272 286 you modified a \`.texi' or \`.texinfo' file, or any other file 273 287 indirectly affecting the aspect of the manual. The spurious … … 275 289 DU, IRIX). You might want to install the \`Texinfo' package or 276 290 the \`GNU make' package. Grab either from any GNU archive site." 291 # The file to touch is that specified with -o ... 277 292 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` 278 293 if test -z "$file"; then 279 file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` 280 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` 281 fi 294 # ... or it is the one specified with @setfilename ... 295 infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` 296 file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` 297 # ... or it is derived from the source name (dir/f.texi becomes f.info) 298 test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info 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 1 282 303 touch $file 283 304 ;; … … 285 306 tar) 286 307 shift 287 if test -n "$run"; then288 echo 1>&2 "ERROR: \`tar' requires --run"289 exit 1290 fi291 308 292 309 # We have already tried tar in the generic part. … … 324 341 *) 325 342 echo 1>&2 "\ 326 WARNING: \`$1' is needed, and you do not seem to have it handy on your327 system.You might have modified some files without having the343 WARNING: \`$1' is needed, and is $msg. 344 You might have modified some files without having the 328 345 proper tools for further handling them. Check the \`README' file, 329 346 it often tells you about the needed prerequisites for installing … … 335 352 336 353 exit 0 354 355 # Local variables: 356 # eval: (add-hook 'write-file-hooks 'time-stamp) 357 # time-stamp-start: "scriptversion=" 358 # time-stamp-format: "%:y-%02m-%02d.%02H" 359 # time-stamp-end: "$" 360 # End: -
trunk/mkinstalldirs
r1956 r5479 1 1 #! /bin/sh 2 2 # mkinstalldirs --- make directory hierarchy 3 # Author: Noah Friedman <friedman@prep.ai.mit.edu> 3 4 scriptversion=2005-06-29.22 5 6 # Original author: Noah Friedman <friedman@prep.ai.mit.edu> 4 7 # Created: 1993-05-16 5 # Public domain 8 # Public domain. 9 # 10 # This file is maintained in Automake, please report 11 # bugs to <bug-automake@gnu.org> or send patches to 12 # <automake-patches@gnu.org>. 6 13 7 14 errstatus=0 8 dirmode= ""15 dirmode= 9 16 10 17 usage="\ 11 Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..." 18 Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... 19 20 Create each directory DIR (with mode MODE, if specified), including all 21 leading file name components. 22 23 Report bugs to <bug-automake@gnu.org>." 12 24 13 25 # process command line arguments … … 15 27 case $1 in 16 28 -h | --help | --h*) # -h for help 17 echo "$usage" 1>&218 exit 029 echo "$usage" 30 exit $? 19 31 ;; 20 32 -m) # -m PERM arg … … 23 35 dirmode=$1 24 36 shift 37 ;; 38 --version) 39 echo "$0 $scriptversion" 40 exit $? 25 41 ;; 26 42 --) # stop option processing … … 51 67 esac 52 68 69 # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and 70 # mkdir -p a/c at the same time, both will detect that a is missing, 71 # one will create a, then the other will try to create a and die with 72 # a "File exists" error. This is a problem when calling mkinstalldirs 73 # from a parallel make. We use --version in the probe to restrict 74 # ourselves to GNU mkdir, which is thread-safe. 53 75 case $dirmode in 54 76 '') 55 if mkdir -p -- . 2>/dev/null; then77 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then 56 78 echo "mkdir -p -- $*" 57 79 exec mkdir -p -- "$@" 80 else 81 # On NextStep and OpenStep, the `mkdir' command does not 82 # recognize any option. It will interpret all options as 83 # directories to create, and then abort because `.' already 84 # exists. 85 test -d ./-p && rmdir ./-p 86 test -d ./--version && rmdir ./--version 58 87 fi 59 88 ;; 60 89 *) 61 if mkdir -m "$dirmode" -p -- . 2>/dev/null; then 90 if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && 91 test ! -d ./--version; then 62 92 echo "mkdir -m $dirmode -p -- $*" 63 93 exec mkdir -m "$dirmode" -p -- "$@" 94 else 95 # Clean up after NextStep and OpenStep mkdir. 96 for d in ./-m ./-p ./--version "./$dirmode"; 97 do 98 test -d $d && rmdir $d 99 done 64 100 fi 65 101 ;; … … 68 104 for file 69 105 do 70 set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` 106 case $file in 107 /*) pathcomp=/ ;; 108 *) pathcomp= ;; 109 esac 110 oIFS=$IFS 111 IFS=/ 112 set fnord $file 71 113 shift 114 IFS=$oIFS 72 115 73 pathcomp=74 116 for d 75 117 do 76 pathcomp="$pathcomp$d" 118 test "x$d" = x && continue 119 120 pathcomp=$pathcomp$d 77 121 case $pathcomp in 78 122 -*) pathcomp=./$pathcomp ;; … … 85 129 86 130 if test ! -d "$pathcomp"; then 87 131 errstatus=$lasterr 88 132 else 89 133 if test ! -z "$dirmode"; then 90 134 echo "chmod $dirmode $pathcomp" 91 lasterr="" 92 135 lasterr= 136 chmod "$dirmode" "$pathcomp" || lasterr=$? 93 137 94 95 96 97 138 if test ! -z "$lasterr"; then 139 errstatus=$lasterr 140 fi 141 fi 98 142 fi 99 143 fi 100 144 101 pathcomp= "$pathcomp/"145 pathcomp=$pathcomp/ 102 146 done 103 147 done … … 108 152 # mode: shell-script 109 153 # sh-indentation: 2 154 # eval: (add-hook 'write-file-hooks 'time-stamp) 155 # time-stamp-start: "scriptversion=" 156 # time-stamp-format: "%:y-%02m-%02d.%02H" 157 # time-stamp-end: "$" 110 158 # End: 111 # mkinstalldirs ends here -
trunk/src/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(orxonox_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXlibs_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/collision_detection/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXcd_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/event/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXevent_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/graphics/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXgraphics_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/graphics/importer/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXimporter_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/graphics/spatial_separation/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXquadtree_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/gui/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 -
trunk/src/lib/gui/gl_gui/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXglgui_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/gui/gtk_gui/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXgui_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/particles/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXparticles_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/physics/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXphysics_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/shell/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXshell_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/sound/Makefile.in
r5473 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXsound_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/lib/tinyxml/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libtinyxml_a_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/orxonox.cc
r5424 r5479 285 285 CONFIG_SECTION_DATA, 286 286 CONFIG_NAME_DATADIR); 287 Gui* gui = new Gui(argc, argv); 288 gui->startGui(); 289 delete gui; 287 290 exit(-1); 288 291 } -
trunk/src/subprojects/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 -
trunk/src/subprojects/collision_detection/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 14 14 15 15 @SET_MAKE@ 16 17 SOURCES = $(collision_SOURCES)18 16 19 17 srcdir = @srcdir@ -
trunk/src/subprojects/importer/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 14 14 15 15 @SET_MAKE@ 16 17 SOURCES = $(importer_SOURCES)18 16 19 17 srcdir = @srcdir@ -
trunk/src/subprojects/particles/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 14 14 15 15 @SET_MAKE@ 16 17 SOURCES = $(particles_SOURCES)18 16 19 17 srcdir = @srcdir@ -
trunk/src/subprojects/testmain/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(testmain_SOURCES)19 17 20 18 srcdir = @srcdir@ -
trunk/src/util/Makefile.am
r5463 r5479 6 6 libORXutils_a_SOURCES = fast_factory.cc \ 7 7 garbage_collector.cc \ 8 resource_manager.cc \9 8 state.cc \ 10 9 user_control.cc \ … … 12 11 animation/animation.cc \ 13 12 animation/animation_player.cc \ 13 loading/resource_manager.cc \ 14 14 loading/factory.cc \ 15 15 loading/game_loader.cc \ … … 21 21 noinst_HEADERS = fast_factory.h \ 22 22 garbage_collector.h \ 23 resource_manager.h \24 23 state.h \ 25 24 user_control.h \ … … 28 27 animation/animation_player.h \ 29 28 animation/t_animation.h \ 29 loading/resource_manager.h \ 30 30 loading/factory.h \ 31 31 loading/game_loader.h \ -
trunk/src/util/Makefile.in
r5475 r5479 1 # Makefile.in generated by automake 1.9. 5from Makefile.am.1 # Makefile.in generated by automake 1.9.6 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 15 15 @SET_MAKE@ 16 16 17 18 SOURCES = $(libORXutils_a_SOURCES)19 17 20 18 srcdir = @srcdir@ … … 57 55 libORXutils_a_LIBADD = 58 56 am_libORXutils_a_OBJECTS = fast_factory.$(OBJEXT) \ 59 garbage_collector.$(OBJEXT) resource_manager.$(OBJEXT) \60 state.$(OBJEXT)user_control.$(OBJEXT) animation3d.$(OBJEXT) \57 garbage_collector.$(OBJEXT) state.$(OBJEXT) \ 58 user_control.$(OBJEXT) animation3d.$(OBJEXT) \ 61 59 animation.$(OBJEXT) animation_player.$(OBJEXT) \ 62 factory.$(OBJEXT) game_loader.$(OBJEXT) load_param.$(OBJEXT) \ 60 resource_manager.$(OBJEXT) factory.$(OBJEXT) \ 61 game_loader.$(OBJEXT) load_param.$(OBJEXT) \ 63 62 pilot_node.$(OBJEXT) track_manager.$(OBJEXT) \ 64 63 track_node.$(OBJEXT) … … 192 191 libORXutils_a_SOURCES = fast_factory.cc \ 193 192 garbage_collector.cc \ 194 resource_manager.cc \195 193 state.cc \ 196 194 user_control.cc \ … … 198 196 animation/animation.cc \ 199 197 animation/animation_player.cc \ 198 loading/resource_manager.cc \ 200 199 loading/factory.cc \ 201 200 loading/game_loader.cc \ … … 207 206 noinst_HEADERS = fast_factory.h \ 208 207 garbage_collector.h \ 209 resource_manager.h \210 208 state.h \ 211 209 user_control.h \ … … 214 212 animation/animation_player.h \ 215 213 animation/t_animation.h \ 214 loading/resource_manager.h \ 216 215 loading/factory.h \ 217 216 loading/game_loader.h \ … … 338 337 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 339 338 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o animation_player.obj `if test -f 'animation/animation_player.cc'; then $(CYGPATH_W) 'animation/animation_player.cc'; else $(CYGPATH_W) '$(srcdir)/animation/animation_player.cc'; fi` 339 340 resource_manager.o: loading/resource_manager.cc 341 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT resource_manager.o -MD -MP -MF "$(DEPDIR)/resource_manager.Tpo" -c -o resource_manager.o `test -f 'loading/resource_manager.cc' || echo '$(srcdir)/'`loading/resource_manager.cc; \ 342 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 343 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='loading/resource_manager.cc' object='resource_manager.o' libtool=no @AMDEPBACKSLASH@ 344 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 345 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.o `test -f 'loading/resource_manager.cc' || echo '$(srcdir)/'`loading/resource_manager.cc 346 347 resource_manager.obj: loading/resource_manager.cc 348 @am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT resource_manager.obj -MD -MP -MF "$(DEPDIR)/resource_manager.Tpo" -c -o resource_manager.obj `if test -f 'loading/resource_manager.cc'; then $(CYGPATH_W) 'loading/resource_manager.cc'; else $(CYGPATH_W) '$(srcdir)/loading/resource_manager.cc'; fi`; \ 349 @am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/resource_manager.Tpo" "$(DEPDIR)/resource_manager.Po"; else rm -f "$(DEPDIR)/resource_manager.Tpo"; exit 1; fi 350 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='loading/resource_manager.cc' object='resource_manager.obj' libtool=no @AMDEPBACKSLASH@ 351 @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 352 @am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o resource_manager.obj `if test -f 'loading/resource_manager.cc'; then $(CYGPATH_W) 'loading/resource_manager.cc'; else $(CYGPATH_W) '$(srcdir)/loading/resource_manager.cc'; fi` 340 353 341 354 factory.o: loading/factory.cc -
trunk/src/world_entities/weapons/rocket.cc
r5472 r5479 115 115 ParticleEngine::getInstance()->addConnection(this->emitter, Rocket::trailParticles); 116 116 117 this->update(0); 117 118 this->emitter->setEmissionRate(45.0); 118 119 this->emitter->setEmissionVelocity(0.0);
Note: See TracChangeset
for help on using the changeset viewer.