Codebase list gource / c447d5e
Imported Upstream version 0.36 Andrew Caudwell 12 years ago
11 changed file(s) with 419 addition(s) and 322 deletion(s). Raw diff Collapse all Expand all
0 0.36:
1 * Fixed SVN log GMT timestamp conversion.
2 * Fixed issue with sub-dirs of deleted dir not being removed in some cases.
3
04 0.35:
15 * Added long file extension truncation handling to file key (--key).
26 * Treat changes in Mercurial log files with the same time/user as one commit.
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
16 [m4_warning([this file was generated for autoconf 2.67.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
16 [m4_warning([this file was generated for autoconf 2.68.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4 # Free Software Foundation, Inc.
5
6 timestamp='2009-12-30'
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011 Free Software Foundation, Inc.
5
6 timestamp='2011-05-11'
77
88 # This file is free software; you can redistribute it and/or modify it
99 # under the terms of the GNU General Public License as published by
5656
5757 Originally written by Per Bothner.
5858 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
59 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
59 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
6060 Software Foundation, Inc.
6161
6262 This is free software; see the source for copying conditions. There is NO
180180 fi
181181 ;;
182182 *)
183 os=netbsd
183 os=netbsd
184184 ;;
185185 esac
186186 # The OS release
223223 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
224224 ;;
225225 *5.*)
226 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
226 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
227227 ;;
228228 esac
229229 # According to Compaq, /usr/sbin/psrinfo has been available on
269269 # A Xn.n version is an unreleased experimental baselevel.
270270 # 1.2 uses "1.2" for uname -r.
271271 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
272 exit ;;
272 # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
273 exitcode=$?
274 trap '' 0
275 exit $exitcode ;;
273276 Alpha\ *:Windows_NT*:*)
274277 # How do we know it's Interix rather than the generic POSIX subsystem?
275278 # Should we change UNAME_MACHINE based on the output of uname instead
295298 echo s390-ibm-zvmoe
296299 exit ;;
297300 *:OS400:*:*)
298 echo powerpc-ibm-os400
301 echo powerpc-ibm-os400
299302 exit ;;
300303 arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
301304 echo arm-acorn-riscix${UNAME_RELEASE}
394397 # MiNT. But MiNT is downward compatible to TOS, so this should
395398 # be no problem.
396399 atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
397 echo m68k-atari-mint${UNAME_RELEASE}
400 echo m68k-atari-mint${UNAME_RELEASE}
398401 exit ;;
399402 atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
400403 echo m68k-atari-mint${UNAME_RELEASE}
401 exit ;;
404 exit ;;
402405 *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
403 echo m68k-atari-mint${UNAME_RELEASE}
406 echo m68k-atari-mint${UNAME_RELEASE}
404407 exit ;;
405408 milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
406 echo m68k-milan-mint${UNAME_RELEASE}
407 exit ;;
409 echo m68k-milan-mint${UNAME_RELEASE}
410 exit ;;
408411 hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
409 echo m68k-hades-mint${UNAME_RELEASE}
410 exit ;;
412 echo m68k-hades-mint${UNAME_RELEASE}
413 exit ;;
411414 *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
412 echo m68k-unknown-mint${UNAME_RELEASE}
413 exit ;;
415 echo m68k-unknown-mint${UNAME_RELEASE}
416 exit ;;
414417 m68k:machten:*:*)
415418 echo m68k-apple-machten${UNAME_RELEASE}
416419 exit ;;
480483 echo m88k-motorola-sysv3
481484 exit ;;
482485 AViiON:dgux:*:*)
483 # DG/UX returns AViiON for all architectures
484 UNAME_PROCESSOR=`/usr/bin/uname -p`
486 # DG/UX returns AViiON for all architectures
487 UNAME_PROCESSOR=`/usr/bin/uname -p`
485488 if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
486489 then
487490 if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
494497 else
495498 echo i586-dg-dgux${UNAME_RELEASE}
496499 fi
497 exit ;;
500 exit ;;
498501 M88*:DolphinOS:*:*) # DolphinOS (SVR3)
499502 echo m88k-dolphin-sysv3
500503 exit ;;
551554 echo rs6000-ibm-aix3.2
552555 fi
553556 exit ;;
554 *:AIX:*:[456])
557 *:AIX:*:[4567])
555558 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
556559 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
557560 IBM_ARCH=rs6000
594597 9000/[678][0-9][0-9])
595598 if [ -x /usr/bin/getconf ]; then
596599 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
597 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
598 case "${sc_cpu_version}" in
599 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
600 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
601 532) # CPU_PA_RISC2_0
602 case "${sc_kernel_bits}" in
603 32) HP_ARCH="hppa2.0n" ;;
604 64) HP_ARCH="hppa2.0w" ;;
600 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
601 case "${sc_cpu_version}" in
602 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
603 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
604 532) # CPU_PA_RISC2_0
605 case "${sc_kernel_bits}" in
606 32) HP_ARCH="hppa2.0n" ;;
607 64) HP_ARCH="hppa2.0w" ;;
605608 '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
606 esac ;;
607 esac
609 esac ;;
610 esac
608611 fi
609612 if [ "${HP_ARCH}" = "" ]; then
610613 eval $set_cc_for_build
611 sed 's/^ //' << EOF >$dummy.c
612
613 #define _HPUX_SOURCE
614 #include <stdlib.h>
615 #include <unistd.h>
616
617 int main ()
618 {
619 #if defined(_SC_KERNEL_BITS)
620 long bits = sysconf(_SC_KERNEL_BITS);
621 #endif
622 long cpu = sysconf (_SC_CPU_VERSION);
623
624 switch (cpu)
625 {
626 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
627 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
628 case CPU_PA_RISC2_0:
629 #if defined(_SC_KERNEL_BITS)
630 switch (bits)
631 {
632 case 64: puts ("hppa2.0w"); break;
633 case 32: puts ("hppa2.0n"); break;
634 default: puts ("hppa2.0"); break;
635 } break;
636 #else /* !defined(_SC_KERNEL_BITS) */
637 puts ("hppa2.0"); break;
638 #endif
639 default: puts ("hppa1.0"); break;
640 }
641 exit (0);
642 }
614 sed 's/^ //' << EOF >$dummy.c
615
616 #define _HPUX_SOURCE
617 #include <stdlib.h>
618 #include <unistd.h>
619
620 int main ()
621 {
622 #if defined(_SC_KERNEL_BITS)
623 long bits = sysconf(_SC_KERNEL_BITS);
624 #endif
625 long cpu = sysconf (_SC_CPU_VERSION);
626
627 switch (cpu)
628 {
629 case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
630 case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
631 case CPU_PA_RISC2_0:
632 #if defined(_SC_KERNEL_BITS)
633 switch (bits)
634 {
635 case 64: puts ("hppa2.0w"); break;
636 case 32: puts ("hppa2.0n"); break;
637 default: puts ("hppa2.0"); break;
638 } break;
639 #else /* !defined(_SC_KERNEL_BITS) */
640 puts ("hppa2.0"); break;
641 #endif
642 default: puts ("hppa1.0"); break;
643 }
644 exit (0);
645 }
643646 EOF
644647 (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
645648 test -z "$HP_ARCH" && HP_ARCH=hppa
730733 exit ;;
731734 C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
732735 echo c1-convex-bsd
733 exit ;;
736 exit ;;
734737 C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
735738 if getsysinfo -f scalar_acc
736739 then echo c32-convex-bsd
737740 else echo c2-convex-bsd
738741 fi
739 exit ;;
742 exit ;;
740743 C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
741744 echo c34-convex-bsd
742 exit ;;
745 exit ;;
743746 C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
744747 echo c38-convex-bsd
745 exit ;;
748 exit ;;
746749 C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
747750 echo c4-convex-bsd
748 exit ;;
751 exit ;;
749752 CRAY*Y-MP:*:*:*)
750753 echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
751754 exit ;;
769772 exit ;;
770773 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
771774 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
772 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
773 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
774 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
775 exit ;;
775 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
776 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
777 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
778 exit ;;
776779 5000:UNIX_System_V:4.*:*)
777 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
778 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
779 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
780 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
781 FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
782 echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
780783 exit ;;
781784 i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
782785 echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
804807 echo ${UNAME_MACHINE}-pc-mingw32
805808 exit ;;
806809 i*:windows32*:*)
807 # uname -m includes "-pc" on this system.
808 echo ${UNAME_MACHINE}-mingw32
810 # uname -m includes "-pc" on this system.
811 echo ${UNAME_MACHINE}-mingw32
809812 exit ;;
810813 i*:PW*:*)
811814 echo ${UNAME_MACHINE}-pc-pw32
812815 exit ;;
813816 *:Interix*:*)
814 case ${UNAME_MACHINE} in
817 case ${UNAME_MACHINE} in
815818 x86)
816819 echo i586-pc-interix${UNAME_RELEASE}
817820 exit ;;
866869 EV6) UNAME_MACHINE=alphaev6 ;;
867870 EV67) UNAME_MACHINE=alphaev67 ;;
868871 EV68*) UNAME_MACHINE=alphaev68 ;;
869 esac
872 esac
870873 objdump --private-headers /bin/sh | grep -q ld.so.1
871874 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
872875 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
878881 then
879882 echo ${UNAME_MACHINE}-unknown-linux-gnu
880883 else
881 echo ${UNAME_MACHINE}-unknown-linux-gnueabi
884 if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
885 | grep -q __ARM_PCS_VFP
886 then
887 echo ${UNAME_MACHINE}-unknown-linux-gnueabi
888 else
889 echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
890 fi
882891 fi
883892 exit ;;
884893 avr32*:Linux:*:*)
891900 echo crisv32-axis-linux-gnu
892901 exit ;;
893902 frv:Linux:*:*)
894 echo frv-unknown-linux-gnu
903 echo frv-unknown-linux-gnu
895904 exit ;;
896905 i*86:Linux:*:*)
897906 LIBC=gnu
959968 echo ${UNAME_MACHINE}-ibm-linux
960969 exit ;;
961970 sh64*:Linux:*:*)
962 echo ${UNAME_MACHINE}-unknown-linux-gnu
971 echo ${UNAME_MACHINE}-unknown-linux-gnu
963972 exit ;;
964973 sh*:Linux:*:*)
965974 echo ${UNAME_MACHINE}-unknown-linux-gnu
967976 sparc:Linux:*:* | sparc64:Linux:*:*)
968977 echo ${UNAME_MACHINE}-unknown-linux-gnu
969978 exit ;;
979 tile*:Linux:*:*)
980 echo ${UNAME_MACHINE}-tilera-linux-gnu
981 exit ;;
970982 vax:Linux:*:*)
971983 echo ${UNAME_MACHINE}-dec-linux-gnu
972984 exit ;;
974986 echo x86_64-unknown-linux-gnu
975987 exit ;;
976988 xtensa*:Linux:*:*)
977 echo ${UNAME_MACHINE}-unknown-linux-gnu
989 echo ${UNAME_MACHINE}-unknown-linux-gnu
978990 exit ;;
979991 i*86:DYNIX/ptx:4*:*)
980992 # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
983995 echo i386-sequent-sysv4
984996 exit ;;
985997 i*86:UNIX_SV:4.2MP:2.*)
986 # Unixware is an offshoot of SVR4, but it has its own version
987 # number series starting with 2...
988 # I am not positive that other SVR4 systems won't match this,
998 # Unixware is an offshoot of SVR4, but it has its own version
999 # number series starting with 2...
1000 # I am not positive that other SVR4 systems won't match this,
9891001 # I just have to hope. -- rms.
990 # Use sysv4.2uw... so that sysv4* matches it.
1002 # Use sysv4.2uw... so that sysv4* matches it.
9911003 echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
9921004 exit ;;
9931005 i*86:OS/2:*:*)
10191031 fi
10201032 exit ;;
10211033 i*86:*:5:[678]*)
1022 # UnixWare 7.x, OpenUNIX and OpenServer 6.
1034 # UnixWare 7.x, OpenUNIX and OpenServer 6.
10231035 case `/bin/uname -X | grep "^Machine"` in
10241036 *486*) UNAME_MACHINE=i486 ;;
10251037 *Pentium) UNAME_MACHINE=i586 ;;
10471059 exit ;;
10481060 pc:*:*:*)
10491061 # Left here for compatibility:
1050 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1051 # the processor, so we play safe by assuming i586.
1062 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1063 # the processor, so we play safe by assuming i586.
10521064 # Note: whatever this is, it MUST be the same as what config.sub
10531065 # prints for the "djgpp" host, or else GDB configury will decide that
10541066 # this is a cross-build.
10551067 echo i586-pc-msdosdjgpp
1056 exit ;;
1068 exit ;;
10571069 Intel:Mach:3*:*)
10581070 echo i386-pc-mach3
10591071 exit ;;
10881100 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
10891101 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
10901102 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
1091 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1092 && { echo i486-ncr-sysv4; exit; } ;;
1103 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1104 && { echo i486-ncr-sysv4; exit; } ;;
10931105 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
10941106 OS_REL='.3'
10951107 test -r /etc/.relid \
11321144 echo ns32k-sni-sysv
11331145 fi
11341146 exit ;;
1135 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1136 # says <Richard.M.Bartel@ccMail.Census.GOV>
1137 echo i586-unisys-sysv4
1138 exit ;;
1147 PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
1148 # says <Richard.M.Bartel@ccMail.Census.GOV>
1149 echo i586-unisys-sysv4
1150 exit ;;
11391151 *:UNIX_System_V:4*:FTX*)
11401152 # From Gerald Hewes <hewes@openmarket.com>.
11411153 # How about differentiating between stratus architectures? -djm
11611173 exit ;;
11621174 R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
11631175 if [ -d /usr/nec ]; then
1164 echo mips-nec-sysv${UNAME_RELEASE}
1176 echo mips-nec-sysv${UNAME_RELEASE}
11651177 else
1166 echo mips-unknown-sysv${UNAME_RELEASE}
1167 fi
1168 exit ;;
1178 echo mips-unknown-sysv${UNAME_RELEASE}
1179 fi
1180 exit ;;
11691181 BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
11701182 echo powerpc-be-beos
11711183 exit ;;
12301242 *:QNX:*:4*)
12311243 echo i386-pc-qnx
12321244 exit ;;
1245 NEO-?:NONSTOP_KERNEL:*:*)
1246 echo neo-tandem-nsk${UNAME_RELEASE}
1247 exit ;;
12331248 NSE-?:NONSTOP_KERNEL:*:*)
12341249 echo nse-tandem-nsk${UNAME_RELEASE}
12351250 exit ;;
12751290 echo pdp10-unknown-its
12761291 exit ;;
12771292 SEI:*:*:SEIUX)
1278 echo mips-sei-seiux${UNAME_RELEASE}
1293 echo mips-sei-seiux${UNAME_RELEASE}
12791294 exit ;;
12801295 *:DragonFly:*:*)
12811296 echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
12821297 exit ;;
12831298 *:*VMS:*:*)
1284 UNAME_MACHINE=`(uname -p) 2>/dev/null`
1299 UNAME_MACHINE=`(uname -p) 2>/dev/null`
12851300 case "${UNAME_MACHINE}" in
12861301 A*) echo alpha-dec-vms ; exit ;;
12871302 I*) echo ia64-dec-vms ; exit ;;
13211336 #include <sys/param.h>
13221337 printf ("m68k-sony-newsos%s\n",
13231338 #ifdef NEWSOS4
1324 "4"
1339 "4"
13251340 #else
1326 ""
1327 #endif
1328 ); exit (0);
1341 ""
1342 #endif
1343 ); exit (0);
13291344 #endif
13301345 #endif
13311346
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
4 # Free Software Foundation, Inc.
5
6 timestamp='2010-01-22'
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
4 # 2011 Free Software Foundation, Inc.
5
6 timestamp='2011-03-23'
77
88 # This file is (in principle) common to ALL GNU software.
99 # The presence of a machine in this file suggests that SOME GNU software
7575 GNU config.sub ($timestamp)
7676
7777 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
78 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
78 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
7979 Software Foundation, Inc.
8080
8181 This is free software; see the source for copying conditions. There is NO
123123 # Here we must recognize all the valid KERNEL-OS combinations.
124124 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
125125 case $maybe_os in
126 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
127 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
126 nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
127 linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
128 knetbsd*-gnu* | netbsd*-gnu* | \
128129 kopensolaris*-gnu* | \
129130 storm-chaos* | os2-emx* | rtmk-nova*)
130131 os=-$maybe_os
156157 os=
157158 basic_machine=$1
158159 ;;
159 -bluegene*)
160 os=-cnk
160 -bluegene*)
161 os=-cnk
161162 ;;
162163 -sim | -cisco | -oki | -wec | -winbond)
163164 os=
173174 os=-chorusos
174175 basic_machine=$1
175176 ;;
176 -chorusrdb)
177 os=-chorusrdb
177 -chorusrdb)
178 os=-chorusrdb
178179 basic_machine=$1
179 ;;
180 ;;
180181 -hiux*)
181182 os=-hiuxwe2
182183 ;;
281282 | moxie \
282283 | mt \
283284 | msp430 \
285 | nds32 | nds32le | nds32be \
284286 | nios | nios2 \
285287 | ns16k | ns32k \
288 | open8 \
286289 | or32 \
287290 | pdp10 | pdp11 | pj | pjl \
288 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
291 | powerpc | powerpc64 | powerpc64le | powerpcle \
289292 | pyramid \
290293 | rx \
291294 | score \
293296 | sh64 | sh64le \
294297 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
295298 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
296 | spu | strongarm \
297 | tahoe | thumb | tic4x | tic80 | tron \
299 | spu \
300 | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
298301 | ubicom32 \
299302 | v850 | v850e \
300303 | we32k \
301 | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
304 | x86 | xc16x | xstormy16 | xtensa \
302305 | z8k | z80)
303306 basic_machine=$basic_machine-unknown
307 ;;
308 c54x)
309 basic_machine=tic54x-unknown
310 ;;
311 c55x)
312 basic_machine=tic55x-unknown
313 ;;
314 c6x)
315 basic_machine=tic6x-unknown
304316 ;;
305317 m6811 | m68hc11 | m6812 | m68hc12 | picochip)
306318 # Motorola 68HC11/12.
311323 ;;
312324 ms1)
313325 basic_machine=mt-unknown
326 ;;
327
328 strongarm | thumb | xscale)
329 basic_machine=arm-unknown
330 ;;
331
332 xscaleeb)
333 basic_machine=armeb-unknown
334 ;;
335
336 xscaleel)
337 basic_machine=armel-unknown
314338 ;;
315339
316340 # We use `pc' rather than `unknown'
333357 | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
334358 | avr-* | avr32-* \
335359 | bfin-* | bs2000-* \
336 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
360 | c[123]* | c30-* | [cjt]90-* | c4x-* \
337361 | clipper-* | craynv-* | cydra-* \
338362 | d10v-* | d30v-* | dlx-* \
339363 | elxsi-* \
367391 | mmix-* \
368392 | mt-* \
369393 | msp430-* \
394 | nds32-* | nds32le-* | nds32be-* \
370395 | nios-* | nios2-* \
371396 | none-* | np1-* | ns16k-* | ns32k-* \
397 | open8-* \
372398 | orion-* \
373399 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
374 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
400 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
375401 | pyramid-* \
376402 | romp-* | rs6000-* | rx-* \
377403 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
378404 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
379405 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
380406 | sparclite-* \
381 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
382 | tahoe-* | thumb-* \
407 | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
408 | tahoe-* \
383409 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
384410 | tile-* | tilegx-* \
385411 | tron-* \
386412 | ubicom32-* \
387413 | v850-* | v850e-* | vax-* \
388414 | we32k-* \
389 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
415 | x86-* | x86_64-* | xc16x-* | xps100-* \
390416 | xstormy16-* | xtensa*-* \
391417 | ymp-* \
392418 | z8k-* | z80-*)
411437 basic_machine=a29k-amd
412438 os=-udi
413439 ;;
414 abacus)
440 abacus)
415441 basic_machine=abacus-unknown
416442 ;;
417443 adobe68k)
481507 basic_machine=powerpc-ibm
482508 os=-cnk
483509 ;;
510 c54x-*)
511 basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
512 ;;
513 c55x-*)
514 basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
515 ;;
516 c6x-*)
517 basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
518 ;;
484519 c90)
485520 basic_machine=c90-cray
486521 os=-unicos
487522 ;;
488 cegcc)
523 cegcc)
489524 basic_machine=arm-unknown
490525 os=-cegcc
491526 ;;
517552 basic_machine=craynv-cray
518553 os=-unicosmp
519554 ;;
520 cr16)
555 cr16 | cr16-*)
521556 basic_machine=cr16-unknown
522557 os=-elf
523558 ;;
733768 basic_machine=ns32k-utek
734769 os=-sysv
735770 ;;
736 microblaze)
771 microblaze)
737772 basic_machine=microblaze-xilinx
738773 ;;
739774 mingw32)
840875 np1)
841876 basic_machine=np1-gould
842877 ;;
878 neo-tandem)
879 basic_machine=neo-tandem
880 ;;
881 nse-tandem)
882 basic_machine=nse-tandem
883 ;;
843884 nsr-tandem)
844885 basic_machine=nsr-tandem
845886 ;;
922963 ;;
923964 power) basic_machine=power-ibm
924965 ;;
925 ppc) basic_machine=powerpc-unknown
926 ;;
927 ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
966 ppc | ppcbe) basic_machine=powerpc-unknown
967 ;;
968 ppc-* | ppcbe-*)
969 basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
928970 ;;
929971 ppcle | powerpclittle | ppc-le | powerpc-little)
930972 basic_machine=powerpcle-unknown
10181060 basic_machine=i860-stratus
10191061 os=-sysv4
10201062 ;;
1063 strongarm-* | thumb-*)
1064 basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
1065 ;;
10211066 sun2)
10221067 basic_machine=m68000-sun
10231068 ;;
10741119 basic_machine=t90-cray
10751120 os=-unicos
10761121 ;;
1077 tic54x | c54x*)
1078 basic_machine=tic54x-unknown
1079 os=-coff
1080 ;;
1081 tic55x | c55x*)
1082 basic_machine=tic55x-unknown
1083 os=-coff
1084 ;;
1085 tic6x | c6x*)
1086 basic_machine=tic6x-unknown
1087 os=-coff
1088 ;;
1089 # This must be matched before tile*.
1090 tilegx*)
1122 # This must be matched before tile*.
1123 tilegx*)
10911124 basic_machine=tilegx-unknown
10921125 os=-linux-gnu
10931126 ;;
11611194 ;;
11621195 xps | xps100)
11631196 basic_machine=xps100-honeywell
1197 ;;
1198 xscale-* | xscalee[bl]-*)
1199 basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
11641200 ;;
11651201 ymp)
11661202 basic_machine=ymp-cray
12591295 if [ x"$os" != x"" ]
12601296 then
12611297 case $os in
1262 # First match some system type aliases
1263 # that might get confused with valid system types.
1298 # First match some system type aliases
1299 # that might get confused with valid system types.
12641300 # -solaris* is a basic system type, with this one exception.
1265 -auroraux)
1266 os=-auroraux
1301 -auroraux)
1302 os=-auroraux
12671303 ;;
12681304 -solaris1 | -solaris1.*)
12691305 os=`echo $os | sed -e 's|solaris1|sunos4|'`
13001336 | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
13011337 | -chorusos* | -chorusrdb* | -cegcc* \
13021338 | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
1303 | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
1339 | -mingw32* | -linux-gnu* | -linux-android* \
1340 | -linux-newlib* | -linux-uclibc* \
13041341 | -uxpv* | -beos* | -mpeix* | -udk* \
13051342 | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
13061343 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
13471384 -opened*)
13481385 os=-openedition
13491386 ;;
1350 -os400*)
1387 -os400*)
13511388 os=-os400
13521389 ;;
13531390 -wince*)
13961433 -sinix*)
13971434 os=-sysv4
13981435 ;;
1399 -tpf*)
1436 -tpf*)
14001437 os=-tpf
14011438 ;;
14021439 -triton*)
14411478 -dicos*)
14421479 os=-dicos
14431480 ;;
1444 -nacl*)
1445 ;;
1481 -nacl*)
1482 ;;
14461483 -none)
14471484 ;;
14481485 *)
14651502 # system, and we'll never get to this point.
14661503
14671504 case $basic_machine in
1468 score-*)
1505 score-*)
14691506 os=-elf
14701507 ;;
1471 spu-*)
1508 spu-*)
14721509 os=-elf
14731510 ;;
14741511 *-acorn)
14801517 arm*-semi)
14811518 os=-aout
14821519 ;;
1483 c4x-* | tic4x-*)
1484 os=-coff
1520 c4x-* | tic4x-*)
1521 os=-coff
1522 ;;
1523 tic54x-*)
1524 os=-coff
1525 ;;
1526 tic55x-*)
1527 os=-coff
1528 ;;
1529 tic6x-*)
1530 os=-coff
14851531 ;;
14861532 # This must come before the *-dec entry.
14871533 pdp10-*)
15081554 m68*-cisco)
15091555 os=-aout
15101556 ;;
1511 mep-*)
1557 mep-*)
15121558 os=-elf
15131559 ;;
15141560 mips*-cisco)
15351581 *-ibm)
15361582 os=-aix
15371583 ;;
1538 *-knuth)
1584 *-knuth)
15391585 os=-mmixware
15401586 ;;
15411587 *-wec)
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.67 for Gource 0.35.
2 # Generated by GNU Autoconf 2.68 for Gource 0.36.
33 #
44 # Report bugs to <acaudwell@gmail.com>.
55 #
9090 IFS=" "" $as_nl"
9191
9292 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
9394 case $0 in #((
9495 *[\\/]* ) as_myself=$0 ;;
9596 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
215216 # We cannot yet assume a decent shell, so we have to provide a
216217 # neutralization value for shells without unset; and this also
217218 # works around shells that cannot unset nonexistent variables.
219 # Preserve -v and -x to the replacement shell.
218220 BASH_ENV=/dev/null
219221 ENV=/dev/null
220222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221223 export CONFIG_SHELL
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 case $- in # ((((
225 *v*x* | *x*v* ) as_opts=-vx ;;
226 *v* ) as_opts=-v ;;
227 *x* ) as_opts=-x ;;
228 * ) as_opts= ;;
229 esac
230 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
223231 fi
224232
225233 if test x$as_have_required = xno; then :
551559 # Identity of this package.
552560 PACKAGE_NAME='Gource'
553561 PACKAGE_TARNAME='gource'
554 PACKAGE_VERSION='0.35'
555 PACKAGE_STRING='Gource 0.35'
562 PACKAGE_VERSION='0.36'
563 PACKAGE_STRING='Gource 0.36'
556564 PACKAGE_BUGREPORT='acaudwell@gmail.com'
557565 PACKAGE_URL=''
558566
11451153 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
11461154 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
11471155 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1148 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1156 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
11491157 ;;
11501158
11511159 esac
12831291 # Omit some internal or obsolete options to make the list less imposing.
12841292 # This message is too long to be a string in the A/UX 3.1 sh.
12851293 cat <<_ACEOF
1286 \`configure' configures Gource 0.35 to adapt to many kinds of systems.
1294 \`configure' configures Gource 0.36 to adapt to many kinds of systems.
12871295
12881296 Usage: $0 [OPTION]... [VAR=VALUE]...
12891297
13571365
13581366 if test -n "$ac_init_help"; then
13591367 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Gource 0.35:";;
1368 short | recursive ) echo "Configuration of Gource 0.36:";;
13611369 esac
13621370 cat <<\_ACEOF
13631371
14641472 test -n "$ac_init_help" && exit $ac_status
14651473 if $ac_init_version; then
14661474 cat <<\_ACEOF
1467 Gource configure 0.35
1468 generated by GNU Autoconf 2.67
1475 Gource configure 0.36
1476 generated by GNU Autoconf 2.68
14691477
14701478 Copyright (C) 2010 Free Software Foundation, Inc.
14711479 This configure script is free software; the Free Software Foundation
15111519
15121520 ac_retval=1
15131521 fi
1514 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15151523 as_fn_set_status $ac_retval
15161524
15171525 } # ac_fn_cxx_try_compile
15481556
15491557 ac_retval=1
15501558 fi
1551 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1559 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15521560 as_fn_set_status $ac_retval
15531561
15541562 } # ac_fn_cxx_try_cpp
15941602 # interfere with the next link command; also delete a directory that is
15951603 # left behind by Apple's compiler. We do this before executing the actions.
15961604 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
15981606 as_fn_set_status $ac_retval
15991607
16001608 } # ac_fn_cxx_try_link
16321640
16331641 ac_retval=1
16341642 fi
1635 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16361644 as_fn_set_status $ac_retval
16371645
16381646 } # ac_fn_c_try_compile
16781686 # interfere with the next link command; also delete a directory that is
16791687 # left behind by Apple's compiler. We do this before executing the actions.
16801688 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
16821690 as_fn_set_status $ac_retval
16831691
16841692 } # ac_fn_c_try_link
17151723
17161724 ac_retval=1
17171725 fi
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
17191727 as_fn_set_status $ac_retval
17201728
17211729 } # ac_fn_c_try_cpp
17281736 ac_fn_c_check_header_mongrel ()
17291737 {
17301738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if eval "test \"\${$3+set}\"" = set; then :
1739 if eval \${$3+:} false; then :
17321740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
17331741 $as_echo_n "checking for $2... " >&6; }
1734 if eval "test \"\${$3+set}\"" = set; then :
1742 if eval \${$3+:} false; then :
17351743 $as_echo_n "(cached) " >&6
17361744 fi
17371745 eval ac_res=\$$3
17981806 esac
17991807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
18001808 $as_echo_n "checking for $2... " >&6; }
1801 if eval "test \"\${$3+set}\"" = set; then :
1809 if eval \${$3+:} false; then :
18021810 $as_echo_n "(cached) " >&6
18031811 else
18041812 eval "$3=\$ac_header_compiler"
18071815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18081816 $as_echo "$ac_res" >&6; }
18091817 fi
1810 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18111819
18121820 } # ac_fn_c_check_header_mongrel
18131821
18481856 ac_retval=$ac_status
18491857 fi
18501858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1851 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18521860 as_fn_set_status $ac_retval
18531861
18541862 } # ac_fn_c_try_run
18621870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18631871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
18641872 $as_echo_n "checking for $2... " >&6; }
1865 if eval "test \"\${$3+set}\"" = set; then :
1873 if eval \${$3+:} false; then :
18661874 $as_echo_n "(cached) " >&6
18671875 else
18681876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18801888 eval ac_res=\$$3
18811889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18821890 $as_echo "$ac_res" >&6; }
1883 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
18841892
18851893 } # ac_fn_c_check_header_compile
18861894
18931901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18941902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
18951903 $as_echo_n "checking for $2... " >&6; }
1896 if eval "test \"\${$3+set}\"" = set; then :
1904 if eval \${$3+:} false; then :
18971905 $as_echo_n "(cached) " >&6
18981906 else
18991907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19111919 eval ac_res=\$$3
19121920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19131921 $as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
19151923
19161924 } # ac_fn_cxx_check_header_compile
19171925
19521960 ac_retval=$ac_status
19531961 fi
19541962 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1955 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1963 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
19561964 as_fn_set_status $ac_retval
19571965
19581966 } # ac_fn_cxx_try_run
19651973 ac_fn_cxx_check_header_mongrel ()
19661974 {
19671975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1968 if eval "test \"\${$3+set}\"" = set; then :
1976 if eval \${$3+:} false; then :
19691977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
19701978 $as_echo_n "checking for $2... " >&6; }
1971 if eval "test \"\${$3+set}\"" = set; then :
1979 if eval \${$3+:} false; then :
19721980 $as_echo_n "(cached) " >&6
19731981 fi
19741982 eval ac_res=\$$3
20352043 esac
20362044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
20372045 $as_echo_n "checking for $2... " >&6; }
2038 if eval "test \"\${$3+set}\"" = set; then :
2046 if eval \${$3+:} false; then :
20392047 $as_echo_n "(cached) " >&6
20402048 else
20412049 eval "$3=\$ac_header_compiler"
20442052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20452053 $as_echo "$ac_res" >&6; }
20462054 fi
2047 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
20482056
20492057 } # ac_fn_cxx_check_header_mongrel
20502058 cat >config.log <<_ACEOF
20512059 This file contains any messages produced by compilers while
20522060 running configure, to aid debugging if configure makes a mistake.
20532061
2054 It was created by Gource $as_me 0.35, which was
2055 generated by GNU Autoconf 2.67. Invocation command line was
2062 It was created by Gource $as_me 0.36, which was
2063 generated by GNU Autoconf 2.68. Invocation command line was
20562064
20572065 $ $0 $@
20582066
23102318 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23112319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23122320 as_fn_error $? "failed to load site script $ac_site_file
2313 See \`config.log' for more details" "$LINENO" 5 ; }
2321 See \`config.log' for more details" "$LINENO" 5; }
23142322 fi
23152323 done
23162324
24492457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
24502458 $as_echo_n "checking for a BSD-compatible install... " >&6; }
24512459 if test -z "$INSTALL"; then
2452 if test "${ac_cv_path_install+set}" = set; then :
2460 if ${ac_cv_path_install+:} false; then :
24532461 $as_echo_n "(cached) " >&6
24542462 else
24552463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25362544 '
25372545 case `pwd` in
25382546 *[\\\"\#\$\&\'\`$am_lf]*)
2539 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2547 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
25402548 esac
25412549 case $srcdir in
25422550 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2543 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2551 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
25442552 esac
25452553
25462554 # Do `set' in a subshell so we don't clobber the current shell's
26262634 set dummy ${ac_tool_prefix}strip; ac_word=$2
26272635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26282636 $as_echo_n "checking for $ac_word... " >&6; }
2629 if test "${ac_cv_prog_STRIP+set}" = set; then :
2637 if ${ac_cv_prog_STRIP+:} false; then :
26302638 $as_echo_n "(cached) " >&6
26312639 else
26322640 if test -n "$STRIP"; then
26662674 set dummy strip; ac_word=$2
26672675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26682676 $as_echo_n "checking for $ac_word... " >&6; }
2669 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2677 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
26702678 $as_echo_n "(cached) " >&6
26712679 else
26722680 if test -n "$ac_ct_STRIP"; then
27192727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
27202728 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
27212729 if test -z "$MKDIR_P"; then
2722 if test "${ac_cv_path_mkdir+set}" = set; then :
2730 if ${ac_cv_path_mkdir+:} false; then :
27232731 $as_echo_n "(cached) " >&6
27242732 else
27252733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27702778 set dummy $ac_prog; ac_word=$2
27712779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27722780 $as_echo_n "checking for $ac_word... " >&6; }
2773 if test "${ac_cv_prog_AWK+set}" = set; then :
2781 if ${ac_cv_prog_AWK+:} false; then :
27742782 $as_echo_n "(cached) " >&6
27752783 else
27762784 if test -n "$AWK"; then
28102818 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
28112819 set x ${MAKE-make}
28122820 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2813 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2821 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
28142822 $as_echo_n "(cached) " >&6
28152823 else
28162824 cat >conftest.make <<\_ACEOF
28682876
28692877 # Define the identity of the package.
28702878 PACKAGE='gource'
2871 VERSION='0.35'
2879 VERSION='0.36'
28722880
28732881
28742882 cat >>confdefs.h <<_ACEOF
29152923
29162924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
29172925 $as_echo_n "checking build system type... " >&6; }
2918 if test "${ac_cv_build+set}" = set; then :
2926 if ${ac_cv_build+:} false; then :
29192927 $as_echo_n "(cached) " >&6
29202928 else
29212929 ac_build_alias=$build_alias
29312939 $as_echo "$ac_cv_build" >&6; }
29322940 case $ac_cv_build in
29332941 *-*-*) ;;
2934 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2942 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
29352943 esac
29362944 build=$ac_cv_build
29372945 ac_save_IFS=$IFS; IFS='-'
29492957
29502958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
29512959 $as_echo_n "checking host system type... " >&6; }
2952 if test "${ac_cv_host+set}" = set; then :
2960 if ${ac_cv_host+:} false; then :
29532961 $as_echo_n "(cached) " >&6
29542962 else
29552963 if test "x$host_alias" = x; then
29642972 $as_echo "$ac_cv_host" >&6; }
29652973 case $ac_cv_host in
29662974 *-*-*) ;;
2967 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2975 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
29682976 esac
29692977 host=$ac_cv_host
29702978 ac_save_IFS=$IFS; IFS='-'
29983006 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
29993007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30003008 $as_echo_n "checking for $ac_word... " >&6; }
3001 if test "${ac_cv_prog_CXX+set}" = set; then :
3009 if ${ac_cv_prog_CXX+:} false; then :
30023010 $as_echo_n "(cached) " >&6
30033011 else
30043012 if test -n "$CXX"; then
30423050 set dummy $ac_prog; ac_word=$2
30433051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30443052 $as_echo_n "checking for $ac_word... " >&6; }
3045 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3053 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
30463054 $as_echo_n "(cached) " >&6
30473055 else
30483056 if test -n "$ac_ct_CXX"; then
32063214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32073215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32083216 as_fn_error 77 "C++ compiler cannot create executables
3209 See \`config.log' for more details" "$LINENO" 5 ; }
3217 See \`config.log' for more details" "$LINENO" 5; }
32103218 else
32113219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32123220 $as_echo "yes" >&6; }
32493257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
32503258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
32513259 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3252 See \`config.log' for more details" "$LINENO" 5 ; }
3260 See \`config.log' for more details" "$LINENO" 5; }
32533261 fi
32543262 rm -f conftest conftest$ac_cv_exeext
32553263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
33083316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33093317 as_fn_error $? "cannot run C++ compiled programs.
33103318 If you meant to cross compile, use \`--host'.
3311 See \`config.log' for more details" "$LINENO" 5 ; }
3319 See \`config.log' for more details" "$LINENO" 5; }
33123320 fi
33133321 fi
33143322 fi
33193327 ac_clean_files=$ac_clean_files_save
33203328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
33213329 $as_echo_n "checking for suffix of object files... " >&6; }
3322 if test "${ac_cv_objext+set}" = set; then :
3330 if ${ac_cv_objext+:} false; then :
33233331 $as_echo_n "(cached) " >&6
33243332 else
33253333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33603368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33613369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
33623370 as_fn_error $? "cannot compute suffix of object files: cannot compile
3363 See \`config.log' for more details" "$LINENO" 5 ; }
3371 See \`config.log' for more details" "$LINENO" 5; }
33643372 fi
33653373 rm -f conftest.$ac_cv_objext conftest.$ac_ext
33663374 fi
33703378 ac_objext=$OBJEXT
33713379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
33723380 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3373 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3381 if ${ac_cv_cxx_compiler_gnu+:} false; then :
33743382 $as_echo_n "(cached) " >&6
33753383 else
33763384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34073415 ac_save_CXXFLAGS=$CXXFLAGS
34083416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
34093417 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3410 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3418 if ${ac_cv_prog_cxx_g+:} false; then :
34113419 $as_echo_n "(cached) " >&6
34123420 else
34133421 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
35553563
35563564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
35573565 $as_echo_n "checking dependency style of $depcc... " >&6; }
3558 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3566 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
35593567 $as_echo_n "(cached) " >&6
35603568 else
35613569 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
37063714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
37073715 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
37083716 if test -z "$CXXCPP"; then
3709 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
3717 if ${ac_cv_prog_CXXCPP+:} false; then :
37103718 $as_echo_n "(cached) " >&6
37113719 else
37123720 # Double quotes because CXXCPP needs to be expanded
38223830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38233831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38243832 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3825 See \`config.log' for more details" "$LINENO" 5 ; }
3833 See \`config.log' for more details" "$LINENO" 5; }
38263834 fi
38273835
38283836 ac_ext=cpp
38473855 have_x=disabled
38483856 else
38493857 case $x_includes,$x_libraries in #(
3850 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
3851 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
3858 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3859 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
38523860 $as_echo_n "(cached) " >&6
38533861 else
38543862 # One or both of the vars are not set, and there is no cached value.
40274035
40284036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
40294037 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4030 if test "${ac_cv_path_SED+set}" = set; then :
4038 if ${ac_cv_path_SED+:} false; then :
40314039 $as_echo_n "(cached) " >&6
40324040 else
40334041 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
41044112 set dummy ${ac_tool_prefix}gcc; ac_word=$2
41054113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41064114 $as_echo_n "checking for $ac_word... " >&6; }
4107 if test "${ac_cv_prog_CC+set}" = set; then :
4115 if ${ac_cv_prog_CC+:} false; then :
41084116 $as_echo_n "(cached) " >&6
41094117 else
41104118 if test -n "$CC"; then
41444152 set dummy gcc; ac_word=$2
41454153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41464154 $as_echo_n "checking for $ac_word... " >&6; }
4147 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4155 if ${ac_cv_prog_ac_ct_CC+:} false; then :
41484156 $as_echo_n "(cached) " >&6
41494157 else
41504158 if test -n "$ac_ct_CC"; then
41974205 set dummy ${ac_tool_prefix}cc; ac_word=$2
41984206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41994207 $as_echo_n "checking for $ac_word... " >&6; }
4200 if test "${ac_cv_prog_CC+set}" = set; then :
4208 if ${ac_cv_prog_CC+:} false; then :
42014209 $as_echo_n "(cached) " >&6
42024210 else
42034211 if test -n "$CC"; then
42374245 set dummy cc; ac_word=$2
42384246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
42394247 $as_echo_n "checking for $ac_word... " >&6; }
4240 if test "${ac_cv_prog_CC+set}" = set; then :
4248 if ${ac_cv_prog_CC+:} false; then :
42414249 $as_echo_n "(cached) " >&6
42424250 else
42434251 if test -n "$CC"; then
42964304 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
42974305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
42984306 $as_echo_n "checking for $ac_word... " >&6; }
4299 if test "${ac_cv_prog_CC+set}" = set; then :
4307 if ${ac_cv_prog_CC+:} false; then :
43004308 $as_echo_n "(cached) " >&6
43014309 else
43024310 if test -n "$CC"; then
43404348 set dummy $ac_prog; ac_word=$2
43414349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
43424350 $as_echo_n "checking for $ac_word... " >&6; }
4343 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4351 if ${ac_cv_prog_ac_ct_CC+:} false; then :
43444352 $as_echo_n "(cached) " >&6
43454353 else
43464354 if test -n "$ac_ct_CC"; then
43954403 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
43964404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
43974405 as_fn_error $? "no acceptable C compiler found in \$PATH
4398 See \`config.log' for more details" "$LINENO" 5 ; }
4406 See \`config.log' for more details" "$LINENO" 5; }
43994407
44004408 # Provide some information about the compiler.
44014409 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
44244432
44254433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
44264434 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4427 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4435 if ${ac_cv_c_compiler_gnu+:} false; then :
44284436 $as_echo_n "(cached) " >&6
44294437 else
44304438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44614469 ac_save_CFLAGS=$CFLAGS
44624470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
44634471 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4464 if test "${ac_cv_prog_cc_g+set}" = set; then :
4472 if ${ac_cv_prog_cc_g+:} false; then :
44654473 $as_echo_n "(cached) " >&6
44664474 else
44674475 ac_save_c_werror_flag=$ac_c_werror_flag
45394547 fi
45404548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
45414549 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4542 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4550 if ${ac_cv_prog_cc_c89+:} false; then :
45434551 $as_echo_n "(cached) " >&6
45444552 else
45454553 ac_cv_prog_cc_c89=no
46384646
46394647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
46404648 $as_echo_n "checking dependency style of $depcc... " >&6; }
4641 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4649 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
46424650 $as_echo_n "(cached) " >&6
46434651 else
46444652 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
48874895 set dummy pthread-config; ac_word=$2
48884896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
48894897 $as_echo_n "checking for $ac_word... " >&6; }
4890 if test "${ac_cv_prog_ax_pthread_config+set}" = set; then :
4898 if ${ac_cv_prog_ax_pthread_config+:} false; then :
48914899 $as_echo_n "(cached) " >&6
48924900 else
48934901 if test -n "$ax_pthread_config"; then
50485056 set dummy $ac_prog; ac_word=$2
50495057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
50505058 $as_echo_n "checking for $ac_word... " >&6; }
5051 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then :
5059 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
50525060 $as_echo_n "(cached) " >&6
50535061 else
50545062 if test -n "$PTHREAD_CC"; then
51255133 CPP=
51265134 fi
51275135 if test -z "$CPP"; then
5128 if test "${ac_cv_prog_CPP+set}" = set; then :
5136 if ${ac_cv_prog_CPP+:} false; then :
51295137 $as_echo_n "(cached) " >&6
51305138 else
51315139 # Double quotes because CPP needs to be expanded
52415249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52425250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52435251 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5244 See \`config.log' for more details" "$LINENO" 5 ; }
5252 See \`config.log' for more details" "$LINENO" 5; }
52455253 fi
52465254
52475255 ac_ext=c
52535261
52545262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
52555263 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5256 if test "${ac_cv_path_GREP+set}" = set; then :
5264 if ${ac_cv_path_GREP+:} false; then :
52575265 $as_echo_n "(cached) " >&6
52585266 else
52595267 if test -z "$GREP"; then
53165324
53175325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
53185326 $as_echo_n "checking for egrep... " >&6; }
5319 if test "${ac_cv_path_EGREP+set}" = set; then :
5327 if ${ac_cv_path_EGREP+:} false; then :
53205328 $as_echo_n "(cached) " >&6
53215329 else
53225330 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
53835391
53845392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
53855393 $as_echo_n "checking for ANSI C header files... " >&6; }
5386 if test "${ac_cv_header_stdc+set}" = set; then :
5394 if ${ac_cv_header_stdc+:} false; then :
53875395 $as_echo_n "(cached) " >&6
53885396 else
53895397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55195527
55205528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Microsoft C compiler" >&5
55215529 $as_echo_n "checking whether we are using the Microsoft C compiler... " >&6; }
5522 if test "${ax_cv_c_compiler_ms+set}" = set; then :
5530 if ${ax_cv_c_compiler_ms+:} false; then :
55235531 $as_echo_n "(cached) " >&6
55245532 else
55255533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55625570 for ac_header in windows.h
55635571 do :
55645572 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
5565 if test "x$ac_cv_header_windows_h" = x""yes; then :
5573 if test "x$ac_cv_header_windows_h" = xyes; then :
55665574 cat >>confdefs.h <<_ACEOF
55675575 #define HAVE_WINDOWS_H 1
55685576 _ACEOF
56005608
56015609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL library" >&5
56025610 $as_echo_n "checking for OpenGL library... " >&6; }
5603 if test "${ax_cv_check_gl_libgl+set}" = set; then :
5611 if ${ax_cv_check_gl_libgl+:} false; then :
56045612 $as_echo_n "(cached) " >&6
56055613 else
56065614 ax_cv_check_gl_libgl=no
58305838
58315839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL Utility library" >&5
58325840 $as_echo_n "checking for OpenGL Utility library... " >&6; }
5833 if test "${ax_cv_check_glu_libglu+set}" = set; then :
5841 if ${ax_cv_check_glu_libglu+:} false; then :
58345842 $as_echo_n "(cached) " >&6
58355843 else
58365844 ax_cv_check_glu_libglu=no
59675975 if test "X$ax_cv_check_glu_libglu" != Xno; then :
59685976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for varargs GLU tesselator callback function type" >&5
59695977 $as_echo_n "checking for varargs GLU tesselator callback function type... " >&6; }
5970 if test "${ax_cv_varargs_glu_tesscb+set}" = set; then :
5978 if ${ax_cv_varargs_glu_tesscb+:} false; then :
59715979 $as_echo_n "(cached) " >&6
59725980 else
59735981 ac_ext=cpp
60666074 set dummy sdl-config; ac_word=$2
60676075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
60686076 $as_echo_n "checking for $ac_word... " >&6; }
6069 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
6077 if ${ac_cv_path_SDL_CONFIG+:} false; then :
60706078 $as_echo_n "(cached) " >&6
60716079 else
60726080 case $SDL_CONFIG in
63276335 set dummy freetype-config; ac_word=$2
63286336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
63296337 $as_echo_n "checking for $ac_word... " >&6; }
6330 if test "${ac_cv_path_FT2_CONFIG+set}" = set; then :
6338 if ${ac_cv_path_FT2_CONFIG+:} false; then :
63316339 $as_echo_n "(cached) " >&6
63326340 else
63336341 case $FT2_CONFIG in
65296537 #SDL_image library with PNG support
65306538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMG_LoadPNG_RW in -lSDL_image" >&5
65316539 $as_echo_n "checking for IMG_LoadPNG_RW in -lSDL_image... " >&6; }
6532 if test "${ac_cv_lib_SDL_image_IMG_LoadPNG_RW+set}" = set; then :
6540 if ${ac_cv_lib_SDL_image_IMG_LoadPNG_RW+:} false; then :
65336541 $as_echo_n "(cached) " >&6
65346542 else
65356543 ac_check_lib_save_LIBS=$LIBS
65636571 fi
65646572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_image_IMG_LoadPNG_RW" >&5
65656573 $as_echo "$ac_cv_lib_SDL_image_IMG_LoadPNG_RW" >&6; }
6566 if test "x$ac_cv_lib_SDL_image_IMG_LoadPNG_RW" = x""yes; then :
6574 if test "x$ac_cv_lib_SDL_image_IMG_LoadPNG_RW" = xyes; then :
65676575 LIBS="$LIBS"
65686576 else
65696577 as_fn_error $? "SDL_image with PNG support required. Please see INSTALL" "$LINENO" 5
65736581 #SDL_image library with JPG support
65746582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IMG_LoadJPG_RW in -lSDL_image" >&5
65756583 $as_echo_n "checking for IMG_LoadJPG_RW in -lSDL_image... " >&6; }
6576 if test "${ac_cv_lib_SDL_image_IMG_LoadJPG_RW+set}" = set; then :
6584 if ${ac_cv_lib_SDL_image_IMG_LoadJPG_RW+:} false; then :
65776585 $as_echo_n "(cached) " >&6
65786586 else
65796587 ac_check_lib_save_LIBS=$LIBS
66076615 fi
66086616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_image_IMG_LoadJPG_RW" >&5
66096617 $as_echo "$ac_cv_lib_SDL_image_IMG_LoadJPG_RW" >&6; }
6610 if test "x$ac_cv_lib_SDL_image_IMG_LoadJPG_RW" = x""yes; then :
6618 if test "x$ac_cv_lib_SDL_image_IMG_LoadJPG_RW" = xyes; then :
66116619 LIBS="$LIBS"
66126620 else
66136621 as_fn_error $? "SDL_image with JPG support required. Please see INSTALL" "$LINENO" 5
66196627 #PCRE
66206628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5
66216629 $as_echo_n "checking for pcre_compile in -lpcre... " >&6; }
6622 if test "${ac_cv_lib_pcre_pcre_compile+set}" = set; then :
6630 if ${ac_cv_lib_pcre_pcre_compile+:} false; then :
66236631 $as_echo_n "(cached) " >&6
66246632 else
66256633 ac_check_lib_save_LIBS=$LIBS
66536661 fi
66546662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5
66556663 $as_echo "$ac_cv_lib_pcre_pcre_compile" >&6; }
6656 if test "x$ac_cv_lib_pcre_pcre_compile" = x""yes; then :
6664 if test "x$ac_cv_lib_pcre_pcre_compile" = xyes; then :
66576665 cat >>confdefs.h <<_ACEOF
66586666 #define HAVE_LIBPCRE 1
66596667 _ACEOF
66686676 #GLEW
66696677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glewInit in -lGLEW" >&5
66706678 $as_echo_n "checking for glewInit in -lGLEW... " >&6; }
6671 if test "${ac_cv_lib_GLEW_glewInit+set}" = set; then :
6679 if ${ac_cv_lib_GLEW_glewInit+:} false; then :
66726680 $as_echo_n "(cached) " >&6
66736681 else
66746682 ac_check_lib_save_LIBS=$LIBS
67026710 fi
67036711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLEW_glewInit" >&5
67046712 $as_echo "$ac_cv_lib_GLEW_glewInit" >&6; }
6705 if test "x$ac_cv_lib_GLEW_glewInit" = x""yes; then :
6713 if test "x$ac_cv_lib_GLEW_glewInit" = xyes; then :
67066714 LIBS="$LIBS -lGLEW"
67076715 else
67086716 as_fn_error $? "GLEW required. Please see INSTALL" "$LINENO" 5
67116719
67126720 #Check for required headers
67136721 ac_fn_cxx_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
6714 if test "x$ac_cv_header_SDL_h" = x""yes; then :
6722 if test "x$ac_cv_header_SDL_h" = xyes; then :
67156723
67166724 else
67176725 as_fn_error $? "SDL.h is required. Please see INSTALL" "$LINENO" 5
67196727
67206728
67216729 ac_fn_cxx_check_header_mongrel "$LINENO" "SDL_image.h" "ac_cv_header_SDL_image_h" "$ac_includes_default"
6722 if test "x$ac_cv_header_SDL_image_h" = x""yes; then :
6730 if test "x$ac_cv_header_SDL_image_h" = xyes; then :
67236731
67246732 else
67256733 as_fn_error $? "SDL_image.h is required. Please see INSTALL" "$LINENO" 5
67276735
67286736
67296737 ac_fn_cxx_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
6730 if test "x$ac_cv_header_pcre_h" = x""yes; then :
6738 if test "x$ac_cv_header_pcre_h" = xyes; then :
67316739
67326740 else
67336741 as_fn_error $? "pcre.h is required. Please see INSTALL" "$LINENO" 5
67356743
67366744
67376745 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
6738 if test "x$ac_cv_header_GL_glew_h" = x""yes; then :
6746 if test "x$ac_cv_header_GL_glew_h" = xyes; then :
67396747
67406748 else
67416749 as_fn_error $? "glew.h is required. Please see INSTALL" "$LINENO" 5
67736781 if test "x$use_tinyxml_system_library" = "xyes"; then
67746782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ltinyxml" >&5
67756783 $as_echo_n "checking for main in -ltinyxml... " >&6; }
6776 if test "${ac_cv_lib_tinyxml_main+set}" = set; then :
6784 if ${ac_cv_lib_tinyxml_main+:} false; then :
67776785 $as_echo_n "(cached) " >&6
67786786 else
67796787 ac_check_lib_save_LIBS=$LIBS
68016809 fi
68026810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinyxml_main" >&5
68036811 $as_echo "$ac_cv_lib_tinyxml_main" >&6; }
6804 if test "x$ac_cv_lib_tinyxml_main" = x""yes; then :
6812 if test "x$ac_cv_lib_tinyxml_main" = xyes; then :
68056813 cat >>confdefs.h <<_ACEOF
68066814 #define HAVE_LIBTINYXML 1
68076815 _ACEOF
68896897 :end' >>confcache
68906898 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
68916899 if test -w "$cache_file"; then
6892 test "x$cache_file" != "x/dev/null" &&
6900 if test "x$cache_file" != "x/dev/null"; then
68936901 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
68946902 $as_echo "$as_me: updating cache $cache_file" >&6;}
6895 cat confcache >$cache_file
6903 if test ! -f "$cache_file" || test -h "$cache_file"; then
6904 cat confcache >"$cache_file"
6905 else
6906 case $cache_file in #(
6907 */* | ?:*)
6908 mv -f confcache "$cache_file"$$ &&
6909 mv -f "$cache_file"$$ "$cache_file" ;; #(
6910 *)
6911 mv -f confcache "$cache_file" ;;
6912 esac
6913 fi
6914 fi
68966915 else
68976916 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
68986917 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
69887007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
69897008 fi
69907009
6991 : ${CONFIG_STATUS=./config.status}
7010 : "${CONFIG_STATUS=./config.status}"
69927011 ac_write_fail=0
69937012 ac_clean_files_save=$ac_clean_files
69947013 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
70897108 IFS=" "" $as_nl"
70907109
70917110 # Find who we are. Look in the path if we contain no directory separator.
7111 as_myself=
70927112 case $0 in #((
70937113 *[\\/]* ) as_myself=$0 ;;
70947114 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73957415 # report actual input values of CONFIG_FILES etc. instead of their
73967416 # values after options handling.
73977417 ac_log="
7398 This file was extended by Gource $as_me 0.35, which was
7399 generated by GNU Autoconf 2.67. Invocation command line was
7418 This file was extended by Gource $as_me 0.36, which was
7419 generated by GNU Autoconf 2.68. Invocation command line was
74007420
74017421 CONFIG_FILES = $CONFIG_FILES
74027422 CONFIG_HEADERS = $CONFIG_HEADERS
74527472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74537473 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
74547474 ac_cs_version="\\
7455 Gource config.status 0.35
7456 configured by $0, generated by GNU Autoconf 2.67,
7475 Gource config.status 0.36
7476 configured by $0, generated by GNU Autoconf 2.68,
74577477 with options \\"\$ac_cs_config\\"
74587478
74597479 Copyright (C) 2010 Free Software Foundation, Inc.
75737593 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
75747594 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
75757595
7576 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
7596 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
75777597 esac
75787598 done
75797599
75957615 # after its creation but before its name has been assigned to `$tmp'.
75967616 $debug ||
75977617 {
7598 tmp=
7618 tmp= ac_tmp=
75997619 trap 'exit_status=$?
7600 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7620 : "${ac_tmp:=$tmp}"
7621 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
76017622 ' 0
76027623 trap 'as_fn_exit 1' 1 2 13 15
76037624 }
76057626
76067627 {
76077628 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7608 test -n "$tmp" && test -d "$tmp"
7629 test -d "$tmp"
76097630 } ||
76107631 {
76117632 tmp=./conf$$-$RANDOM
76127633 (umask 077 && mkdir "$tmp")
76137634 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7635 ac_tmp=$tmp
76147636
76157637 # Set up the scripts for CONFIG_FILES section.
76167638 # No need to generate them if there are no CONFIG_FILES.
76327654 ac_cs_awk_cr=$ac_cr
76337655 fi
76347656
7635 echo 'BEGIN {' >"$tmp/subs1.awk" &&
7657 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
76367658 _ACEOF
76377659
76387660
76607682 rm -f conf$$subs.sh
76617683
76627684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7663 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
7685 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
76647686 _ACEOF
76657687 sed -n '
76667688 h
77087730 rm -f conf$$subs.awk
77097731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
77107732 _ACAWK
7711 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
7733 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
77127734 for (key in S) S_is_set[key] = 1
77137735 FS = ""
77147736
77407762 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
77417763 else
77427764 cat
7743 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
7765 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
77447766 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
77457767 _ACEOF
77467768
77807802 esac
77817803 case $ac_mode$ac_tag in
77827804 :[FHL]*:*);;
7783 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
7805 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
77847806 :[FH]-) ac_tag=-:-;;
77857807 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
77867808 esac
77997821 for ac_f
78007822 do
78017823 case $ac_f in
7802 -) ac_f="$tmp/stdin";;
7824 -) ac_f="$ac_tmp/stdin";;
78037825 *) # Look for the file first in the build tree, then in the source tree
78047826 # (if the path is not absolute). The absolute path cannot be DOS-style,
78057827 # because $ac_f cannot contain `:'.
78087830 [\\/$]*) false;;
78097831 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
78107832 esac ||
7811 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
7833 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
78127834 esac
78137835 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
78147836 as_fn_append ac_file_inputs " '$ac_f'"
78347856 esac
78357857
78367858 case $ac_tag in
7837 *:-:* | *:-) cat >"$tmp/stdin" \
7838 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7859 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7860 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
78397861 esac
78407862 ;;
78417863 esac
79717993 s&@MKDIR_P@&$ac_MKDIR_P&;t t
79727994 $ac_datarootdir_hack
79737995 "
7974 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
7975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7996 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7997 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79767998
79777999 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7978 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
7979 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8000 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8001 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8002 "$ac_tmp/out"`; test -z "$ac_out"; } &&
79808003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79818004 which seems to be undefined. Please make sure it is defined" >&5
79828005 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79838006 which seems to be undefined. Please make sure it is defined" >&2;}
79848007
7985 rm -f "$tmp/stdin"
8008 rm -f "$ac_tmp/stdin"
79868009 case $ac_file in
7987 -) cat "$tmp/out" && rm -f "$tmp/out";;
7988 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8010 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8011 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79898012 esac \
79908013 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79918014 ;;
22
33 AC_PREREQ(2.61)
44
5 AC_INIT(Gource, 0.35, [acaudwell@gmail.com])
5 AC_INIT(Gource, 0.36, [acaudwell@gmail.com])
66 AC_CONFIG_SRCDIR([src/main.h])
77
88 AM_INIT_AUTOMAKE([dist-bzip2 foreign subdir-objects])
145145 return parent;
146146 }
147147
148 RDirNode* RDirNode::findDir(const std::string& path) const {
149
150 if(abspath == path) return (RDirNode*) this;
151
152 for(std::list<RDirNode*>::const_iterator it = children.begin(); it != children.end(); it++) {
153 RDirNode* match = (*it)->findDir(path);
154
155 if(match) return match;
156 }
157
158 return 0;
148
149 //finds directories closest to the root directory prefixed by path (eg foo/ may match just foo/ or could also match foo/bar1, foo/bar2, ... if foo/ doesn't exist).
150 void RDirNode::findDirs(const std::string& path, std::list<RDirNode*>& dirs) {
151
152 if(prefixedBy(path)) {
153 dirs.push_back(this);
154 return;
155 }
156
157 for(std::list<RDirNode*>::const_iterator it = children.begin(); it != children.end(); it++) {
158 (*it)->findDirs(path, dirs);
159 }
159160 }
160161
161162 void RDirNode::getFilesRecursive(std::list<RFile*>& files) const {
157157 const vec4f & getColour() const;
158158
159159 RDirNode* getParent() const;
160 RDirNode* findDir(const std::string& path) const;
160
161 void findDirs(const std::string& path, std::list<RDirNode*>& dirs);
161162
162163 const vec2f & getPos() const;
163164
11471147
11481148 if(cf.action != "D") continue;
11491149
1150 RDirNode* dir = root->findDir(cf.filename);
1151
1152 if(!dir) continue;
1153
1154 //foreach dir files
1155 std::list<RFile*> dir_files;
1156
1157 dir->getFilesRecursive(dir_files);
1158
1159 for(std::list<RFile*>::iterator it = dir_files.begin(); it != dir_files.end(); it++) {
1160 RFile* file = *it;
1161
1162 addFileAction(commit.username, cf.action, file, t);
1150 std::list<RDirNode*> dirs;
1151
1152 root->findDirs(cf.filename, dirs);
1153
1154 for(std::list<RDirNode*>::iterator it = dirs.begin(); it != dirs.end(); it++) {
1155
1156 RDirNode* dir = (*it);
1157
1158 //fprintf(stderr, "deleting everything under %s because of %s\n", dir->getPath().c_str(), cf.filename.c_str());
1159
1160 //foreach dir files
1161 std::list<RFile*> dir_files;
1162
1163 dir->getFilesRecursive(dir_files);
1164
1165 for(std::list<RFile*>::iterator it = dir_files.begin(); it != dir_files.end(); it++) {
1166 RFile* file = *it;
1167
1168 addFileAction(commit.username, cf.action, file, t);
1169 }
11631170 }
1164
1171
11651172 return;
11661173 }
11671174
1717 #ifndef GOURCE_SETTINGS_H
1818 #define GOURCE_SETTINGS_H
1919
20 #define GOURCE_VERSION "0.35"
20 #define GOURCE_VERSION "0.36"
2121
2222 #include <dirent.h>
2323
172172 time_str.tm_sec = atoi(entries[5].c_str());
173173 time_str.tm_isdst = -1;
174174
175 commit.timestamp = mktime(&time_str);
175 commit.timestamp = timegm(&time_str);
176176
177177 //parse author
178178 TiXmlElement* authorE = leE->FirstChildElement("author");