~ubuntu-branches/debian/stretch/gource/stretch

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Andrew Caudwell
  • Date: 2014-04-15 16:30:17 UTC
  • mfrom: (1.2.15)
  • Revision ID: package-import@ubuntu.com-20140415163017-ucdr2josj1spzrga
Tags: 0.41-1
* New upstream release
* Made VCS URIs canonical
* Changed watch file to look at Github for releases

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.69 for Gource 0.40.
 
3
# Generated by GNU Autoconf 2.69 for Gource 0.41.
4
4
#
5
5
# Report bugs to <acaudwell@gmail.com>.
6
6
#
580
580
# Identity of this package.
581
581
PACKAGE_NAME='Gource'
582
582
PACKAGE_TARNAME='gource'
583
 
PACKAGE_VERSION='0.40'
584
 
PACKAGE_STRING='Gource 0.40'
 
583
PACKAGE_VERSION='0.41'
 
584
PACKAGE_STRING='Gource 0.41'
585
585
PACKAGE_BUGREPORT='acaudwell@gmail.com'
586
586
PACKAGE_URL=''
587
587
 
635
635
BOOST_SYSTEM_LIB
636
636
BOOST_LDFLAGS
637
637
BOOST_CPPFLAGS
 
638
PNG_LIBS
 
639
PNG_CFLAGS
638
640
SDL_LIBS
639
641
SDL_CFLAGS
 
642
SDL2_LIBS
 
643
SDL2_CFLAGS
640
644
GLEW_LIBS
641
645
GLEW_CFLAGS
642
646
PCRE_LIBS
689
693
build_vendor
690
694
build_cpu
691
695
build
 
696
AM_BACKSLASH
 
697
AM_DEFAULT_VERBOSITY
 
698
AM_DEFAULT_V
 
699
AM_V
692
700
am__untar
693
701
am__tar
694
702
AMTAR
753
761
ac_subst_files=''
754
762
ac_user_opts='
755
763
enable_option_checking
 
764
enable_silent_rules
756
765
enable_dependency_tracking
757
766
with_x
758
767
with_boost
783
792
PCRE_LIBS
784
793
GLEW_CFLAGS
785
794
GLEW_LIBS
 
795
SDL2_CFLAGS
 
796
SDL2_LIBS
786
797
SDL_CFLAGS
787
 
SDL_LIBS'
 
798
SDL_LIBS
 
799
PNG_CFLAGS
 
800
PNG_LIBS'
788
801
 
789
802
 
790
803
# Initialize some variables set by options.
1325
1338
  # Omit some internal or obsolete options to make the list less imposing.
1326
1339
  # This message is too long to be a string in the A/UX 3.1 sh.
1327
1340
  cat <<_ACEOF
1328
 
\`configure' configures Gource 0.40 to adapt to many kinds of systems.
 
1341
\`configure' configures Gource 0.41 to adapt to many kinds of systems.
1329
1342
 
1330
1343
Usage: $0 [OPTION]... [VAR=VALUE]...
1331
1344
 
1399
1412
 
1400
1413
if test -n "$ac_init_help"; then
1401
1414
  case $ac_init_help in
1402
 
     short | recursive ) echo "Configuration of Gource 0.40:";;
 
1415
     short | recursive ) echo "Configuration of Gource 0.41:";;
1403
1416
   esac
1404
1417
  cat <<\_ACEOF
1405
1418
 
1407
1420
  --disable-option-checking  ignore unrecognized --enable/--with options
1408
1421
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1409
1422
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1410
 
  --disable-dependency-tracking  speeds up one-time build
1411
 
  --enable-dependency-tracking   do not reject slow dependency extractors
 
1423
  --enable-silent-rules   less verbose build output (undo: "make V=1")
 
1424
  --disable-silent-rules  verbose build output (undo: "make V=0")
 
1425
  --enable-dependency-tracking
 
1426
                          do not reject slow dependency extractors
 
1427
  --disable-dependency-tracking
 
1428
                          speeds up one-time build
1412
1429
  --enable-ttf-font-dir=DIR
1413
1430
                          directory containing GNU FreeFont TTF fonts
1414
1431
 
1455
1472
  PCRE_LIBS   linker flags for PCRE, overriding pkg-config
1456
1473
  GLEW_CFLAGS C compiler flags for GLEW, overriding pkg-config
1457
1474
  GLEW_LIBS   linker flags for GLEW, overriding pkg-config
 
1475
  SDL2_CFLAGS C compiler flags for SDL2, overriding pkg-config
 
1476
  SDL2_LIBS   linker flags for SDL2, overriding pkg-config
1458
1477
  SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
1459
1478
  SDL_LIBS    linker flags for SDL, overriding pkg-config
 
1479
  PNG_CFLAGS  C compiler flags for PNG, overriding pkg-config
 
1480
  PNG_LIBS    linker flags for PNG, overriding pkg-config
1460
1481
 
1461
1482
Use these variables to override the choices made by `configure' or to help
1462
1483
it to find libraries and programs with nonstandard names/locations.
1524
1545
test -n "$ac_init_help" && exit $ac_status
1525
1546
if $ac_init_version; then
1526
1547
  cat <<\_ACEOF
1527
 
Gource configure 0.40
 
1548
Gource configure 0.41
1528
1549
generated by GNU Autoconf 2.69
1529
1550
 
1530
1551
Copyright (C) 2012 Free Software Foundation, Inc.
2136
2157
This file contains any messages produced by compilers while
2137
2158
running configure, to aid debugging if configure makes a mistake.
2138
2159
 
2139
 
It was created by Gource $as_me 0.40, which was
 
2160
It was created by Gource $as_me 0.41, which was
2140
2161
generated by GNU Autoconf 2.69.  Invocation command line was
2141
2162
 
2142
2163
  $ $0 $@
2484
2505
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2485
2506
 
2486
2507
 
2487
 
 
2488
 
 
2489
 
am__api_version='1.11'
2490
 
 
2491
2508
ac_aux_dir=
2492
 
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
 
2509
for ac_dir in build-aux "$srcdir"/build-aux; do
2493
2510
  if test -f "$ac_dir/install-sh"; then
2494
2511
    ac_aux_dir=$ac_dir
2495
2512
    ac_install_sh="$ac_aux_dir/install-sh -c"
2505
2522
  fi
2506
2523
done
2507
2524
if test -z "$ac_aux_dir"; then
2508
 
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 
2525
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2509
2526
fi
2510
2527
 
2511
2528
# These three variables are undocumented and unsupported,
2517
2534
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2518
2535
 
2519
2536
 
 
2537
 
 
2538
am__api_version='1.14'
 
2539
 
2520
2540
# Find a good install program.  We prefer a C program (faster),
2521
2541
# so one script is as good as another.  But avoid the broken or
2522
2542
# incompatible versions:
2612
2632
 
2613
2633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2614
2634
$as_echo_n "checking whether build environment is sane... " >&6; }
2615
 
# Just in case
2616
 
sleep 1
2617
 
echo timestamp > conftest.file
2618
2635
# Reject unsafe characters in $srcdir or the absolute working directory
2619
2636
# name.  Accept space and tab only in the latter.
2620
2637
am_lf='
2625
2642
esac
2626
2643
case $srcdir in
2627
2644
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2628
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
2645
    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2629
2646
esac
2630
2647
 
2631
 
# Do `set' in a subshell so we don't clobber the current shell's
 
2648
# Do 'set' in a subshell so we don't clobber the current shell's
2632
2649
# arguments.  Must try -L first in case configure is actually a
2633
2650
# symlink; some systems play weird games with the mod time of symlinks
2634
2651
# (eg FreeBSD returns the mod time of the symlink's containing
2635
2652
# directory).
2636
2653
if (
2637
 
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2638
 
   if test "$*" = "X"; then
2639
 
      # -L didn't work.
2640
 
      set X `ls -t "$srcdir/configure" conftest.file`
2641
 
   fi
2642
 
   rm -f conftest.file
2643
 
   if test "$*" != "X $srcdir/configure conftest.file" \
2644
 
      && test "$*" != "X conftest.file $srcdir/configure"; then
2645
 
 
2646
 
      # If neither matched, then we have a broken ls.  This can happen
2647
 
      # if, for instance, CONFIG_SHELL is bash and it inherits a
2648
 
      # broken ls alias from the environment.  This has actually
2649
 
      # happened.  Such a system could not be considered "sane".
2650
 
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2651
 
alias in your environment" "$LINENO" 5
2652
 
   fi
2653
 
 
 
2654
   am_has_slept=no
 
2655
   for am_try in 1 2; do
 
2656
     echo "timestamp, slept: $am_has_slept" > conftest.file
 
2657
     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
2658
     if test "$*" = "X"; then
 
2659
        # -L didn't work.
 
2660
        set X `ls -t "$srcdir/configure" conftest.file`
 
2661
     fi
 
2662
     if test "$*" != "X $srcdir/configure conftest.file" \
 
2663
        && test "$*" != "X conftest.file $srcdir/configure"; then
 
2664
 
 
2665
        # If neither matched, then we have a broken ls.  This can happen
 
2666
        # if, for instance, CONFIG_SHELL is bash and it inherits a
 
2667
        # broken ls alias from the environment.  This has actually
 
2668
        # happened.  Such a system could not be considered "sane".
 
2669
        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
2670
  alias in your environment" "$LINENO" 5
 
2671
     fi
 
2672
     if test "$2" = conftest.file || test $am_try -eq 2; then
 
2673
       break
 
2674
     fi
 
2675
     # Just in case.
 
2676
     sleep 1
 
2677
     am_has_slept=yes
 
2678
   done
2654
2679
   test "$2" = conftest.file
2655
2680
   )
2656
2681
then
2662
2687
fi
2663
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2664
2689
$as_echo "yes" >&6; }
 
2690
# If we didn't sleep, we still need to ensure time stamps of config.status and
 
2691
# generated files are strictly newer.
 
2692
am_sleep_pid=
 
2693
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
 
2694
  ( sleep 1 ) &
 
2695
  am_sleep_pid=$!
 
2696
fi
 
2697
 
 
2698
rm -f conftest.file
 
2699
 
2665
2700
test "$program_prefix" != NONE &&
2666
2701
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2667
2702
# Use a double $ so make ignores it.
2684
2719
  esac
2685
2720
fi
2686
2721
# Use eval to expand $SHELL
2687
 
if eval "$MISSING --run true"; then
2688
 
  am_missing_run="$MISSING --run "
 
2722
if eval "$MISSING --is-lightweight"; then
 
2723
  am_missing_run="$MISSING "
2689
2724
else
2690
2725
  am_missing_run=
2691
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2692
 
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
2726
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
 
2727
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2693
2728
fi
2694
2729
 
2695
2730
if test x"${install_sh}" != xset; then
2701
2736
  esac
2702
2737
fi
2703
2738
 
2704
 
# Installed binaries are usually stripped using `strip' when the user
2705
 
# run `make install-strip'.  However `strip' might not be the right
 
2739
# Installed binaries are usually stripped using 'strip' when the user
 
2740
# run "make install-strip".  However 'strip' might not be the right
2706
2741
# tool to use in cross-compilation environments, therefore Automake
2707
 
# will honor the `STRIP' environment variable to overrule this program.
 
2742
# will honor the 'STRIP' environment variable to overrule this program.
2708
2743
if test "$cross_compiling" != no; then
2709
2744
  if test -n "$ac_tool_prefix"; then
2710
2745
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2843
2878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2844
2879
$as_echo "$MKDIR_P" >&6; }
2845
2880
 
2846
 
mkdir_p="$MKDIR_P"
2847
 
case $mkdir_p in
2848
 
  [\\/$]* | ?:[\\/]*) ;;
2849
 
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2850
 
esac
2851
 
 
2852
2881
for ac_prog in gawk mawk nawk awk
2853
2882
do
2854
2883
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2931
2960
fi
2932
2961
rmdir .tst 2>/dev/null
2933
2962
 
 
2963
# Check whether --enable-silent-rules was given.
 
2964
if test "${enable_silent_rules+set}" = set; then :
 
2965
  enableval=$enable_silent_rules;
 
2966
fi
 
2967
 
 
2968
case $enable_silent_rules in # (((
 
2969
  yes) AM_DEFAULT_VERBOSITY=0;;
 
2970
   no) AM_DEFAULT_VERBOSITY=1;;
 
2971
    *) AM_DEFAULT_VERBOSITY=1;;
 
2972
esac
 
2973
am_make=${MAKE-make}
 
2974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
2975
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
2976
if ${am_cv_make_support_nested_variables+:} false; then :
 
2977
  $as_echo_n "(cached) " >&6
 
2978
else
 
2979
  if $as_echo 'TRUE=$(BAR$(V))
 
2980
BAR0=false
 
2981
BAR1=true
 
2982
V=1
 
2983
am__doit:
 
2984
        @$(TRUE)
 
2985
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
2986
  am_cv_make_support_nested_variables=yes
 
2987
else
 
2988
  am_cv_make_support_nested_variables=no
 
2989
fi
 
2990
fi
 
2991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
2992
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
2993
if test $am_cv_make_support_nested_variables = yes; then
 
2994
    AM_V='$(V)'
 
2995
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
2996
else
 
2997
  AM_V=$AM_DEFAULT_VERBOSITY
 
2998
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
2999
fi
 
3000
AM_BACKSLASH='\'
 
3001
 
2934
3002
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2935
3003
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2936
3004
  # is not polluted with repeated "-I."
2953
3021
 
2954
3022
# Define the identity of the package.
2955
3023
 PACKAGE='gource'
2956
 
 VERSION='0.40'
 
3024
 VERSION='0.41'
2957
3025
 
2958
3026
 
2959
3027
cat >>confdefs.h <<_ACEOF
2981
3049
 
2982
3050
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2983
3051
 
 
3052
# For better backward compatibility.  To be removed once Automake 1.9.x
 
3053
# dies out for good.  For more background, see:
 
3054
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
 
3055
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
 
3056
mkdir_p='$(MKDIR_P)'
 
3057
 
2984
3058
# We need awk for the "check" target.  The system "awk" is bad on
2985
3059
# some platforms.
2986
3060
# Always define AMTAR for backward compatibility.  Yes, it's still used
2987
3061
# in the wild :-(  We should find a proper way to deprecate it ...
2988
3062
AMTAR='$${TAR-tar}'
2989
3063
 
 
3064
 
 
3065
# We'll loop over all known methods to create a tar archive until one works.
 
3066
_am_tools='gnutar  pax cpio none'
 
3067
 
2990
3068
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2991
3069
 
2992
3070
 
2994
3072
 
2995
3073
 
2996
3074
 
 
3075
# POSIX will say in a future version that running "rm -f" with no argument
 
3076
# is OK; and we want to be able to make that assumption in our Makefile
 
3077
# recipes.  So use an aggressive probe to check that the usage we want is
 
3078
# actually supported "in the wild" to an acceptable degree.
 
3079
# See automake bug#10828.
 
3080
# To make any issue more visible, cause the running configure to be aborted
 
3081
# by default if the 'rm' program in use doesn't match our expectations; the
 
3082
# user can still override this though.
 
3083
if rm -f && rm -fr && rm -rf; then : OK; else
 
3084
  cat >&2 <<'END'
 
3085
Oops!
 
3086
 
 
3087
Your 'rm' program seems unable to run without file operands specified
 
3088
on the command line, even when the '-f' option is present.  This is contrary
 
3089
to the behaviour of most rm programs out there, and not conforming with
 
3090
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
 
3091
 
 
3092
Please tell bug-automake@gnu.org about your system, including the value
 
3093
of your $PATH and any error possibly output before this message.  This
 
3094
can help us improve future automake versions.
 
3095
 
 
3096
END
 
3097
  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
 
3098
    echo 'Configuration will proceed anyway, since you have set the' >&2
 
3099
    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
 
3100
    echo >&2
 
3101
  else
 
3102
    cat >&2 <<'END'
 
3103
Aborting the configuration process, to ensure you take notice of the issue.
 
3104
 
 
3105
You can download and install GNU coreutils to get an 'rm' implementation
 
3106
that behaves properly: <http://www.gnu.org/software/coreutils/>.
 
3107
 
 
3108
If you want to complete the configuration process using your problematic
 
3109
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
 
3110
to "yes", and re-run configure.
 
3111
 
 
3112
END
 
3113
    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
 
3114
  fi
 
3115
fi
 
3116
 
 
3117
 
2997
3118
# Make sure we can run config.sub.
2998
3119
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2999
3120
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3592
3713
_am_result=none
3593
3714
# First try GNU make style include.
3594
3715
echo "include confinc" > confmf
3595
 
# Ignore all kinds of additional output from `make'.
 
3716
# Ignore all kinds of additional output from 'make'.
3596
3717
case `$am_make -s -f confmf 2> /dev/null` in #(
3597
3718
*the\ am__doit\ target*)
3598
3719
  am__include=include
3648
3769
  # We make a subdir and do the tests there.  Otherwise we can end up
3649
3770
  # making bogus files that we don't know about and never remove.  For
3650
3771
  # instance it was reported that on HP-UX the gcc test will end up
3651
 
  # making a dummy file named `D' -- because `-MD' means `put the output
3652
 
  # in D'.
 
3772
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
3773
  # in D".
3653
3774
  rm -rf conftest.dir
3654
3775
  mkdir conftest.dir
3655
3776
  # Copy depcomp to subdir because otherwise we won't find it if we're
3684
3805
    : > sub/conftest.c
3685
3806
    for i in 1 2 3 4 5 6; do
3686
3807
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3687
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3688
 
      # Solaris 8's {/usr,}/bin/sh.
3689
 
      touch sub/conftst$i.h
 
3808
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
3809
      # Solaris 10 /bin/sh.
 
3810
      echo '/* dummy */' > sub/conftst$i.h
3690
3811
    done
3691
3812
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3692
3813
 
3693
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3814
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3694
3815
    # mode.  It turns out that the SunPro C++ compiler does not properly
3695
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
3696
 
    # versions had trouble with output in subdirs
 
3816
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
3817
    # versions had trouble with output in subdirs.
3697
3818
    am__obj=sub/conftest.${OBJEXT-o}
3698
3819
    am__minus_obj="-o $am__obj"
3699
3820
    case $depmode in
3702
3823
      test "$am__universal" = false || continue
3703
3824
      ;;
3704
3825
    nosideeffect)
3705
 
      # after this tag, mechanisms are not by side-effect, so they'll
3706
 
      # only be used when explicitly requested
 
3826
      # After this tag, mechanisms are not by side-effect, so they'll
 
3827
      # only be used when explicitly requested.
3707
3828
      if test "x$enable_dependency_tracking" = xyes; then
3708
3829
        continue
3709
3830
      else
3711
3832
      fi
3712
3833
      ;;
3713
3834
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3714
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
3835
      # This compiler won't grok '-c -o', but also, the minuso test has
3715
3836
      # not run yet.  These depmodes are late enough in the game, and
3716
3837
      # so weak that their functioning should not be impacted.
3717
3838
      am__obj=conftest.${OBJEXT-o}
3792
3913
    case "$host_os" in
3793
3914
    darwin*)
3794
3915
        with_x="no"
 
3916
        LIBS="$LIBS -framework CoreFoundation"
3795
3917
    ;;
3796
3918
    esac
3797
3919
 
4733
4855
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4734
4856
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4735
4857
 
 
4858
ac_ext=c
 
4859
ac_cpp='$CPP $CPPFLAGS'
 
4860
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4861
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4862
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
 
4864
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
 
4865
if ${am_cv_prog_cc_c_o+:} false; then :
 
4866
  $as_echo_n "(cached) " >&6
 
4867
else
 
4868
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
4869
/* end confdefs.h.  */
 
4870
 
 
4871
int
 
4872
main ()
 
4873
{
 
4874
 
 
4875
  ;
 
4876
  return 0;
 
4877
}
 
4878
_ACEOF
 
4879
  # Make sure it works both with $CC and with simple cc.
 
4880
  # Following AC_PROG_CC_C_O, we do the test twice because some
 
4881
  # compilers refuse to overwrite an existing .o file with -o,
 
4882
  # though they will create one.
 
4883
  am_cv_prog_cc_c_o=yes
 
4884
  for am_i in 1 2; do
 
4885
    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
 
4886
   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
 
4887
   ac_status=$?
 
4888
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4889
   (exit $ac_status); } \
 
4890
         && test -f conftest2.$ac_objext; then
 
4891
      : OK
 
4892
    else
 
4893
      am_cv_prog_cc_c_o=no
 
4894
      break
 
4895
    fi
 
4896
  done
 
4897
  rm -f core conftest*
 
4898
  unset am_i
 
4899
fi
 
4900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
 
4901
$as_echo "$am_cv_prog_cc_c_o" >&6; }
 
4902
if test "$am_cv_prog_cc_c_o" != yes; then
 
4903
   # Losing compiler, so override with the script.
 
4904
   # FIXME: It is wrong to rewrite CC.
 
4905
   # But if we don't then we get into trouble of one sort or another.
 
4906
   # A longer-term fix would be to have automake use am__CC in this case,
 
4907
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
4908
   CC="$am_aux_dir/compile $CC"
 
4909
fi
 
4910
ac_ext=c
 
4911
ac_cpp='$CPP $CPPFLAGS'
 
4912
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
4913
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
4914
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
4915
 
 
4916
 
4736
4917
depcc="$CC"   am_compiler_list=
4737
4918
 
4738
4919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4744
4925
  # We make a subdir and do the tests there.  Otherwise we can end up
4745
4926
  # making bogus files that we don't know about and never remove.  For
4746
4927
  # instance it was reported that on HP-UX the gcc test will end up
4747
 
  # making a dummy file named `D' -- because `-MD' means `put the output
4748
 
  # in D'.
 
4928
  # making a dummy file named 'D' -- because '-MD' means "put the output
 
4929
  # in D".
4749
4930
  rm -rf conftest.dir
4750
4931
  mkdir conftest.dir
4751
4932
  # Copy depcomp to subdir because otherwise we won't find it if we're
4780
4961
    : > sub/conftest.c
4781
4962
    for i in 1 2 3 4 5 6; do
4782
4963
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4783
 
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4784
 
      # Solaris 8's {/usr,}/bin/sh.
4785
 
      touch sub/conftst$i.h
 
4964
      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
 
4965
      # Solaris 10 /bin/sh.
 
4966
      echo '/* dummy */' > sub/conftst$i.h
4786
4967
    done
4787
4968
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4788
4969
 
4789
 
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
4970
    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4790
4971
    # mode.  It turns out that the SunPro C++ compiler does not properly
4791
 
    # handle `-M -o', and we need to detect this.  Also, some Intel
4792
 
    # versions had trouble with output in subdirs
 
4972
    # handle '-M -o', and we need to detect this.  Also, some Intel
 
4973
    # versions had trouble with output in subdirs.
4793
4974
    am__obj=sub/conftest.${OBJEXT-o}
4794
4975
    am__minus_obj="-o $am__obj"
4795
4976
    case $depmode in
4798
4979
      test "$am__universal" = false || continue
4799
4980
      ;;
4800
4981
    nosideeffect)
4801
 
      # after this tag, mechanisms are not by side-effect, so they'll
4802
 
      # only be used when explicitly requested
 
4982
      # After this tag, mechanisms are not by side-effect, so they'll
 
4983
      # only be used when explicitly requested.
4803
4984
      if test "x$enable_dependency_tracking" = xyes; then
4804
4985
        continue
4805
4986
      else
4807
4988
      fi
4808
4989
      ;;
4809
4990
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4810
 
      # This compiler won't grok `-c -o', but also, the minuso test has
 
4991
      # This compiler won't grok '-c -o', but also, the minuso test has
4811
4992
      # not run yet.  These depmodes are late enough in the game, and
4812
4993
      # so weak that their functioning should not be impacted.
4813
4994
      am__obj=conftest.${OBJEXT-o}
6507
6688
        :
6508
6689
fi
6509
6690
 
 
6691
 
 
6692
pkg_failed=no
 
6693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL2" >&5
 
6694
$as_echo_n "checking for SDL2... " >&6; }
 
6695
 
 
6696
if test -n "$PKG_CONFIG"; then
 
6697
    if test -n "$SDL2_CFLAGS"; then
 
6698
        pkg_cv_SDL2_CFLAGS="$SDL2_CFLAGS"
 
6699
    else
 
6700
        if test -n "$PKG_CONFIG" && \
 
6701
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 SDL2_image\""; } >&5
 
6702
  ($PKG_CONFIG --exists --print-errors "sdl2 SDL2_image") 2>&5
 
6703
  ac_status=$?
 
6704
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6705
  test $ac_status = 0; }; then
 
6706
  pkg_cv_SDL2_CFLAGS=`$PKG_CONFIG --cflags "sdl2 SDL2_image" 2>/dev/null`
 
6707
else
 
6708
  pkg_failed=yes
 
6709
fi
 
6710
    fi
 
6711
else
 
6712
        pkg_failed=untried
 
6713
fi
 
6714
if test -n "$PKG_CONFIG"; then
 
6715
    if test -n "$SDL2_LIBS"; then
 
6716
        pkg_cv_SDL2_LIBS="$SDL2_LIBS"
 
6717
    else
 
6718
        if test -n "$PKG_CONFIG" && \
 
6719
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl2 SDL2_image\""; } >&5
 
6720
  ($PKG_CONFIG --exists --print-errors "sdl2 SDL2_image") 2>&5
 
6721
  ac_status=$?
 
6722
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6723
  test $ac_status = 0; }; then
 
6724
  pkg_cv_SDL2_LIBS=`$PKG_CONFIG --libs "sdl2 SDL2_image" 2>/dev/null`
 
6725
else
 
6726
  pkg_failed=yes
 
6727
fi
 
6728
    fi
 
6729
else
 
6730
        pkg_failed=untried
 
6731
fi
 
6732
 
 
6733
 
 
6734
 
 
6735
if test $pkg_failed = yes; then
 
6736
 
 
6737
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
6738
        _pkg_short_errors_supported=yes
 
6739
else
 
6740
        _pkg_short_errors_supported=no
 
6741
fi
 
6742
        if test $_pkg_short_errors_supported = yes; then
 
6743
                SDL2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sdl2 SDL2_image"`
 
6744
        else
 
6745
                SDL2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sdl2 SDL2_image"`
 
6746
        fi
 
6747
        # Put the nasty error message in config.log where it belongs
 
6748
        echo "$SDL2_PKG_ERRORS" >&5
 
6749
 
 
6750
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6751
$as_echo "no" >&6; }
 
6752
                have_sdl2=no
 
6753
elif test $pkg_failed = untried; then
 
6754
        have_sdl2=no
 
6755
else
 
6756
        SDL2_CFLAGS=$pkg_cv_SDL2_CFLAGS
 
6757
        SDL2_LIBS=$pkg_cv_SDL2_LIBS
 
6758
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6759
$as_echo "yes" >&6; }
 
6760
        have_sdl2=yes
 
6761
fi
 
6762
 
 
6763
# use SDL 2 if available, otherwise use SDL 1.2
 
6764
if test "x$have_sdl2" = xno; then
 
6765
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SDL 2.0 libraries not found. Trying SDL 1.2. Please note SDL 1.2 support is deprecated" >&5
 
6766
$as_echo "$as_me: WARNING: SDL 2.0 libraries not found. Trying SDL 1.2. Please note SDL 1.2 support is deprecated" >&2;}
 
6767
 
6510
6768
pkg_failed=no
6511
6769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
6512
6770
$as_echo_n "checking for SDL... " >&6; }
6596
6854
$as_echo "yes" >&6; }
6597
6855
        :
6598
6856
fi
6599
 
 
6600
 
CPPFLAGS="${CPPFLAGS} ${FT2_CFLAGS} ${PCRE_CFLAGS} ${GLEW_CFLAGS} ${SDL_CFLAGS}"
6601
 
LIBS="${LIBS} ${FT2_LIBS} ${PCRE_LIBS} ${GLEW_LIBS} ${SDL_LIBS}"
 
6857
fi
 
6858
 
 
6859
 
 
6860
pkg_failed=no
 
6861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
 
6862
$as_echo_n "checking for PNG... " >&6; }
 
6863
 
 
6864
if test -n "$PKG_CONFIG"; then
 
6865
    if test -n "$PNG_CFLAGS"; then
 
6866
        pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
 
6867
    else
 
6868
        if test -n "$PKG_CONFIG" && \
 
6869
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2\""; } >&5
 
6870
  ($PKG_CONFIG --exists --print-errors "libpng >= 1.2") 2>&5
 
6871
  ac_status=$?
 
6872
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6873
  test $ac_status = 0; }; then
 
6874
  pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2" 2>/dev/null`
 
6875
else
 
6876
  pkg_failed=yes
 
6877
fi
 
6878
    fi
 
6879
else
 
6880
        pkg_failed=untried
 
6881
fi
 
6882
if test -n "$PKG_CONFIG"; then
 
6883
    if test -n "$PNG_LIBS"; then
 
6884
        pkg_cv_PNG_LIBS="$PNG_LIBS"
 
6885
    else
 
6886
        if test -n "$PKG_CONFIG" && \
 
6887
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2\""; } >&5
 
6888
  ($PKG_CONFIG --exists --print-errors "libpng >= 1.2") 2>&5
 
6889
  ac_status=$?
 
6890
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6891
  test $ac_status = 0; }; then
 
6892
  pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2" 2>/dev/null`
 
6893
else
 
6894
  pkg_failed=yes
 
6895
fi
 
6896
    fi
 
6897
else
 
6898
        pkg_failed=untried
 
6899
fi
 
6900
 
 
6901
 
 
6902
 
 
6903
if test $pkg_failed = yes; then
 
6904
 
 
6905
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
6906
        _pkg_short_errors_supported=yes
 
6907
else
 
6908
        _pkg_short_errors_supported=no
 
6909
fi
 
6910
        if test $_pkg_short_errors_supported = yes; then
 
6911
                PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng >= 1.2"`
 
6912
        else
 
6913
                PNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng >= 1.2"`
 
6914
        fi
 
6915
        # Put the nasty error message in config.log where it belongs
 
6916
        echo "$PNG_PKG_ERRORS" >&5
 
6917
 
 
6918
        as_fn_error $? "Package requirements (libpng >= 1.2) were not met:
 
6919
 
 
6920
$PNG_PKG_ERRORS
 
6921
 
 
6922
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
6923
installed software in a non-standard prefix.
 
6924
 
 
6925
Alternatively, you may set the environment variables PNG_CFLAGS
 
6926
and PNG_LIBS to avoid the need to call pkg-config.
 
6927
See the pkg-config man page for more details.
 
6928
" "$LINENO" 5
 
6929
elif test $pkg_failed = untried; then
 
6930
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
6931
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
6932
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
6933
is in your PATH or set the PKG_CONFIG environment variable to the full
 
6934
path to pkg-config.
 
6935
 
 
6936
Alternatively, you may set the environment variables PNG_CFLAGS
 
6937
and PNG_LIBS to avoid the need to call pkg-config.
 
6938
See the pkg-config man page for more details.
 
6939
 
 
6940
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
6941
See \`config.log' for more details" "$LINENO" 5; }
 
6942
else
 
6943
        PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
 
6944
        PNG_LIBS=$pkg_cv_PNG_LIBS
 
6945
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
6946
$as_echo "yes" >&6; }
 
6947
        :
 
6948
fi
 
6949
 
 
6950
CPPFLAGS="${CPPFLAGS} ${FT2_CFLAGS} ${PCRE_CFLAGS} ${GLEW_CFLAGS} ${SDL2_CFLAGS} ${SDL_CFLAGS} ${PNG_CFLAGS}"
 
6951
LIBS="${LIBS} ${FT2_LIBS} ${PCRE_LIBS} ${GLEW_LIBS} ${SDL2_LIBS} ${SDL_LIBS} ${PNG_LIBS}"
6602
6952
 
6603
6953
for ac_func in IMG_LoadPNG_RW
6604
6954
do :
7614
7964
LTLIBOBJS=$ac_ltlibobjs
7615
7965
 
7616
7966
 
 
7967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 
7968
$as_echo_n "checking that generated files are newer than configure... " >&6; }
 
7969
   if test -n "$am_sleep_pid"; then
 
7970
     # Hide warnings about reused PIDs.
 
7971
     wait $am_sleep_pid 2>/dev/null
 
7972
   fi
 
7973
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 
7974
$as_echo "done" >&6; }
7617
7975
 if test -n "$EXEEXT"; then
7618
7976
  am__EXEEXT_TRUE=
7619
7977
  am__EXEEXT_FALSE='#'
8039
8397
# report actual input values of CONFIG_FILES etc. instead of their
8040
8398
# values after options handling.
8041
8399
ac_log="
8042
 
This file was extended by Gource $as_me 0.40, which was
 
8400
This file was extended by Gource $as_me 0.41, which was
8043
8401
generated by GNU Autoconf 2.69.  Invocation command line was
8044
8402
 
8045
8403
  CONFIG_FILES    = $CONFIG_FILES
8096
8454
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8097
8455
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
8098
8456
ac_cs_version="\\
8099
 
Gource config.status 0.40
 
8457
Gource config.status 0.41
8100
8458
configured by $0, generated by GNU Autoconf 2.69,
8101
8459
  with options \\"\$ac_cs_config\\"
8102
8460
 
8646
9004
 
8647
9005
  case $ac_file$ac_mode in
8648
9006
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
8649
 
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
9007
  # Older Autoconf quotes --file arguments for eval, but not when files
8650
9008
  # are listed without --file.  Let's play safe and only enable the eval
8651
9009
  # if we detect the quoting.
8652
9010
  case $CONFIG_FILES in
8659
9017
    # Strip MF so we end up with the name of the file.
8660
9018
    mf=`echo "$mf" | sed -e 's/:.*$//'`
8661
9019
    # Check whether this is an Automake generated Makefile or not.
8662
 
    # We used to match only the files named `Makefile.in', but
 
9020
    # We used to match only the files named 'Makefile.in', but
8663
9021
    # some people rename them; so instead we look at the file content.
8664
9022
    # Grep'ing the first line is not enough: some people post-process
8665
9023
    # each Makefile.in and add a new line on top of each file to say so.
8693
9051
      continue
8694
9052
    fi
8695
9053
    # Extract the definition of DEPDIR, am__include, and am__quote
8696
 
    # from the Makefile without running `make'.
 
9054
    # from the Makefile without running 'make'.
8697
9055
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8698
9056
    test -z "$DEPDIR" && continue
8699
9057
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
8700
 
    test -z "am__include" && continue
 
9058
    test -z "$am__include" && continue
8701
9059
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8702
 
    # When using ansi2knr, U may be empty or an underscore; expand it
8703
 
    U=`sed -n 's/^U = //p' < "$mf"`
8704
9060
    # Find all dependency output files, they are included files with
8705
9061
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
8706
9062
    # simplest approach to changing $(DEPDIR) to its actual value in the
8707
9063
    # expansion.
8708
9064
    for file in `sed -n "
8709
9065
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8710
 
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
9066
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8711
9067
      # Make sure the directory exists.
8712
9068
      test -f "$dirpart/$file" && continue
8713
9069
      fdir=`$as_dirname -- "$file" ||