~ubuntu-branches/ubuntu/vivid/gtk-vnc/vivid-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Package Import Robot
  • Author(s): Laurent Léonard
  • Date: 2012-07-24 00:49:55 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20120724004955-6711f7ontxvn9yzy
Tags: 0.5.1-1
* [e2591bf] Imported Upstream version 0.5.1
* [a0f6408] Drop patch
  - Allow-Unix-domain-sockets-in-gvncviewer.patch - fixed upstream
* [c031b94] Bump Standards-Version to 3.9.3
* [61e5796] Set build directories for dh_auto_clean
* [7fde78d] Drop patch
  - Look-for-generated-enums-in-srcdir.patch
* [fada5be] Add dh_auto_test override
* [d7567f1] Update symbols
* [6189676] Enable dpkg-buildflags

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.68 for gtk-vnc 0.5.0.
 
3
# Generated by GNU Autoconf 2.68 for gtk-vnc 0.5.1.
4
4
#
5
5
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-vnc>.
6
6
#
571
571
# Identity of this package.
572
572
PACKAGE_NAME='gtk-vnc'
573
573
PACKAGE_TARNAME='gtk-vnc'
574
 
PACKAGE_VERSION='0.5.0'
575
 
PACKAGE_STRING='gtk-vnc 0.5.0'
 
574
PACKAGE_VERSION='0.5.1'
 
575
PACKAGE_STRING='gtk-vnc 0.5.1'
576
576
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=gtk-vnc'
577
577
PACKAGE_URL='http://live.gnome.org/gtk-vnc/'
578
578
 
676
676
GTK_CFLAGS
677
677
GDK_PIXBUF_LIBS
678
678
GDK_PIXBUF_CFLAGS
 
679
GIOUNIX_LIBS
 
680
GIOUNIX_CFLAGS
679
681
GIO_LIBS
680
682
GIO_CFLAGS
681
683
GOBJECT_LIBS
687
689
USE_VERSION_DEFS_TRUE
688
690
VERSION_SCRIPT_FLAGS
689
691
NO_UNDEFINED_FLAGS
690
 
WARNING_PYTHON_CFLAGS
691
 
WARNING_CFLAGS
692
 
COMPILER_FLAGS
 
692
WARN_LDFLAGS
 
693
WARN_CFLAGS
693
694
HAVE_GTK_3_FALSE
694
695
HAVE_GTK_3_TRUE
695
696
HAVE_GTK_2_FALSE
734
735
INTLTOOL_KEYS_RULE
735
736
INTLTOOL_DIRECTORY_RULE
736
737
INTLTOOL_DESKTOP_RULE
 
738
intltool__v_merge_options_0
 
739
intltool__v_merge_options_
 
740
INTLTOOL_V_MERGE_OPTIONS
 
741
INTLTOOL__v_MERGE_0
 
742
INTLTOOL__v_MERGE_
 
743
INTLTOOL_V_MERGE
737
744
INTLTOOL_EXTRACT
738
745
INTLTOOL_MERGE
739
746
INTLTOOL_UPDATE
745
752
GOBJECT_REQUIRED
746
753
AM_BACKSLASH
747
754
AM_DEFAULT_VERBOSITY
 
755
AM_DEFAULT_V
 
756
AM_V
748
757
DISABLE_DEPRECATED
749
758
MAINT
750
759
MAINTAINER_MODE_FALSE
771
780
am__fastdepCC_FALSE
772
781
am__fastdepCC_TRUE
773
782
CCDEPMODE
 
783
am__nodep
774
784
AMDEPBACKSLASH
775
785
AMDEP_FALSE
776
786
AMDEP_TRUE
873
883
enable_nls
874
884
with_gtk
875
885
with_python
876
 
enable_compile_warnings
877
 
enable_iso_c
 
886
enable_werror
878
887
with_examples
879
888
with_libview
 
889
with_pulseaudio
880
890
with_sasl
881
891
with_coroutine
882
892
enable_plugin
900
910
GOBJECT_LIBS
901
911
GIO_CFLAGS
902
912
GIO_LIBS
 
913
GIOUNIX_CFLAGS
 
914
GIOUNIX_LIBS
903
915
GDK_PIXBUF_CFLAGS
904
916
GDK_PIXBUF_LIBS
905
917
GTK_CFLAGS
918
930
GTHREAD_LIBS
919
931
PYGTK_CFLAGS
920
932
PYGTK_LIBS
 
933
PYTHON
921
934
FIREFOX_PLUGIN_CFLAGS
922
935
FIREFOX_PLUGIN_LIBS
923
936
MOZILLA_PLUGIN_CFLAGS
1466
1479
  # Omit some internal or obsolete options to make the list less imposing.
1467
1480
  # This message is too long to be a string in the A/UX 3.1 sh.
1468
1481
  cat <<_ACEOF
1469
 
\`configure' configures gtk-vnc 0.5.0 to adapt to many kinds of systems.
 
1482
\`configure' configures gtk-vnc 0.5.1 to adapt to many kinds of systems.
1470
1483
 
1471
1484
Usage: $0 [OPTION]... [VAR=VALUE]...
1472
1485
 
1536
1549
 
1537
1550
if test -n "$ac_init_help"; then
1538
1551
  case $ac_init_help in
1539
 
     short | recursive ) echo "Configuration of gtk-vnc 0.5.0:";;
 
1552
     short | recursive ) echo "Configuration of gtk-vnc 0.5.1:";;
1540
1553
   esac
1541
1554
  cat <<\_ACEOF
1542
1555
 
1556
1569
  --enable-silent-rules          less verbose build output (undo: `make V=1')
1557
1570
  --disable-silent-rules         verbose build output (undo: `make V=0')
1558
1571
  --disable-nls           do not use Native Language Support
1559
 
  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1560
 
                          Turn on compiler warnings
1561
 
  --enable-iso-c          Try to warn if code is not ISO C
 
1572
  --enable-werror         Use -Werror (if supported)
1562
1573
  --enable-plugin=no/yes enable browser plugin default=no
1563
1574
  --disable-rebuilds      disable all source autogeneration rules
1564
1575
  --enable-introspection  enable GObject introspection
1567
1578
Optional Packages:
1568
1579
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1569
1580
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1570
 
  --with-pic              try to use only PIC/non-PIC objects [default=use
 
1581
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1571
1582
                          both]
1572
1583
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1573
1584
  --with-sysroot=DIR Search for dependent libraries within DIR
1576
1587
  --with-python           build python bindings
1577
1588
  --with-examples         install example programs
1578
1589
  --with-libview          enable libview support in gvncviewer
 
1590
  --with-pulseaudio       use PulseAudio for audio playback [default=check]
1579
1591
  --with-sasl             use cyrus SASL for authentication [default=check]
1580
1592
  --with-coroutine=ucontext/gthread  use ucontext or GThread for coroutines
1581
1593
 
1599
1611
              linker flags for GOBJECT, overriding pkg-config
1600
1612
  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1601
1613
  GIO_LIBS    linker flags for GIO, overriding pkg-config
 
1614
  GIOUNIX_CFLAGS
 
1615
              C compiler flags for GIOUNIX, overriding pkg-config
 
1616
  GIOUNIX_LIBS
 
1617
              linker flags for GIOUNIX, overriding pkg-config
1602
1618
  GDK_PIXBUF_CFLAGS
1603
1619
              C compiler flags for GDK_PIXBUF, overriding pkg-config
1604
1620
  GDK_PIXBUF_LIBS
1626
1642
  PYGTK_CFLAGS
1627
1643
              C compiler flags for PYGTK, overriding pkg-config
1628
1644
  PYGTK_LIBS  linker flags for PYGTK, overriding pkg-config
 
1645
  PYTHON      the Python interpreter
1629
1646
  FIREFOX_PLUGIN_CFLAGS
1630
1647
              C compiler flags for FIREFOX_PLUGIN, overriding pkg-config
1631
1648
  FIREFOX_PLUGIN_LIBS
1707
1724
test -n "$ac_init_help" && exit $ac_status
1708
1725
if $ac_init_version; then
1709
1726
  cat <<\_ACEOF
1710
 
gtk-vnc configure 0.5.0
 
1727
gtk-vnc configure 0.5.1
1711
1728
generated by GNU Autoconf 2.68
1712
1729
 
1713
1730
Copyright (C) 2010 Free Software Foundation, Inc.
2076
2093
This file contains any messages produced by compilers while
2077
2094
running configure, to aid debugging if configure makes a mistake.
2078
2095
 
2079
 
It was created by gtk-vnc $as_me 0.5.0, which was
 
2096
It was created by gtk-vnc $as_me 0.5.1, which was
2080
2097
generated by GNU Autoconf 2.68.  Invocation command line was
2081
2098
 
2082
2099
  $ $0 $@
2895
2912
 
2896
2913
# Define the identity of the package.
2897
2914
 PACKAGE='gtk-vnc'
2898
 
 VERSION='0.5.0'
 
2915
 VERSION='0.5.1'
2899
2916
 
2900
2917
 
2901
2918
cat >>confdefs.h <<_ACEOF
2925
2942
 
2926
2943
# We need awk for the "check" target.  The system "awk" is bad on
2927
2944
# some platforms.
2928
 
# Always define AMTAR for backward compatibility.
2929
 
 
2930
 
AMTAR=${AMTAR-"${am_missing_run}tar"}
2931
 
 
2932
 
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2945
# Always define AMTAR for backward compatibility.  Yes, it's still used
 
2946
# in the wild :-(  We should find a proper way to deprecate it ...
 
2947
AMTAR='$${TAR-tar}'
 
2948
 
 
2949
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2933
2950
 
2934
2951
 
2935
2952
 
2945
2962
 
2946
2963
 
2947
2964
 
2948
 
macro_version='2.4'
2949
 
macro_revision='1.3293'
 
2965
macro_version='2.4.2'
 
2966
macro_revision='1.3337'
2950
2967
 
2951
2968
 
2952
2969
 
3154
3171
if test "x$enable_dependency_tracking" != xno; then
3155
3172
  am_depcomp="$ac_aux_dir/depcomp"
3156
3173
  AMDEPBACKSLASH='\'
 
3174
  am__nodep='_no'
3157
3175
fi
3158
3176
 if test "x$enable_dependency_tracking" != xno; then
3159
3177
  AMDEP_TRUE=
3967
3985
  # instance it was reported that on HP-UX the gcc test will end up
3968
3986
  # making a dummy file named `D' -- because `-MD' means `put the output
3969
3987
  # in D'.
 
3988
  rm -rf conftest.dir
3970
3989
  mkdir conftest.dir
3971
3990
  # Copy depcomp to subdir because otherwise we won't find it if we're
3972
3991
  # using a relative directory.
4026
4045
        break
4027
4046
      fi
4028
4047
      ;;
4029
 
    msvisualcpp | msvcmsys)
 
4048
    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4030
4049
      # This compiler won't grok `-c -o', but also, the minuso test has
4031
4050
      # not run yet.  These depmodes are late enough in the game, and
4032
4051
      # so weak that their functioning should not be impacted.
4770
4789
    lt_cv_sys_max_cmd_len=196608
4771
4790
    ;;
4772
4791
 
 
4792
  os2*)
 
4793
    # The test takes a long time on OS/2.
 
4794
    lt_cv_sys_max_cmd_len=8192
 
4795
    ;;
 
4796
 
4773
4797
  osf*)
4774
4798
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4775
4799
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4809
4833
      # If test is not a shell built-in, we'll probably end up computing a
4810
4834
      # maximum length that is only half of the actual maximum length, but
4811
4835
      # we can't tell.
4812
 
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
4836
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4813
4837
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4814
4838
              test $i != 17 # 1/2 MB should be enough
4815
4839
      do
5235
5259
  lt_cv_deplibs_check_method=pass_all
5236
5260
  ;;
5237
5261
 
5238
 
# This must be Linux ELF.
 
5262
# This must be glibc/ELF.
5239
5263
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5240
5264
  lt_cv_deplibs_check_method=pass_all
5241
5265
  ;;
5873
5897
if test -n "$RANLIB"; then
5874
5898
  case $host_os in
5875
5899
  openbsd*)
5876
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
 
5900
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5877
5901
    ;;
5878
5902
  *)
5879
 
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
 
5903
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5880
5904
    ;;
5881
5905
  esac
5882
 
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
 
5906
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5883
5907
fi
5884
5908
 
5885
5909
case $host_os in
6026
6050
    # which start with @ or ?.
6027
6051
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6028
6052
"     {last_section=section; section=\$ 3};"\
 
6053
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6029
6054
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6030
6055
"     \$ 0!~/External *\|/{next};"\
6031
6056
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6414
6439
    CFLAGS="$SAVE_CFLAGS"
6415
6440
  fi
6416
6441
  ;;
6417
 
sparc*-*solaris*)
 
6442
*-*solaris*)
6418
6443
  # Find out which ABI we are using.
6419
6444
  echo 'int i;' > conftest.$ac_ext
6420
6445
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6425
6450
    case `/usr/bin/file conftest.o` in
6426
6451
    *64-bit*)
6427
6452
      case $lt_cv_prog_gnu_ld in
6428
 
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
 
6453
      yes*)
 
6454
        case $host in
 
6455
        i?86-*-solaris*)
 
6456
          LD="${LD-ld} -m elf_x86_64"
 
6457
          ;;
 
6458
        sparc*-*-solaris*)
 
6459
          LD="${LD-ld} -m elf64_sparc"
 
6460
          ;;
 
6461
        esac
 
6462
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
6463
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
6464
          LD="${LD-ld}_sol2"
 
6465
        fi
 
6466
        ;;
6429
6467
      *)
6430
6468
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6431
6469
          LD="${LD-ld} -64"
7065
7103
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7066
7104
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7067
7105
        _lt_result=$?
7068
 
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 
7106
        # If there is a non-empty error log, and "single_module"
 
7107
        # appears in it, assume the flag caused a linker warning
 
7108
        if test -s conftest.err && $GREP single_module conftest.err; then
 
7109
          cat conftest.err >&5
 
7110
        # Otherwise, if the output was created with a 0 exit code from
 
7111
        # the compiler, it worked.
 
7112
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7069
7113
          lt_cv_apple_cc_single_mod=yes
7070
7114
        else
7071
7115
          cat conftest.err >&5
7076
7120
fi
7077
7121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7078
7122
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
7123
 
7079
7124
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7080
7125
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7081
7126
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7108
7153
fi
7109
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7110
7155
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
7156
 
7111
7157
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7112
7158
$as_echo_n "checking for -force_load linker flag... " >&6; }
7113
7159
if ${lt_cv_ld_force_load+:} false; then :
7129
7175
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7130
7176
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7131
7177
      _lt_result=$?
7132
 
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
7178
      if test -s conftest.err && $GREP force_load conftest.err; then
 
7179
        cat conftest.err >&5
 
7180
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7133
7181
        lt_cv_ld_force_load=yes
7134
7182
      else
7135
7183
        cat conftest.err >&5
7831
7879
 
7832
7880
# Check whether --with-pic was given.
7833
7881
if test "${with_pic+set}" = set; then :
7834
 
  withval=$with_pic; pic_mode="$withval"
 
7882
  withval=$with_pic; lt_p=${PACKAGE-default}
 
7883
    case $withval in
 
7884
    yes|no) pic_mode=$withval ;;
 
7885
    *)
 
7886
      pic_mode=default
 
7887
      # Look at the argument we got.  We use all the common list separators.
 
7888
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
7889
      for lt_pkg in $withval; do
 
7890
        IFS="$lt_save_ifs"
 
7891
        if test "X$lt_pkg" = "X$lt_p"; then
 
7892
          pic_mode=yes
 
7893
        fi
 
7894
      done
 
7895
      IFS="$lt_save_ifs"
 
7896
      ;;
 
7897
    esac
7835
7898
else
7836
7899
  pic_mode=default
7837
7900
fi
7909
7972
 
7910
7973
 
7911
7974
 
 
7975
 
 
7976
 
 
7977
 
 
7978
 
7912
7979
test -z "$LN_S" && LN_S="ln -s"
7913
7980
 
7914
7981
 
8368
8435
    case $cc_basename in
8369
8436
    nvcc*) # Cuda Compiler Driver 2.2
8370
8437
      lt_prog_compiler_wl='-Xlinker '
8371
 
      lt_prog_compiler_pic='-Xcompiler -fPIC'
 
8438
      if test -n "$lt_prog_compiler_pic"; then
 
8439
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
8440
      fi
8372
8441
      ;;
8373
8442
    esac
8374
8443
  else
8459
8528
        ;;
8460
8529
      *)
8461
8530
        case `$CC -V 2>&1 | sed 5q` in
8462
 
        *Sun\ F* | *Sun*Fortran*)
 
8531
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8463
8532
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8464
8533
          lt_prog_compiler_pic='-KPIC'
8465
8534
          lt_prog_compiler_static='-Bstatic'
8466
8535
          lt_prog_compiler_wl=''
8467
8536
          ;;
 
8537
        *Sun\ F* | *Sun*Fortran*)
 
8538
          lt_prog_compiler_pic='-KPIC'
 
8539
          lt_prog_compiler_static='-Bstatic'
 
8540
          lt_prog_compiler_wl='-Qoption ld '
 
8541
          ;;
8468
8542
        *Sun\ C*)
8469
8543
          # Sun C 5.9
8470
8544
          lt_prog_compiler_pic='-KPIC'
8471
8545
          lt_prog_compiler_static='-Bstatic'
8472
8546
          lt_prog_compiler_wl='-Wl,'
8473
8547
          ;;
 
8548
        *Intel*\ [CF]*Compiler*)
 
8549
          lt_prog_compiler_wl='-Wl,'
 
8550
          lt_prog_compiler_pic='-fPIC'
 
8551
          lt_prog_compiler_static='-static'
 
8552
          ;;
 
8553
        *Portland\ Group*)
 
8554
          lt_prog_compiler_wl='-Wl,'
 
8555
          lt_prog_compiler_pic='-fpic'
 
8556
          lt_prog_compiler_static='-Bstatic'
 
8557
          ;;
8474
8558
        esac
8475
8559
        ;;
8476
8560
      esac
8832
8916
  hardcode_direct=no
8833
8917
  hardcode_direct_absolute=no
8834
8918
  hardcode_libdir_flag_spec=
8835
 
  hardcode_libdir_flag_spec_ld=
8836
8919
  hardcode_libdir_separator=
8837
8920
  hardcode_minus_L=no
8838
8921
  hardcode_shlibpath_var=unsupported
9082
9165
        xlf* | bgf* | bgxlf* | mpixlf*)
9083
9166
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9084
9167
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9085
 
          hardcode_libdir_flag_spec=
9086
 
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
 
9168
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9087
9169
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9088
9170
          if test "x$supports_anon_versioning" = xyes; then
9089
9171
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9462
9544
        # The linker will not automatically build a static lib if we build a DLL.
9463
9545
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9464
9546
        enable_shared_with_static_runtimes=yes
 
9547
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9465
9548
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9466
9549
        # Don't use ranlib
9467
9550
        old_postinstall_cmds='chmod 644 $oldlib'
9507
9590
  hardcode_shlibpath_var=unsupported
9508
9591
  if test "$lt_cv_ld_force_load" = "yes"; then
9509
9592
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
9593
 
9510
9594
  else
9511
9595
    whole_archive_flag_spec=''
9512
9596
  fi
9535
9619
      hardcode_shlibpath_var=no
9536
9620
      ;;
9537
9621
 
9538
 
    freebsd1*)
9539
 
      ld_shlibs=no
9540
 
      ;;
9541
 
 
9542
9622
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9543
9623
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9544
9624
    # does not break anything, and helps significantly (at the cost of a little
9551
9631
      ;;
9552
9632
 
9553
9633
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9554
 
    freebsd2*)
 
9634
    freebsd2.*)
9555
9635
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9556
9636
      hardcode_direct=yes
9557
9637
      hardcode_minus_L=yes
9590
9670
      fi
9591
9671
      if test "$with_gnu_ld" = no; then
9592
9672
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9593
 
        hardcode_libdir_flag_spec_ld='+b $libdir'
9594
9673
        hardcode_libdir_separator=:
9595
9674
        hardcode_direct=yes
9596
9675
        hardcode_direct_absolute=yes
10214
10293
 
10215
10294
 
10216
10295
 
10217
 
 
10218
 
 
10219
 
 
10220
 
 
10221
 
 
10222
10296
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10223
10297
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10224
10298
 
10308
10382
 
10309
10383
case $host_os in
10310
10384
aix3*)
10311
 
  version_type=linux
 
10385
  version_type=linux # correct to gnu/linux during the next big refactor
10312
10386
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10313
10387
  shlibpath_var=LIBPATH
10314
10388
 
10317
10391
  ;;
10318
10392
 
10319
10393
aix[4-9]*)
10320
 
  version_type=linux
 
10394
  version_type=linux # correct to gnu/linux during the next big refactor
10321
10395
  need_lib_prefix=no
10322
10396
  need_version=no
10323
10397
  hardcode_into_libs=yes
10382
10456
  ;;
10383
10457
 
10384
10458
bsdi[45]*)
10385
 
  version_type=linux
 
10459
  version_type=linux # correct to gnu/linux during the next big refactor
10386
10460
  need_version=no
10387
10461
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10388
10462
  soname_spec='${libname}${release}${shared_ext}$major'
10521
10595
  ;;
10522
10596
 
10523
10597
dgux*)
10524
 
  version_type=linux
 
10598
  version_type=linux # correct to gnu/linux during the next big refactor
10525
10599
  need_lib_prefix=no
10526
10600
  need_version=no
10527
10601
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10529
10603
  shlibpath_var=LD_LIBRARY_PATH
10530
10604
  ;;
10531
10605
 
10532
 
freebsd1*)
10533
 
  dynamic_linker=no
10534
 
  ;;
10535
 
 
10536
10606
freebsd* | dragonfly*)
10537
10607
  # DragonFly does not have aout.  When/if they implement a new
10538
10608
  # versioning mechanism, adjust this.
10540
10610
    objformat=`/usr/bin/objformat`
10541
10611
  else
10542
10612
    case $host_os in
10543
 
    freebsd[123]*) objformat=aout ;;
 
10613
    freebsd[23].*) objformat=aout ;;
10544
10614
    *) objformat=elf ;;
10545
10615
    esac
10546
10616
  fi
10558
10628
  esac
10559
10629
  shlibpath_var=LD_LIBRARY_PATH
10560
10630
  case $host_os in
10561
 
  freebsd2*)
 
10631
  freebsd2.*)
10562
10632
    shlibpath_overrides_runpath=yes
10563
10633
    ;;
10564
10634
  freebsd3.[01]* | freebsdelf3.[01]*)
10578
10648
  ;;
10579
10649
 
10580
10650
gnu*)
10581
 
  version_type=linux
 
10651
  version_type=linux # correct to gnu/linux during the next big refactor
10582
10652
  need_lib_prefix=no
10583
10653
  need_version=no
10584
10654
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10585
10655
  soname_spec='${libname}${release}${shared_ext}$major'
10586
10656
  shlibpath_var=LD_LIBRARY_PATH
 
10657
  shlibpath_overrides_runpath=no
10587
10658
  hardcode_into_libs=yes
10588
10659
  ;;
10589
10660
 
10590
10661
haiku*)
10591
 
  version_type=linux
 
10662
  version_type=linux # correct to gnu/linux during the next big refactor
10592
10663
  need_lib_prefix=no
10593
10664
  need_version=no
10594
10665
  dynamic_linker="$host_os runtime_loader"
10649
10720
  ;;
10650
10721
 
10651
10722
interix[3-9]*)
10652
 
  version_type=linux
 
10723
  version_type=linux # correct to gnu/linux during the next big refactor
10653
10724
  need_lib_prefix=no
10654
10725
  need_version=no
10655
10726
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10665
10736
    nonstopux*) version_type=nonstopux ;;
10666
10737
    *)
10667
10738
        if test "$lt_cv_prog_gnu_ld" = yes; then
10668
 
                version_type=linux
 
10739
                version_type=linux # correct to gnu/linux during the next big refactor
10669
10740
        else
10670
10741
                version_type=irix
10671
10742
        fi ;;
10702
10773
  dynamic_linker=no
10703
10774
  ;;
10704
10775
 
10705
 
# This must be Linux ELF.
 
10776
# This must be glibc/ELF.
10706
10777
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10707
 
  version_type=linux
 
10778
  version_type=linux # correct to gnu/linux during the next big refactor
10708
10779
  need_lib_prefix=no
10709
10780
  need_version=no
10710
10781
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790
10861
  ;;
10791
10862
 
10792
10863
newsos6)
10793
 
  version_type=linux
 
10864
  version_type=linux # correct to gnu/linux during the next big refactor
10794
10865
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10795
10866
  shlibpath_var=LD_LIBRARY_PATH
10796
10867
  shlibpath_overrides_runpath=yes
10859
10930
  ;;
10860
10931
 
10861
10932
solaris*)
10862
 
  version_type=linux
 
10933
  version_type=linux # correct to gnu/linux during the next big refactor
10863
10934
  need_lib_prefix=no
10864
10935
  need_version=no
10865
10936
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884
10955
  ;;
10885
10956
 
10886
10957
sysv4 | sysv4.3*)
10887
 
  version_type=linux
 
10958
  version_type=linux # correct to gnu/linux during the next big refactor
10888
10959
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10889
10960
  soname_spec='${libname}${release}${shared_ext}$major'
10890
10961
  shlibpath_var=LD_LIBRARY_PATH
10908
10979
 
10909
10980
sysv4*MP*)
10910
10981
  if test -d /usr/nec ;then
10911
 
    version_type=linux
 
10982
    version_type=linux # correct to gnu/linux during the next big refactor
10912
10983
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10913
10984
    soname_spec='$libname${shared_ext}.$major'
10914
10985
    shlibpath_var=LD_LIBRARY_PATH
10939
11010
 
10940
11011
tpf*)
10941
11012
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10942
 
  version_type=linux
 
11013
  version_type=linux # correct to gnu/linux during the next big refactor
10943
11014
  need_lib_prefix=no
10944
11015
  need_version=no
10945
11016
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10949
11020
  ;;
10950
11021
 
10951
11022
uts4*)
10952
 
  version_type=linux
 
11023
  version_type=linux # correct to gnu/linux during the next big refactor
10953
11024
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954
11025
  soname_spec='${libname}${release}${shared_ext}$major'
10955
11026
  shlibpath_var=LD_LIBRARY_PATH
11731
11802
 
11732
11803
 
11733
11804
 
 
11805
 
 
11806
 
11734
11807
        ac_config_commands="$ac_config_commands libtool"
11735
11808
 
11736
11809
 
11770
11843
 
11771
11844
        DISABLE_DEPRECATED=""
11772
11845
        if test $USE_MAINTAINER_MODE = yes; then
11773
 
                DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
 
11846
                DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
11774
11847
                for DOMAIN in $DOMAINS; do
11775
11848
                       DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
11776
11849
                done
11779
11852
 
11780
11853
 
11781
11854
 
11782
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
11783
 
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
 
11855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
 
11856
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11784
11857
    # Check whether --enable-maintainer-mode was given.
11785
11858
if test "${enable_maintainer_mode+set}" = set; then :
11786
11859
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11813
11886
no)  AM_DEFAULT_VERBOSITY=1;;
11814
11887
*)   AM_DEFAULT_VERBOSITY=0;;
11815
11888
esac
 
11889
am_make=${MAKE-make}
 
11890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
 
11891
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
 
11892
if ${am_cv_make_support_nested_variables+:} false; then :
 
11893
  $as_echo_n "(cached) " >&6
 
11894
else
 
11895
  if $as_echo 'TRUE=$(BAR$(V))
 
11896
BAR0=false
 
11897
BAR1=true
 
11898
V=1
 
11899
am__doit:
 
11900
        @$(TRUE)
 
11901
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
 
11902
  am_cv_make_support_nested_variables=yes
 
11903
else
 
11904
  am_cv_make_support_nested_variables=no
 
11905
fi
 
11906
fi
 
11907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
 
11908
$as_echo "$am_cv_make_support_nested_variables" >&6; }
 
11909
if test $am_cv_make_support_nested_variables = yes; then
 
11910
    AM_V='$(V)'
 
11911
  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
 
11912
else
 
11913
  AM_V=$AM_DEFAULT_VERBOSITY
 
11914
  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
 
11915
fi
11816
11916
AM_BACKSLASH='\'
11817
11917
 
11818
11918
 
12310
12410
    ;;
12311
12411
esac
12312
12412
 
 
12413
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
 
12414
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
 
12415
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12313
12416
if test -n "0.40.0"; then
12314
12417
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12315
12418
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12316
 
 
12317
 
    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12318
 
    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12319
 
    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12320
 
 
12321
12419
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12322
12420
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12323
12421
    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12448
12546
    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12449
12547
fi
12450
12548
 
12451
 
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12452
 
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12453
 
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12454
 
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12455
 
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
12456
 
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12457
 
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12458
 
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12459
 
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12460
 
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12461
 
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12462
 
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
12463
 
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12464
 
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12465
 
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12466
 
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12467
 
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12468
 
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12469
 
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12549
if test -z "$AM_DEFAULT_VERBOSITY"; then
 
12550
  AM_DEFAULT_VERBOSITY=1
 
12551
fi
 
12552
 
 
12553
 
 
12554
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
 
12555
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
 
12556
INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
 
12557
 
 
12558
 
 
12559
 
 
12560
 
 
12561
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
 
12562
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
 
12563
intltool__v_merge_options_0='-q'
 
12564
 
 
12565
 
 
12566
 
 
12567
 
 
12568
  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12569
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12570
     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12571
     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12572
      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
 
12573
     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12574
   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12575
    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12576
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12577
       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12578
      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12579
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
 
12580
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
 
12581
else
 
12582
      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
 
12583
fi
 
12584
      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12585
      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12586
    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12587
  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12588
    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12589
    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
 
12590
   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12470
12591
 
12471
12592
 
12472
12593
 
12785
12906
if test $? -ne 0; then
12786
12907
   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12787
12908
else
12788
 
   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
 
12909
   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12789
12910
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12790
12911
$as_echo "$IT_PERL_VERSION" >&6; }
12791
12912
fi
13640
13761
 
13641
13762
 
13642
13763
 
13643
 
    # Check whether --enable-compile-warnings was given.
13644
 
if test "${enable_compile_warnings+set}" = set; then :
13645
 
  enableval=$enable_compile_warnings;
13646
 
else
13647
 
  enable_compile_warnings="maximum"
13648
 
fi
13649
 
 
13650
 
 
13651
 
    warnCFLAGS=
13652
 
 
13653
 
    common_flags="-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables"
13654
 
 
13655
 
    case "$enable_compile_warnings" in
13656
 
    no)
13657
 
        try_compiler_flags=""
13658
 
        ;;
13659
 
    minimum)
13660
 
        try_compiler_flags="-Wall -Wformat -Wformat-security $common_flags"
13661
 
        ;;
13662
 
    yes)
13663
 
        try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes $common_flags"
13664
 
        ;;
13665
 
    maximum|error)
13666
 
        try_compiler_flags="-Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
13667
 
        try_compiler_flags="$try_compiler_flags -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return"
13668
 
                                try_compiler_flags="$try_compiler_flags -Winline -Wredundant-decls -Wno-sign-compare"
13669
 
        try_compiler_flags="$try_compiler_flags $common_flags"
13670
 
        if test "$enable_compile_warnings" = "error" ; then
13671
 
            try_compiler_flags="$try_compiler_flags -Werror"
13672
 
        fi
13673
 
        ;;
13674
 
    *)
13675
 
        as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
13676
 
        ;;
 
13764
    # Check whether --enable-werror was given.
 
13765
if test "${enable_werror+set}" = set; then :
 
13766
  enableval=$enable_werror; set_werror="$enableval"
 
13767
else
 
13768
  if test -d $srcdir/.git; then
 
13769
                     is_git_version=true
 
13770
                     set_werror=yes
 
13771
                   else
 
13772
                     set_werror=no
 
13773
                   fi
 
13774
fi
 
13775
 
 
13776
 
 
13777
    # List of warnings that are not relevant / wanted
 
13778
 
 
13779
    # Don't care about C++ compiler compat
 
13780
    dontwarn="$dontwarn -Wc++-compat"
 
13781
    dontwarn="$dontwarn -Wabi"
 
13782
    dontwarn="$dontwarn -Wdeprecated"
 
13783
    # Don't care about ancient C standard compat
 
13784
    dontwarn="$dontwarn -Wtraditional"
 
13785
    # Don't care about ancient C standard compat
 
13786
    dontwarn="$dontwarn -Wtraditional-conversion"
 
13787
    # Ignore warnings in /usr/include
 
13788
    dontwarn="$dontwarn -Wsystem-headers"
 
13789
    # Happy for compiler to add struct padding
 
13790
    dontwarn="$dontwarn -Wpadded"
 
13791
    # GCC very confused with -O2
 
13792
    dontwarn="$dontwarn -Wunreachable-code"
 
13793
    # Due to d3des violations
 
13794
    dontwarn="$dontwarn -Wstrict-overflow"
 
13795
    # Allow vars decl in the middle of blocks
 
13796
    dontwarn="$dontwarn -Wdeclaration-after-statement"
 
13797
    # Using long long is fine
 
13798
    dontwarn="$dontwarn -Wlong-long"
 
13799
    # Some code issues
 
13800
    dontwarn="$dontwarn -Wunsafe-loop-optimizations"
 
13801
    # Flaw in gtkitemfactory.h
 
13802
    dontwarn="$dontwarn -Wstrict-prototypes"
 
13803
    # Generated vncmarshal.c file :-(
 
13804
    dontwarn="$dontwarn -Wunused-macros"
 
13805
 
 
13806
    # Get all possible GCC warnings
 
13807
 
 
13808
 
 
13809
  if test -n "$GCC"; then
 
13810
 
 
13811
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is supported" >&5
 
13812
$as_echo_n "checking whether -Wno-missing-field-initializers is supported... " >&6; }
 
13813
    if ${gl_cv_cc_nomfi_supported+:} false; then :
 
13814
  $as_echo_n "(cached) " >&6
 
13815
else
 
13816
 
 
13817
      gl_save_CFLAGS="$CFLAGS"
 
13818
      CFLAGS="$CFLAGS -W -Werror -Wno-missing-field-initializers"
 
13819
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13820
/* end confdefs.h.  */
 
13821
 
 
13822
int
 
13823
main ()
 
13824
{
 
13825
 
 
13826
  ;
 
13827
  return 0;
 
13828
}
 
13829
_ACEOF
 
13830
if ac_fn_c_try_compile "$LINENO"; then :
 
13831
  gl_cv_cc_nomfi_supported=yes
 
13832
else
 
13833
  gl_cv_cc_nomfi_supported=no
 
13834
fi
 
13835
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13836
      CFLAGS="$gl_save_CFLAGS"
 
13837
fi
 
13838
 
 
13839
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_supported" >&5
 
13840
$as_echo "$gl_cv_cc_nomfi_supported" >&6; }
 
13841
 
 
13842
    if test "$gl_cv_cc_nomfi_supported" = yes; then
 
13843
                  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -Wno-missing-field-initializers is needed" >&5
 
13844
$as_echo_n "checking whether -Wno-missing-field-initializers is needed... " >&6; }
 
13845
      if ${gl_cv_cc_nomfi_needed+:} false; then :
 
13846
  $as_echo_n "(cached) " >&6
 
13847
else
 
13848
 
 
13849
        gl_save_CFLAGS="$CFLAGS"
 
13850
        CFLAGS="$CFLAGS -W -Werror"
 
13851
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13852
/* end confdefs.h.  */
 
13853
void f (void)
 
13854
               {
 
13855
                 typedef struct { int a; int b; } s_t;
 
13856
                 s_t s1 = { 0, };
 
13857
               }
 
13858
 
 
13859
int
 
13860
main ()
 
13861
{
 
13862
 
 
13863
  ;
 
13864
  return 0;
 
13865
}
 
13866
_ACEOF
 
13867
if ac_fn_c_try_compile "$LINENO"; then :
 
13868
  gl_cv_cc_nomfi_needed=no
 
13869
else
 
13870
  gl_cv_cc_nomfi_needed=yes
 
13871
fi
 
13872
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
13873
        CFLAGS="$gl_save_CFLAGS"
 
13874
 
 
13875
fi
 
13876
 
 
13877
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_nomfi_needed" >&5
 
13878
$as_echo "$gl_cv_cc_nomfi_needed" >&6; }
 
13879
    fi
 
13880
  fi
 
13881
 
 
13882
  gl_manywarn_set=
 
13883
  for gl_manywarn_item in \
 
13884
    -Wall \
 
13885
    -W \
 
13886
    -Wformat-y2k \
 
13887
    -Wformat-nonliteral \
 
13888
    -Wformat-security \
 
13889
    -Winit-self \
 
13890
    -Wmissing-include-dirs \
 
13891
    -Wswitch-default \
 
13892
    -Wswitch-enum \
 
13893
    -Wunused \
 
13894
    -Wunknown-pragmas \
 
13895
    -Wstrict-aliasing \
 
13896
    -Wstrict-overflow \
 
13897
    -Wsystem-headers \
 
13898
    -Wfloat-equal \
 
13899
    -Wtraditional \
 
13900
    -Wtraditional-conversion \
 
13901
    -Wdeclaration-after-statement \
 
13902
    -Wundef \
 
13903
    -Wshadow \
 
13904
    -Wunsafe-loop-optimizations \
 
13905
    -Wpointer-arith \
 
13906
    -Wbad-function-cast \
 
13907
    -Wc++-compat \
 
13908
    -Wcast-qual \
 
13909
    -Wcast-align \
 
13910
    -Wwrite-strings \
 
13911
    -Wconversion \
 
13912
    -Wsign-conversion \
 
13913
    -Wlogical-op \
 
13914
    -Waggregate-return \
 
13915
    -Wstrict-prototypes \
 
13916
    -Wold-style-definition \
 
13917
    -Wmissing-prototypes \
 
13918
    -Wmissing-declarations \
 
13919
    -Wmissing-noreturn \
 
13920
    -Wmissing-format-attribute \
 
13921
    -Wpacked \
 
13922
    -Wpadded \
 
13923
    -Wredundant-decls \
 
13924
    -Wnested-externs \
 
13925
    -Wunreachable-code \
 
13926
    -Winline \
 
13927
    -Winvalid-pch \
 
13928
    -Wlong-long \
 
13929
    -Wvla \
 
13930
    -Wvolatile-register-var \
 
13931
    -Wdisabled-optimization \
 
13932
    -Wstack-protector \
 
13933
    -Woverlength-strings \
 
13934
    -Wbuiltin-macro-redefined \
 
13935
    -Wmudflap \
 
13936
    -Wpacked-bitfield-compat \
 
13937
    -Wsync-nand \
 
13938
    ; do
 
13939
    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
 
13940
  done
 
13941
  # The following are not documented in the manual but are included in
 
13942
  # output from gcc --help=warnings.
 
13943
  for gl_manywarn_item in \
 
13944
    -Wattributes \
 
13945
    -Wcoverage-mismatch \
 
13946
    -Wmultichar \
 
13947
    -Wunused-macros \
 
13948
    ; do
 
13949
    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
 
13950
  done
 
13951
  # More warnings from gcc 4.6.2 --help=warnings.
 
13952
  for gl_manywarn_item in \
 
13953
    -Wabi \
 
13954
    -Wcpp \
 
13955
    -Wdeprecated \
 
13956
    -Wdeprecated-declarations \
 
13957
    -Wdiv-by-zero \
 
13958
    -Wdouble-promotion \
 
13959
    -Wendif-labels \
 
13960
    -Wextra \
 
13961
    -Wformat-contains-nul \
 
13962
    -Wformat-extra-args \
 
13963
    -Wformat-zero-length \
 
13964
    -Wformat=2 \
 
13965
    -Wmultichar \
 
13966
    -Wnormalized=nfc \
 
13967
    -Woverflow \
 
13968
    -Wpointer-to-int-cast \
 
13969
    -Wpragmas \
 
13970
    -Wsuggest-attribute=const \
 
13971
    -Wsuggest-attribute=noreturn \
 
13972
    -Wsuggest-attribute=pure \
 
13973
    -Wtrampolines \
 
13974
    ; do
 
13975
    gl_manywarn_set="$gl_manywarn_set $gl_manywarn_item"
 
13976
  done
 
13977
 
 
13978
  # Disable the missing-field-initializers warning if needed
 
13979
  if test "$gl_cv_cc_nomfi_needed" = yes; then
 
13980
    gl_manywarn_set="$gl_manywarn_set -Wno-missing-field-initializers"
 
13981
  fi
 
13982
 
 
13983
  maybewarn=$gl_manywarn_set
 
13984
 
 
13985
 
 
13986
    # Remove the ones we don't want, blacklisted earlier
 
13987
 
 
13988
  gl_warn_set=
 
13989
  set x $maybewarn; shift
 
13990
  for gl_warn_item
 
13991
  do
 
13992
    case " $dontwarn " in
 
13993
      *" $gl_warn_item "*)
 
13994
        ;;
 
13995
      *)
 
13996
        gl_warn_set="$gl_warn_set $gl_warn_item"
 
13997
        ;;
13677
13998
    esac
13678
 
 
13679
 
    COMPILER_FLAGS=
13680
 
    for option in $try_compiler_flags; do
13681
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts $option" >&5
13682
 
$as_echo_n "checking whether compiler accepts $option... " >&6; }
13683
 
 
13684
 
   ac_save_CFLAGS="$CFLAGS"
13685
 
               if test "$option" = "-Werror" ; then
13686
 
     CFLAGS="$CFLAGS $option"
13687
 
   else
13688
 
     CFLAGS="$CFLAGS $COMPILER_FLAGS $option"
13689
 
   fi
13690
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13999
  done
 
14000
  wantwarn=$gl_warn_set
 
14001
 
 
14002
 
 
14003
    # Check for $CC support of each warning
 
14004
    for w in $wantwarn; do
 
14005
      as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh`
 
14006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5
 
14007
$as_echo_n "checking whether compiler handles $w... " >&6; }
 
14008
if eval \${$as_gl_Warn+:} false; then :
 
14009
  $as_echo_n "(cached) " >&6
 
14010
else
 
14011
 
 
14012
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14013
  CPPFLAGS="${CPPFLAGS} $w"
 
14014
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691
14015
/* end confdefs.h.  */
13692
14016
 
13693
14017
int
13698
14022
  return 0;
13699
14023
}
13700
14024
_ACEOF
13701
 
if ac_fn_c_try_link "$LINENO"; then :
13702
 
  has_option=yes
 
14025
if ac_fn_c_try_cpp "$LINENO"; then :
 
14026
  eval "$as_gl_Warn=yes"
13703
14027
else
13704
 
  has_option=no
13705
 
fi
13706
 
rm -f core conftest.err conftest.$ac_objext \
13707
 
    conftest$ac_exeext conftest.$ac_ext
13708
 
   echo 'int x;' >conftest.c
13709
 
   $CC $CFLAGS -c conftest.c 2>conftest.err
13710
 
   ret=$?
13711
 
   if test $ret != 0 || test -s conftest.err || test $has_option = "no"; then
13712
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13713
 
$as_echo "no" >&6; }
13714
 
   else
13715
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13716
 
$as_echo "yes" >&6; }
13717
 
       COMPILER_FLAGS="$COMPILER_FLAGS $option"
13718
 
   fi
13719
 
   CFLAGS="$ac_save_CFLAGS"
13720
 
   rm -f conftest*
 
14028
  eval "$as_gl_Warn=no"
 
14029
fi
 
14030
rm -f conftest.err conftest.i conftest.$ac_ext
 
14031
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14032
 
 
14033
fi
 
14034
eval ac_res=\$$as_gl_Warn
 
14035
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14036
$as_echo "$ac_res" >&6; }
 
14037
if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
 
14038
  as_fn_append WARN_CFLAGS " $w"
 
14039
fi
13721
14040
 
13722
14041
    done
13723
 
    unset option
13724
 
    unset try_compiler_flags
13725
 
 
13726
 
    # Check whether --enable-iso-c was given.
13727
 
if test "${enable_iso_c+set}" = set; then :
13728
 
  enableval=$enable_iso_c;
13729
 
else
13730
 
  enable_iso_c=no
13731
 
fi
13732
 
 
13733
 
 
13734
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
13735
 
$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
13736
 
    complCFLAGS=
13737
 
    if test "x$enable_iso_c" != "xno"; then
13738
 
        if test "x$GCC" = "xyes"; then
13739
 
        case " $CFLAGS " in
13740
 
            *\ \        -ansi\ \        *) ;;
13741
 
            *) complCFLAGS="$complCFLAGS -ansi" ;;
13742
 
        esac
13743
 
        case " $CFLAGS " in
13744
 
            *\ \        -pedantic\ \    *) ;;
13745
 
            *) complCFLAGS="$complCFLAGS -pedantic" ;;
13746
 
        esac
13747
 
        fi
 
14042
 
 
14043
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-sign-conversion" >&5
 
14044
$as_echo_n "checking whether compiler handles -Wno-sign-conversion... " >&6; }
 
14045
if ${gl_cv_warn__Wno_sign_conversion+:} false; then :
 
14046
  $as_echo_n "(cached) " >&6
 
14047
else
 
14048
 
 
14049
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14050
  CPPFLAGS="${CPPFLAGS} -Wno-sign-conversion"
 
14051
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14052
/* end confdefs.h.  */
 
14053
 
 
14054
int
 
14055
main ()
 
14056
{
 
14057
 
 
14058
  ;
 
14059
  return 0;
 
14060
}
 
14061
_ACEOF
 
14062
if ac_fn_c_try_cpp "$LINENO"; then :
 
14063
  gl_cv_warn__Wno_sign_conversion=yes
 
14064
else
 
14065
  gl_cv_warn__Wno_sign_conversion=no
 
14066
fi
 
14067
rm -f conftest.err conftest.i conftest.$ac_ext
 
14068
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14069
 
 
14070
fi
 
14071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_sign_conversion" >&5
 
14072
$as_echo "$gl_cv_warn__Wno_sign_conversion" >&6; }
 
14073
if test "x$gl_cv_warn__Wno_sign_conversion" = xyes; then :
 
14074
  as_fn_append WARN_CFLAGS " -Wno-sign-conversion"
 
14075
fi
 
14076
 
 
14077
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-conversion" >&5
 
14078
$as_echo_n "checking whether compiler handles -Wno-conversion... " >&6; }
 
14079
if ${gl_cv_warn__Wno_conversion+:} false; then :
 
14080
  $as_echo_n "(cached) " >&6
 
14081
else
 
14082
 
 
14083
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14084
  CPPFLAGS="${CPPFLAGS} -Wno-conversion"
 
14085
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14086
/* end confdefs.h.  */
 
14087
 
 
14088
int
 
14089
main ()
 
14090
{
 
14091
 
 
14092
  ;
 
14093
  return 0;
 
14094
}
 
14095
_ACEOF
 
14096
if ac_fn_c_try_cpp "$LINENO"; then :
 
14097
  gl_cv_warn__Wno_conversion=yes
 
14098
else
 
14099
  gl_cv_warn__Wno_conversion=no
 
14100
fi
 
14101
rm -f conftest.err conftest.i conftest.$ac_ext
 
14102
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14103
 
 
14104
fi
 
14105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_conversion" >&5
 
14106
$as_echo "$gl_cv_warn__Wno_conversion" >&6; }
 
14107
if test "x$gl_cv_warn__Wno_conversion" = xyes; then :
 
14108
  as_fn_append WARN_CFLAGS " -Wno-conversion"
 
14109
fi
 
14110
 
 
14111
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-sign-compare" >&5
 
14112
$as_echo_n "checking whether compiler handles -Wno-sign-compare... " >&6; }
 
14113
if ${gl_cv_warn__Wno_sign_compare+:} false; then :
 
14114
  $as_echo_n "(cached) " >&6
 
14115
else
 
14116
 
 
14117
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14118
  CPPFLAGS="${CPPFLAGS} -Wno-sign-compare"
 
14119
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14120
/* end confdefs.h.  */
 
14121
 
 
14122
int
 
14123
main ()
 
14124
{
 
14125
 
 
14126
  ;
 
14127
  return 0;
 
14128
}
 
14129
_ACEOF
 
14130
if ac_fn_c_try_cpp "$LINENO"; then :
 
14131
  gl_cv_warn__Wno_sign_compare=yes
 
14132
else
 
14133
  gl_cv_warn__Wno_sign_compare=no
 
14134
fi
 
14135
rm -f conftest.err conftest.i conftest.$ac_ext
 
14136
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14137
 
 
14138
fi
 
14139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_sign_compare" >&5
 
14140
$as_echo "$gl_cv_warn__Wno_sign_compare" >&6; }
 
14141
if test "x$gl_cv_warn__Wno_sign_compare" = xyes; then :
 
14142
  as_fn_append WARN_CFLAGS " -Wno-sign-compare"
 
14143
fi
 
14144
 
 
14145
 
 
14146
    # GNULIB expects this to be part of -Wc++-compat, but we turn
 
14147
    # that one off, so we need to manually enable this again
 
14148
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wjump-misses-init" >&5
 
14149
$as_echo_n "checking whether compiler handles -Wjump-misses-init... " >&6; }
 
14150
if ${gl_cv_warn__Wjump_misses_init+:} false; then :
 
14151
  $as_echo_n "(cached) " >&6
 
14152
else
 
14153
 
 
14154
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14155
  CPPFLAGS="${CPPFLAGS} -Wjump-misses-init"
 
14156
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14157
/* end confdefs.h.  */
 
14158
 
 
14159
int
 
14160
main ()
 
14161
{
 
14162
 
 
14163
  ;
 
14164
  return 0;
 
14165
}
 
14166
_ACEOF
 
14167
if ac_fn_c_try_cpp "$LINENO"; then :
 
14168
  gl_cv_warn__Wjump_misses_init=yes
 
14169
else
 
14170
  gl_cv_warn__Wjump_misses_init=no
 
14171
fi
 
14172
rm -f conftest.err conftest.i conftest.$ac_ext
 
14173
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14174
 
 
14175
fi
 
14176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wjump_misses_init" >&5
 
14177
$as_echo "$gl_cv_warn__Wjump_misses_init" >&6; }
 
14178
if test "x$gl_cv_warn__Wjump_misses_init" = xyes; then :
 
14179
  as_fn_append WARN_CFLAGS " -Wjump-misses-init"
 
14180
fi
 
14181
 
 
14182
 
 
14183
    # This should be < 256 really. Currently we're down to 4096,
 
14184
    # but using 1024 bytes sized buffers (mostly for virStrerror)
 
14185
    # stops us from going down further
 
14186
    as_gl_Warn=`$as_echo "gl_cv_warn_-Wframe-larger-than=4096" | $as_tr_sh`
 
14187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wframe-larger-than=4096" >&5
 
14188
$as_echo_n "checking whether compiler handles -Wframe-larger-than=4096... " >&6; }
 
14189
if eval \${$as_gl_Warn+:} false; then :
 
14190
  $as_echo_n "(cached) " >&6
 
14191
else
 
14192
 
 
14193
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14194
  CPPFLAGS="${CPPFLAGS} -Wframe-larger-than=4096"
 
14195
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14196
/* end confdefs.h.  */
 
14197
 
 
14198
int
 
14199
main ()
 
14200
{
 
14201
 
 
14202
  ;
 
14203
  return 0;
 
14204
}
 
14205
_ACEOF
 
14206
if ac_fn_c_try_cpp "$LINENO"; then :
 
14207
  eval "$as_gl_Warn=yes"
 
14208
else
 
14209
  eval "$as_gl_Warn=no"
 
14210
fi
 
14211
rm -f conftest.err conftest.i conftest.$ac_ext
 
14212
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14213
 
 
14214
fi
 
14215
eval ac_res=\$$as_gl_Warn
 
14216
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14217
$as_echo "$ac_res" >&6; }
 
14218
if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
 
14219
  as_fn_append WARN_CFLAGS " -Wframe-larger-than=4096"
 
14220
fi
 
14221
 
 
14222
 
 
14223
    # Use improved glibc headers
 
14224
 
 
14225
 
 
14226
    # Extra special flags
 
14227
            case $host in
 
14228
       *-*-linux*)
 
14229
                            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fstack-protector-all" >&5
 
14230
$as_echo_n "checking whether compiler handles -fstack-protector-all... " >&6; }
 
14231
if ${gl_cv_warn__fstack_protector_all+:} false; then :
 
14232
  $as_echo_n "(cached) " >&6
 
14233
else
 
14234
 
 
14235
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14236
  CPPFLAGS="${CPPFLAGS} -fstack-protector-all"
 
14237
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14238
/* end confdefs.h.  */
 
14239
 
 
14240
int
 
14241
main ()
 
14242
{
 
14243
 
 
14244
  ;
 
14245
  return 0;
 
14246
}
 
14247
_ACEOF
 
14248
if ac_fn_c_try_cpp "$LINENO"; then :
 
14249
  gl_cv_warn__fstack_protector_all=yes
 
14250
else
 
14251
  gl_cv_warn__fstack_protector_all=no
 
14252
fi
 
14253
rm -f conftest.err conftest.i conftest.$ac_ext
 
14254
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14255
 
 
14256
fi
 
14257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fstack_protector_all" >&5
 
14258
$as_echo "$gl_cv_warn__fstack_protector_all" >&6; }
 
14259
if test "x$gl_cv_warn__fstack_protector_all" = xyes; then :
 
14260
  as_fn_append WARN_CFLAGS " -fstack-protector-all"
 
14261
fi
 
14262
 
 
14263
       as_gl_Warn=`$as_echo "gl_cv_warn_--param=ssp-buffer-size=4" | $as_tr_sh`
 
14264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles --param=ssp-buffer-size=4" >&5
 
14265
$as_echo_n "checking whether compiler handles --param=ssp-buffer-size=4... " >&6; }
 
14266
if eval \${$as_gl_Warn+:} false; then :
 
14267
  $as_echo_n "(cached) " >&6
 
14268
else
 
14269
 
 
14270
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14271
  CPPFLAGS="${CPPFLAGS} --param=ssp-buffer-size=4"
 
14272
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14273
/* end confdefs.h.  */
 
14274
 
 
14275
int
 
14276
main ()
 
14277
{
 
14278
 
 
14279
  ;
 
14280
  return 0;
 
14281
}
 
14282
_ACEOF
 
14283
if ac_fn_c_try_cpp "$LINENO"; then :
 
14284
  eval "$as_gl_Warn=yes"
 
14285
else
 
14286
  eval "$as_gl_Warn=no"
 
14287
fi
 
14288
rm -f conftest.err conftest.i conftest.$ac_ext
 
14289
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14290
 
 
14291
fi
 
14292
eval ac_res=\$$as_gl_Warn
 
14293
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14294
$as_echo "$ac_res" >&6; }
 
14295
if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
 
14296
  as_fn_append WARN_CFLAGS " --param=ssp-buffer-size=4"
 
14297
fi
 
14298
 
 
14299
       ;;
 
14300
    esac
 
14301
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fexceptions" >&5
 
14302
$as_echo_n "checking whether compiler handles -fexceptions... " >&6; }
 
14303
if ${gl_cv_warn__fexceptions+:} false; then :
 
14304
  $as_echo_n "(cached) " >&6
 
14305
else
 
14306
 
 
14307
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14308
  CPPFLAGS="${CPPFLAGS} -fexceptions"
 
14309
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14310
/* end confdefs.h.  */
 
14311
 
 
14312
int
 
14313
main ()
 
14314
{
 
14315
 
 
14316
  ;
 
14317
  return 0;
 
14318
}
 
14319
_ACEOF
 
14320
if ac_fn_c_try_cpp "$LINENO"; then :
 
14321
  gl_cv_warn__fexceptions=yes
 
14322
else
 
14323
  gl_cv_warn__fexceptions=no
 
14324
fi
 
14325
rm -f conftest.err conftest.i conftest.$ac_ext
 
14326
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14327
 
 
14328
fi
 
14329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fexceptions" >&5
 
14330
$as_echo "$gl_cv_warn__fexceptions" >&6; }
 
14331
if test "x$gl_cv_warn__fexceptions" = xyes; then :
 
14332
  as_fn_append WARN_CFLAGS " -fexceptions"
 
14333
fi
 
14334
 
 
14335
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fasynchronous-unwind-tables" >&5
 
14336
$as_echo_n "checking whether compiler handles -fasynchronous-unwind-tables... " >&6; }
 
14337
if ${gl_cv_warn__fasynchronous_unwind_tables+:} false; then :
 
14338
  $as_echo_n "(cached) " >&6
 
14339
else
 
14340
 
 
14341
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14342
  CPPFLAGS="${CPPFLAGS} -fasynchronous-unwind-tables"
 
14343
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14344
/* end confdefs.h.  */
 
14345
 
 
14346
int
 
14347
main ()
 
14348
{
 
14349
 
 
14350
  ;
 
14351
  return 0;
 
14352
}
 
14353
_ACEOF
 
14354
if ac_fn_c_try_cpp "$LINENO"; then :
 
14355
  gl_cv_warn__fasynchronous_unwind_tables=yes
 
14356
else
 
14357
  gl_cv_warn__fasynchronous_unwind_tables=no
 
14358
fi
 
14359
rm -f conftest.err conftest.i conftest.$ac_ext
 
14360
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14361
 
 
14362
fi
 
14363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fasynchronous_unwind_tables" >&5
 
14364
$as_echo "$gl_cv_warn__fasynchronous_unwind_tables" >&6; }
 
14365
if test "x$gl_cv_warn__fasynchronous_unwind_tables" = xyes; then :
 
14366
  as_fn_append WARN_CFLAGS " -fasynchronous-unwind-tables"
 
14367
fi
 
14368
 
 
14369
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5
 
14370
$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; }
 
14371
if ${gl_cv_warn__fdiagnostics_show_option+:} false; then :
 
14372
  $as_echo_n "(cached) " >&6
 
14373
else
 
14374
 
 
14375
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14376
  CPPFLAGS="${CPPFLAGS} -fdiagnostics-show-option"
 
14377
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14378
/* end confdefs.h.  */
 
14379
 
 
14380
int
 
14381
main ()
 
14382
{
 
14383
 
 
14384
  ;
 
14385
  return 0;
 
14386
}
 
14387
_ACEOF
 
14388
if ac_fn_c_try_cpp "$LINENO"; then :
 
14389
  gl_cv_warn__fdiagnostics_show_option=yes
 
14390
else
 
14391
  gl_cv_warn__fdiagnostics_show_option=no
 
14392
fi
 
14393
rm -f conftest.err conftest.i conftest.$ac_ext
 
14394
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14395
 
 
14396
fi
 
14397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5
 
14398
$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; }
 
14399
if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then :
 
14400
  as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
 
14401
fi
 
14402
 
 
14403
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -funit-at-a-time" >&5
 
14404
$as_echo_n "checking whether compiler handles -funit-at-a-time... " >&6; }
 
14405
if ${gl_cv_warn__funit_at_a_time+:} false; then :
 
14406
  $as_echo_n "(cached) " >&6
 
14407
else
 
14408
 
 
14409
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14410
  CPPFLAGS="${CPPFLAGS} -funit-at-a-time"
 
14411
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14412
/* end confdefs.h.  */
 
14413
 
 
14414
int
 
14415
main ()
 
14416
{
 
14417
 
 
14418
  ;
 
14419
  return 0;
 
14420
}
 
14421
_ACEOF
 
14422
if ac_fn_c_try_cpp "$LINENO"; then :
 
14423
  gl_cv_warn__funit_at_a_time=yes
 
14424
else
 
14425
  gl_cv_warn__funit_at_a_time=no
 
14426
fi
 
14427
rm -f conftest.err conftest.i conftest.$ac_ext
 
14428
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14429
 
 
14430
fi
 
14431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__funit_at_a_time" >&5
 
14432
$as_echo "$gl_cv_warn__funit_at_a_time" >&6; }
 
14433
if test "x$gl_cv_warn__funit_at_a_time" = xyes; then :
 
14434
  as_fn_append WARN_CFLAGS " -funit-at-a-time"
 
14435
fi
 
14436
 
 
14437
 
 
14438
    # Need -fipa-pure-const in order to make -Wsuggest-attribute=pure
 
14439
    # fire even without -O.
 
14440
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fipa-pure-const" >&5
 
14441
$as_echo_n "checking whether compiler handles -fipa-pure-const... " >&6; }
 
14442
if ${gl_cv_warn__fipa_pure_const+:} false; then :
 
14443
  $as_echo_n "(cached) " >&6
 
14444
else
 
14445
 
 
14446
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14447
  CPPFLAGS="${CPPFLAGS} -fipa-pure-const"
 
14448
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14449
/* end confdefs.h.  */
 
14450
 
 
14451
int
 
14452
main ()
 
14453
{
 
14454
 
 
14455
  ;
 
14456
  return 0;
 
14457
}
 
14458
_ACEOF
 
14459
if ac_fn_c_try_cpp "$LINENO"; then :
 
14460
  gl_cv_warn__fipa_pure_const=yes
 
14461
else
 
14462
  gl_cv_warn__fipa_pure_const=no
 
14463
fi
 
14464
rm -f conftest.err conftest.i conftest.$ac_ext
 
14465
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14466
 
 
14467
fi
 
14468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fipa_pure_const" >&5
 
14469
$as_echo "$gl_cv_warn__fipa_pure_const" >&6; }
 
14470
if test "x$gl_cv_warn__fipa_pure_const" = xyes; then :
 
14471
  as_fn_append WARN_CFLAGS " -fipa-pure-const"
 
14472
fi
 
14473
 
 
14474
 
 
14475
    # We should eventually enable this, but right now there are at
 
14476
    # least 75 functions triggering warnings.
 
14477
    as_gl_Warn=`$as_echo "gl_cv_warn_-Wno-suggest-attribute=pure" | $as_tr_sh`
 
14478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-suggest-attribute=pure" >&5
 
14479
$as_echo_n "checking whether compiler handles -Wno-suggest-attribute=pure... " >&6; }
 
14480
if eval \${$as_gl_Warn+:} false; then :
 
14481
  $as_echo_n "(cached) " >&6
 
14482
else
 
14483
 
 
14484
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14485
  CPPFLAGS="${CPPFLAGS} -Wno-suggest-attribute=pure"
 
14486
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14487
/* end confdefs.h.  */
 
14488
 
 
14489
int
 
14490
main ()
 
14491
{
 
14492
 
 
14493
  ;
 
14494
  return 0;
 
14495
}
 
14496
_ACEOF
 
14497
if ac_fn_c_try_cpp "$LINENO"; then :
 
14498
  eval "$as_gl_Warn=yes"
 
14499
else
 
14500
  eval "$as_gl_Warn=no"
 
14501
fi
 
14502
rm -f conftest.err conftest.i conftest.$ac_ext
 
14503
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14504
 
 
14505
fi
 
14506
eval ac_res=\$$as_gl_Warn
 
14507
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14508
$as_echo "$ac_res" >&6; }
 
14509
if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
 
14510
  as_fn_append WARN_CFLAGS " -Wno-suggest-attribute=pure"
 
14511
fi
 
14512
 
 
14513
    as_gl_Warn=`$as_echo "gl_cv_warn_-Wno-suggest-attribute=const" | $as_tr_sh`
 
14514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-suggest-attribute=const" >&5
 
14515
$as_echo_n "checking whether compiler handles -Wno-suggest-attribute=const... " >&6; }
 
14516
if eval \${$as_gl_Warn+:} false; then :
 
14517
  $as_echo_n "(cached) " >&6
 
14518
else
 
14519
 
 
14520
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14521
  CPPFLAGS="${CPPFLAGS} -Wno-suggest-attribute=const"
 
14522
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14523
/* end confdefs.h.  */
 
14524
 
 
14525
int
 
14526
main ()
 
14527
{
 
14528
 
 
14529
  ;
 
14530
  return 0;
 
14531
}
 
14532
_ACEOF
 
14533
if ac_fn_c_try_cpp "$LINENO"; then :
 
14534
  eval "$as_gl_Warn=yes"
 
14535
else
 
14536
  eval "$as_gl_Warn=no"
 
14537
fi
 
14538
rm -f conftest.err conftest.i conftest.$ac_ext
 
14539
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14540
 
 
14541
fi
 
14542
eval ac_res=\$$as_gl_Warn
 
14543
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
14544
$as_echo "$ac_res" >&6; }
 
14545
if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
 
14546
  as_fn_append WARN_CFLAGS " -Wno-suggest-attribute=const"
 
14547
fi
 
14548
 
 
14549
 
 
14550
    if test "$set_werror" = "yes"
 
14551
    then
 
14552
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
 
14553
$as_echo_n "checking whether compiler handles -Werror... " >&6; }
 
14554
if ${gl_cv_warn__Werror+:} false; then :
 
14555
  $as_echo_n "(cached) " >&6
 
14556
else
 
14557
 
 
14558
  gl_save_CPPFLAGS="$CPPFLAGS"
 
14559
  CPPFLAGS="${CPPFLAGS} -Werror"
 
14560
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
14561
/* end confdefs.h.  */
 
14562
 
 
14563
int
 
14564
main ()
 
14565
{
 
14566
 
 
14567
  ;
 
14568
  return 0;
 
14569
}
 
14570
_ACEOF
 
14571
if ac_fn_c_try_cpp "$LINENO"; then :
 
14572
  gl_cv_warn__Werror=yes
 
14573
else
 
14574
  gl_cv_warn__Werror=no
 
14575
fi
 
14576
rm -f conftest.err conftest.i conftest.$ac_ext
 
14577
  CPPFLAGS="$gl_save_CPPFLAGS"
 
14578
 
 
14579
fi
 
14580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5
 
14581
$as_echo "$gl_cv_warn__Werror" >&6; }
 
14582
if test "x$gl_cv_warn__Werror" = xyes; then :
 
14583
  as_fn_append WARN_CFLAGS " -Werror"
 
14584
fi
 
14585
 
13748
14586
    fi
13749
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
13750
 
$as_echo "$complCFLAGS" >&6; }
13751
 
 
13752
 
    WARNING_CFLAGS="$COMPILER_FLAGS $complCFLAGS"
13753
 
 
13754
 
 
13755
 
        COMPILER_FLAGS=
13756
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler accepts -Wno-redundant-decls" >&5
13757
 
$as_echo_n "checking whether compiler accepts -Wno-redundant-decls... " >&6; }
13758
 
 
13759
 
   ac_save_CFLAGS="$CFLAGS"
13760
 
               if test "-Wno-redundant-decls" = "-Werror" ; then
13761
 
     CFLAGS="$CFLAGS -Wno-redundant-decls"
13762
 
   else
13763
 
     CFLAGS="$CFLAGS $COMPILER_FLAGS -Wno-redundant-decls"
13764
 
   fi
13765
 
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13766
 
/* end confdefs.h.  */
13767
 
 
13768
 
int
13769
 
main ()
13770
 
{
13771
 
 
13772
 
  ;
13773
 
  return 0;
13774
 
}
13775
 
_ACEOF
13776
 
if ac_fn_c_try_link "$LINENO"; then :
13777
 
  has_option=yes
13778
 
else
13779
 
  has_option=no
13780
 
fi
13781
 
rm -f core conftest.err conftest.$ac_objext \
13782
 
    conftest$ac_exeext conftest.$ac_ext
13783
 
   echo 'int x;' >conftest.c
13784
 
   $CC $CFLAGS -c conftest.c 2>conftest.err
13785
 
   ret=$?
13786
 
   if test $ret != 0 || test -s conftest.err || test $has_option = "no"; then
13787
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13788
 
$as_echo "no" >&6; }
13789
 
   else
13790
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13791
 
$as_echo "yes" >&6; }
13792
 
       COMPILER_FLAGS="$COMPILER_FLAGS -Wno-redundant-decls"
13793
 
   fi
13794
 
   CFLAGS="$ac_save_CFLAGS"
13795
 
   rm -f conftest*
13796
 
 
13797
 
    WARNING_PYTHON_CFLAGS=$COMPILER_FLAGS
 
14587
 
 
14588
    WARN_LDFLAGS=$WARN_CFLAGS
 
14589
 
13798
14590
 
13799
14591
 
13800
14592
 
13850
14642
 
13851
14643
 
13852
14644
 
13853
 
 
13854
 
 
13855
14645
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13856
14646
        if test -n "$ac_tool_prefix"; then
13857
14647
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14155
14945
 
14156
14946
 
14157
14947
pkg_failed=no
 
14948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIOUNIX" >&5
 
14949
$as_echo_n "checking for GIOUNIX... " >&6; }
 
14950
 
 
14951
if test -n "$GIOUNIX_CFLAGS"; then
 
14952
    pkg_cv_GIOUNIX_CFLAGS="$GIOUNIX_CFLAGS"
 
14953
 elif test -n "$PKG_CONFIG"; then
 
14954
    if test -n "$PKG_CONFIG" && \
 
14955
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= \$GIO_REQUIRED\""; } >&5
 
14956
  ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= $GIO_REQUIRED") 2>&5
 
14957
  ac_status=$?
 
14958
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14959
  test $ac_status = 0; }; then
 
14960
  pkg_cv_GIOUNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0 >= $GIO_REQUIRED" 2>/dev/null`
 
14961
else
 
14962
  pkg_failed=yes
 
14963
fi
 
14964
 else
 
14965
    pkg_failed=untried
 
14966
fi
 
14967
if test -n "$GIOUNIX_LIBS"; then
 
14968
    pkg_cv_GIOUNIX_LIBS="$GIOUNIX_LIBS"
 
14969
 elif test -n "$PKG_CONFIG"; then
 
14970
    if test -n "$PKG_CONFIG" && \
 
14971
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= \$GIO_REQUIRED\""; } >&5
 
14972
  ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= $GIO_REQUIRED") 2>&5
 
14973
  ac_status=$?
 
14974
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
14975
  test $ac_status = 0; }; then
 
14976
  pkg_cv_GIOUNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0 >= $GIO_REQUIRED" 2>/dev/null`
 
14977
else
 
14978
  pkg_failed=yes
 
14979
fi
 
14980
 else
 
14981
    pkg_failed=untried
 
14982
fi
 
14983
 
 
14984
 
 
14985
 
 
14986
if test $pkg_failed = yes; then
 
14987
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
14988
$as_echo "no" >&6; }
 
14989
 
 
14990
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
14991
        _pkg_short_errors_supported=yes
 
14992
else
 
14993
        _pkg_short_errors_supported=no
 
14994
fi
 
14995
        if test $_pkg_short_errors_supported = yes; then
 
14996
                GIOUNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-unix-2.0 >= $GIO_REQUIRED" 2>&1`
 
14997
        else
 
14998
                GIOUNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-unix-2.0 >= $GIO_REQUIRED" 2>&1`
 
14999
        fi
 
15000
        # Put the nasty error message in config.log where it belongs
 
15001
        echo "$GIOUNIX_PKG_ERRORS" >&5
 
15002
 
 
15003
        have_giounix=no
 
15004
elif test $pkg_failed = untried; then
 
15005
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15006
$as_echo "no" >&6; }
 
15007
        have_giounix=no
 
15008
else
 
15009
        GIOUNIX_CFLAGS=$pkg_cv_GIOUNIX_CFLAGS
 
15010
        GIOUNIX_LIBS=$pkg_cv_GIOUNIX_LIBS
 
15011
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15012
$as_echo "yes" >&6; }
 
15013
        have_giounix=yes
 
15014
fi
 
15015
 
 
15016
 
 
15017
if test $have_giounix = "yes" ; then
 
15018
 
 
15019
cat >>confdefs.h <<_ACEOF
 
15020
#define HAVE_GIOUNIX 1
 
15021
_ACEOF
 
15022
 
 
15023
fi
 
15024
 
 
15025
 
 
15026
 
 
15027
pkg_failed=no
14158
15028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
14159
15029
$as_echo_n "checking for GDK_PIXBUF... " >&6; }
14160
15030
 
14604
15474
 
14605
15475
 
14606
15476
 
14607
 
pkg_failed=no
14608
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5
14609
 
$as_echo_n "checking for PULSEAUDIO... " >&6; }
14610
 
 
14611
 
if test -n "$PULSEAUDIO_CFLAGS"; then
14612
 
    pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
14613
 
 elif test -n "$PKG_CONFIG"; then
14614
 
    if test -n "$PKG_CONFIG" && \
14615
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5
14616
 
  ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
14617
 
  ac_status=$?
14618
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14619
 
  test $ac_status = 0; }; then
14620
 
  pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
14621
 
else
14622
 
  pkg_failed=yes
14623
 
fi
14624
 
 else
14625
 
    pkg_failed=untried
14626
 
fi
14627
 
if test -n "$PULSEAUDIO_LIBS"; then
14628
 
    pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
14629
 
 elif test -n "$PKG_CONFIG"; then
14630
 
    if test -n "$PKG_CONFIG" && \
14631
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\""; } >&5
14632
 
  ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
14633
 
  ac_status=$?
14634
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14635
 
  test $ac_status = 0; }; then
14636
 
  pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
14637
 
else
14638
 
  pkg_failed=yes
14639
 
fi
14640
 
 else
14641
 
    pkg_failed=untried
14642
 
fi
14643
 
 
14644
 
 
14645
 
 
14646
 
if test $pkg_failed = yes; then
14647
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14648
 
$as_echo "no" >&6; }
14649
 
 
14650
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14651
 
        _pkg_short_errors_supported=yes
14652
 
else
14653
 
        _pkg_short_errors_supported=no
14654
 
fi
14655
 
        if test $_pkg_short_errors_supported = yes; then
14656
 
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
14657
 
        else
14658
 
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
14659
 
        fi
14660
 
        # Put the nasty error message in config.log where it belongs
14661
 
        echo "$PULSEAUDIO_PKG_ERRORS" >&5
14662
 
 
14663
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: Not building against libpulse" >&5
14664
 
$as_echo "$as_me: Not building against libpulse" >&6;}
14665
 
elif test $pkg_failed = untried; then
14666
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14667
 
$as_echo "no" >&6; }
14668
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: Not building against libpulse" >&5
14669
 
$as_echo "$as_me: Not building against libpulse" >&6;}
14670
 
else
14671
 
        PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
14672
 
        PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
14673
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14674
 
$as_echo "yes" >&6; }
14675
 
        WANT_PULSEAUDIO="yes"
14676
 
fi
14677
 
if test "x$WANT_PULSEAUDIO" = xyes; then
14678
 
 
14679
 
cat >>confdefs.h <<_ACEOF
14680
 
#define HAVE_PULSEAUDIO 1
14681
 
_ACEOF
14682
 
 
14683
 
fi
14684
 
 if test "x$WANT_PULSEAUDIO" = "xyes"; then
 
15477
# Check whether --with-pulseaudio was given.
 
15478
if test "${with_pulseaudio+set}" = set; then :
 
15479
  withval=$with_pulseaudio;
 
15480
else
 
15481
  with_pulseaudio=check
 
15482
fi
 
15483
 
 
15484
 
 
15485
HAVE_PULSEAUDIO=no
 
15486
if test "x$with_pulseaudio" != "xno"; then
 
15487
  PULSEAUDIO_MODULES=libpulse-simple
 
15488
  if test "x$with_pulseaudio" == "xyes"; then
 
15489
 
 
15490
pkg_failed=no
 
15491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5
 
15492
$as_echo_n "checking for PULSEAUDIO... " >&6; }
 
15493
 
 
15494
if test -n "$PULSEAUDIO_CFLAGS"; then
 
15495
    pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
 
15496
 elif test -n "$PKG_CONFIG"; then
 
15497
    if test -n "$PKG_CONFIG" && \
 
15498
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PULSEAUDIO_MODULES\""; } >&5
 
15499
  ($PKG_CONFIG --exists --print-errors "$PULSEAUDIO_MODULES") 2>&5
 
15500
  ac_status=$?
 
15501
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15502
  test $ac_status = 0; }; then
 
15503
  pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "$PULSEAUDIO_MODULES" 2>/dev/null`
 
15504
else
 
15505
  pkg_failed=yes
 
15506
fi
 
15507
 else
 
15508
    pkg_failed=untried
 
15509
fi
 
15510
if test -n "$PULSEAUDIO_LIBS"; then
 
15511
    pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
 
15512
 elif test -n "$PKG_CONFIG"; then
 
15513
    if test -n "$PKG_CONFIG" && \
 
15514
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PULSEAUDIO_MODULES\""; } >&5
 
15515
  ($PKG_CONFIG --exists --print-errors "$PULSEAUDIO_MODULES") 2>&5
 
15516
  ac_status=$?
 
15517
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15518
  test $ac_status = 0; }; then
 
15519
  pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "$PULSEAUDIO_MODULES" 2>/dev/null`
 
15520
else
 
15521
  pkg_failed=yes
 
15522
fi
 
15523
 else
 
15524
    pkg_failed=untried
 
15525
fi
 
15526
 
 
15527
 
 
15528
 
 
15529
if test $pkg_failed = yes; then
 
15530
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15531
$as_echo "no" >&6; }
 
15532
 
 
15533
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15534
        _pkg_short_errors_supported=yes
 
15535
else
 
15536
        _pkg_short_errors_supported=no
 
15537
fi
 
15538
        if test $_pkg_short_errors_supported = yes; then
 
15539
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$PULSEAUDIO_MODULES" 2>&1`
 
15540
        else
 
15541
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "$PULSEAUDIO_MODULES" 2>&1`
 
15542
        fi
 
15543
        # Put the nasty error message in config.log where it belongs
 
15544
        echo "$PULSEAUDIO_PKG_ERRORS" >&5
 
15545
 
 
15546
        as_fn_error $? "Package requirements ($PULSEAUDIO_MODULES) were not met:
 
15547
 
 
15548
$PULSEAUDIO_PKG_ERRORS
 
15549
 
 
15550
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
15551
installed software in a non-standard prefix.
 
15552
 
 
15553
Alternatively, you may set the environment variables PULSEAUDIO_CFLAGS
 
15554
and PULSEAUDIO_LIBS to avoid the need to call pkg-config.
 
15555
See the pkg-config man page for more details." "$LINENO" 5
 
15556
 
 
15557
elif test $pkg_failed = untried; then
 
15558
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15559
$as_echo "no" >&6; }
 
15560
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
15561
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
15562
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
15563
is in your PATH or set the PKG_CONFIG environment variable to the full
 
15564
path to pkg-config.
 
15565
 
 
15566
Alternatively, you may set the environment variables PULSEAUDIO_CFLAGS
 
15567
and PULSEAUDIO_LIBS to avoid the need to call pkg-config.
 
15568
See the pkg-config man page for more details.
 
15569
 
 
15570
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
15571
See \`config.log' for more details" "$LINENO" 5; }
 
15572
 
 
15573
else
 
15574
        PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
 
15575
        PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
 
15576
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15577
$as_echo "yes" >&6; }
 
15578
        HAVE_PULSEAUDIO=yes
 
15579
fi
 
15580
  else
 
15581
 
 
15582
pkg_failed=no
 
15583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5
 
15584
$as_echo_n "checking for PULSEAUDIO... " >&6; }
 
15585
 
 
15586
if test -n "$PULSEAUDIO_CFLAGS"; then
 
15587
    pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
 
15588
 elif test -n "$PKG_CONFIG"; then
 
15589
    if test -n "$PKG_CONFIG" && \
 
15590
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PULSEAUDIO_MODULES\""; } >&5
 
15591
  ($PKG_CONFIG --exists --print-errors "$PULSEAUDIO_MODULES") 2>&5
 
15592
  ac_status=$?
 
15593
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15594
  test $ac_status = 0; }; then
 
15595
  pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "$PULSEAUDIO_MODULES" 2>/dev/null`
 
15596
else
 
15597
  pkg_failed=yes
 
15598
fi
 
15599
 else
 
15600
    pkg_failed=untried
 
15601
fi
 
15602
if test -n "$PULSEAUDIO_LIBS"; then
 
15603
    pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
 
15604
 elif test -n "$PKG_CONFIG"; then
 
15605
    if test -n "$PKG_CONFIG" && \
 
15606
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$PULSEAUDIO_MODULES\""; } >&5
 
15607
  ($PKG_CONFIG --exists --print-errors "$PULSEAUDIO_MODULES") 2>&5
 
15608
  ac_status=$?
 
15609
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
15610
  test $ac_status = 0; }; then
 
15611
  pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "$PULSEAUDIO_MODULES" 2>/dev/null`
 
15612
else
 
15613
  pkg_failed=yes
 
15614
fi
 
15615
 else
 
15616
    pkg_failed=untried
 
15617
fi
 
15618
 
 
15619
 
 
15620
 
 
15621
if test $pkg_failed = yes; then
 
15622
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15623
$as_echo "no" >&6; }
 
15624
 
 
15625
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
15626
        _pkg_short_errors_supported=yes
 
15627
else
 
15628
        _pkg_short_errors_supported=no
 
15629
fi
 
15630
        if test $_pkg_short_errors_supported = yes; then
 
15631
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$PULSEAUDIO_MODULES" 2>&1`
 
15632
        else
 
15633
                PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "$PULSEAUDIO_MODULES" 2>&1`
 
15634
        fi
 
15635
        # Put the nasty error message in config.log where it belongs
 
15636
        echo "$PULSEAUDIO_PKG_ERRORS" >&5
 
15637
 
 
15638
        { $as_echo "$as_me:${as_lineno-$LINENO}: libpulse-simple not found, disabling PulseAudio support" >&5
 
15639
$as_echo "$as_me: libpulse-simple not found, disabling PulseAudio support" >&6;}
 
15640
elif test $pkg_failed = untried; then
 
15641
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
15642
$as_echo "no" >&6; }
 
15643
        { $as_echo "$as_me:${as_lineno-$LINENO}: libpulse-simple not found, disabling PulseAudio support" >&5
 
15644
$as_echo "$as_me: libpulse-simple not found, disabling PulseAudio support" >&6;}
 
15645
else
 
15646
        PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
 
15647
        PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
 
15648
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
15649
$as_echo "yes" >&6; }
 
15650
        HAVE_PULSEAUDIO=yes
 
15651
fi
 
15652
  fi
 
15653
fi
 
15654
 if test "x$HAVE_PULSEAUDIO" = "xyes"; then
14685
15655
  HAVE_PULSEAUDIO_TRUE=
14686
15656
  HAVE_PULSEAUDIO_FALSE='#'
14687
15657
else
15245
16215
 
15246
16216
 
15247
16217
 
 
16218
 
 
16219
 
15248
16220
        # Find any Python interpreter.
15249
16221
    if test -z "$PYTHON"; then
15250
 
      for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
 
16222
      for ac_prog in python python2 python3 python3.2 python3.1 python3.0 python2.7  python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
15251
16223
do
15252
16224
  # Extract the first word of "$ac_prog", so it can be a program name with args.
15253
16225
set dummy $ac_prog; ac_word=$2
15335
16307
 
15336
16308
 
15337
16309
 
15338
 
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
 
16310
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
15339
16311
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
15340
16312
if ${am_cv_python_pythondir+:} false; then :
15341
16313
  $as_echo_n "(cached) " >&6
15346
16318
     else
15347
16319
       am_py_prefix=$prefix
15348
16320
     fi
15349
 
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
15350
 
     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
16321
     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
15351
16322
     case $am_cv_python_pythondir in
15352
16323
     $am_py_prefix*)
15353
16324
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
15373
16344
  pkgpythondir=\${pythondir}/$PACKAGE
15374
16345
 
15375
16346
 
15376
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
 
16347
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
15377
16348
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
15378
16349
if ${am_cv_python_pyexecdir+:} false; then :
15379
16350
  $as_echo_n "(cached) " >&6
15384
16355
     else
15385
16356
       am_py_exec_prefix=$exec_prefix
15386
16357
     fi
15387
 
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
15388
 
     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
 
16358
     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
15389
16359
     case $am_cv_python_pyexecdir in
15390
16360
     $am_py_exec_prefix*)
15391
16361
       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
16195
17165
fi
16196
17166
 
16197
17167
 
16198
 
ac_config_files="$ac_config_files Makefile src/Makefile tools/Makefile examples/Makefile plugin/Makefile po/Makefile.in vapi/Makefile gvnc-1.0.pc gvncpulse-1.0.pc gtk-vnc-1.0.pc gtk-vnc-2.0.pc gtk-vnc.spec mingw32-gtk-vnc.spec"
 
17168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Text::CSV Perl module" >&5
 
17169
$as_echo_n "checking for Text::CSV Perl module... " >&6; }
 
17170
perl -MText::CSV -e "" >/dev/null 2>&1
 
17171
if test $? -ne 0 ; then
 
17172
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
 
17173
$as_echo "not found" >&6; }
 
17174
  if test ! -e "$srcdir/src/vncdisplaykeymap_osx2rfb.c"; then
 
17175
    as_fn_error $? "Text::CSV Perl module is required to compile this package" "$LINENO" 5
 
17176
  fi
 
17177
else
 
17178
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
 
17179
$as_echo "found" >&6; }
 
17180
fi
 
17181
 
 
17182
ac_config_files="$ac_config_files Makefile src/Makefile tools/Makefile examples/Makefile plugin/Makefile po/Makefile.in vapi/Makefile gvnc-1.0.pc gvncpulse-1.0.pc gtk-vnc-1.0.pc gtk-vnc-2.0.pc gtk-vnc.spec mingw-gtk-vnc.spec"
16199
17183
 
16200
17184
 
16201
17185
cat >confcache <<\_ACEOF
16792
17776
# report actual input values of CONFIG_FILES etc. instead of their
16793
17777
# values after options handling.
16794
17778
ac_log="
16795
 
This file was extended by gtk-vnc $as_me 0.5.0, which was
 
17779
This file was extended by gtk-vnc $as_me 0.5.1, which was
16796
17780
generated by GNU Autoconf 2.68.  Invocation command line was
16797
17781
 
16798
17782
  CONFIG_FILES    = $CONFIG_FILES
16863
17847
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16864
17848
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16865
17849
ac_cs_version="\\
16866
 
gtk-vnc config.status 0.5.0
 
17850
gtk-vnc config.status 0.5.1
16867
17851
configured by $0, generated by GNU Autoconf 2.68,
16868
17852
  with options \\"\$ac_cs_config\\"
16869
17853
 
17003
17987
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17004
17988
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17005
17989
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
17990
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17006
17991
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17007
17992
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17008
17993
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17083
18068
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17084
18069
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17085
18070
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17086
 
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17087
18071
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17088
18072
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17089
18073
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17142
18126
OBJDUMP \
17143
18127
SHELL \
17144
18128
ECHO \
 
18129
PATH_SEPARATOR \
17145
18130
SED \
17146
18131
GREP \
17147
18132
EGREP \
17190
18175
allow_undefined_flag \
17191
18176
no_undefined_flag \
17192
18177
hardcode_libdir_flag_spec \
17193
 
hardcode_libdir_flag_spec_ld \
17194
18178
hardcode_libdir_separator \
17195
18179
exclude_expsyms \
17196
18180
include_expsyms \
17290
18274
    "gtk-vnc-1.0.pc") CONFIG_FILES="$CONFIG_FILES gtk-vnc-1.0.pc" ;;
17291
18275
    "gtk-vnc-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtk-vnc-2.0.pc" ;;
17292
18276
    "gtk-vnc.spec") CONFIG_FILES="$CONFIG_FILES gtk-vnc.spec" ;;
17293
 
    "mingw32-gtk-vnc.spec") CONFIG_FILES="$CONFIG_FILES mingw32-gtk-vnc.spec" ;;
 
18277
    "mingw-gtk-vnc.spec") CONFIG_FILES="$CONFIG_FILES mingw-gtk-vnc.spec" ;;
17294
18278
    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17295
18279
 
17296
18280
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18035
19019
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18036
19020
#
18037
19021
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18038
 
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18039
 
#                 Inc.
 
19022
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
19023
#                 Foundation, Inc.
18040
19024
#   Written by Gordon Matzigkeit, 1996
18041
19025
#
18042
19026
#   This file is part of GNU Libtool.
18099
19083
# An echo program that protects backslashes.
18100
19084
ECHO=$lt_ECHO
18101
19085
 
 
19086
# The PATH separator for the build system.
 
19087
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
19088
 
18102
19089
# The host system.
18103
19090
host_alias=$host_alias
18104
19091
host=$host
18394
19381
# This must work even if \$libdir does not exist
18395
19382
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18396
19383
 
18397
 
# If ld is used when linking, flag to hardcode \$libdir into a binary
18398
 
# during linking.  This must work even if \$libdir does not exist.
18399
 
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18400
 
 
18401
19384
# Whether we need a single "-rpath" flag with a separated argument.
18402
19385
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18403
19386
 
18722
19705
        Install example programs ...:  ${WITH_EXAMPLES}
18723
19706
        Browser plugin .............:  ${enable_plugin}
18724
19707
        SASL support................:  ${enable_sasl}
 
19708
        PulseAudio support..........:  ${HAVE_PULSEAUDIO}
18725
19709
        GTK+ version................:  ${GTK_API_VERSION}
18726
19710
"