~ubuntu-branches/ubuntu/maverick/transmission/maverick-updates

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda
  • Date: 2009-12-08 10:49:11 UTC
  • mfrom: (1.1.29 upstream) (2.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20091208104911-06gio45n2nla3vpg
Tags: 1.80~b1-0ubuntu1
* New upstream release (LP: #460620), rebased on debian unstable
  remaining changes:
  - debian/control:
    + Added replaces & provides clutch (now included as part of transmission).
      Can be removed in lucid+1
    + Added quilt, liblaunchpad-integration-dev and lsb-release to Build-Depends
  - debian/rules:
    + create a po template during package build.
  - debian/patches/01_lpi.patch:
    + integrate transmission with launchpad
  - debian/patches/20_add_x-ubuntu-gettext-domain.diff:
    + add x-ubuntu-gettext-domain to .desktop file.
  - debian/transmission-daemon.default:
    - remove --auth from OPTIONS
* Fixes bugs:
  - tray menu shows wrong status for "main window" when started minimized
    (LP: #451415)
* Refreshed patches:
  - dont_build_libevent.patch
  - 99_autoreconf.patch
* Removed patches:
  - 21_onPortTested.diff, 23_tr_torrentNext.diff and
    24_tr_torrentDeleteLocalData_do_move.diff
* debian/patches/21_fix_inhibition.patch:
  - The right value for suspend inhibition is 4
* debian/control:
  - Build-Depend on libgconf2-dev to enable magnet link registration and on
    libcanberra-gtk-dev for notification sound.
* debian/watch:
  - make it detect beta versions, to be removed after 1.80 is released.

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.63 for transmission 1.75.
 
3
# Generated by GNU Autoconf 2.63 for transmission 1.80b1.
4
4
#
5
5
# Report bugs to <http://trac.transmissionbt.com/newticket>.
6
6
#
745
745
# Identity of this package.
746
746
PACKAGE_NAME='transmission'
747
747
PACKAGE_TARNAME='transmission'
748
 
PACKAGE_VERSION='1.75'
749
 
PACKAGE_STRING='transmission 1.75'
 
748
PACKAGE_VERSION='1.80b1'
 
749
PACKAGE_STRING='transmission 1.80b1'
750
750
PACKAGE_BUGREPORT='http://trac.transmissionbt.com/newticket'
751
751
 
752
752
ac_unique_file="libtransmission/transmission.h"
845
845
DBUS_BINDING_TOOL
846
846
DBUS_GLIB_LIBS
847
847
DBUS_GLIB_CFLAGS
 
848
LIBGCONF_LIBS
 
849
LIBGCONF_CFLAGS
 
850
LIBCANBERRA_LIBS
 
851
LIBCANBERRA_CFLAGS
848
852
LIBNOTIFY_LIBS
849
853
LIBNOTIFY_CFLAGS
850
854
GIO_LIBS
855
859
GTK_CFLAGS
856
860
DHT_LIBS
857
861
DHT_CFLAGS
858
 
DHT_FALSE
859
 
DHT_TRUE
860
862
LIBEVENT_LIBS
861
863
LIBEVENT_CFLAGS
862
864
subdirs
877
879
ac_ct_CXX
878
880
CXXFLAGS
879
881
CXX
 
882
OPENSSL_MINIMUM
 
883
LIBNOTIFY_MINIMUM
880
884
LIBEVENT_MINIUM
881
 
DBUS_GLIB_MINIMUM
882
 
LIBNOTIFY_MINIMUM
883
885
GTK_MINIMUM
884
886
GLIB_MINIMUM
885
887
GIO_MINIMUM
 
888
GCONF2_MINIMUM
 
889
DBUS_GLIB_MINIMUM
886
890
CURL_MINIMUM
887
 
OPENSSL_MINIMUM
 
891
CANBERRA_MINIMUM
888
892
TR_UNSTABLE_FALSE
889
893
TR_UNSTABLE_TRUE
890
894
CPP
954
958
INSTALL_DATA
955
959
INSTALL_SCRIPT
956
960
INSTALL_PROGRAM
 
961
AM_BACKSLASH
 
962
AM_DEFAULT_VERBOSITY
957
963
PEERID_PREFIX
958
964
USERAGENT_PREFIX
959
965
target_alias
998
1004
ac_subst_files=''
999
1005
ac_user_opts='
1000
1006
enable_option_checking
 
1007
enable_silent_rules
1001
1008
enable_shared
1002
1009
enable_static
1003
1010
with_pic
1010
1017
enable_largefile
1011
1018
with_inotify
1012
1019
with_kqueue
1013
 
enable_dht
1014
1020
enable_gtk
1015
1021
enable_libnotify
 
1022
enable_libcanberra
 
1023
enable_gconf2
1016
1024
enable_nls
1017
1025
enable_cli
1018
1026
enable_mac
1042
1050
GIO_LIBS
1043
1051
LIBNOTIFY_CFLAGS
1044
1052
LIBNOTIFY_LIBS
 
1053
LIBCANBERRA_CFLAGS
 
1054
LIBCANBERRA_LIBS
 
1055
LIBGCONF_CFLAGS
 
1056
LIBGCONF_LIBS
1045
1057
DBUS_GLIB_CFLAGS
1046
1058
DBUS_GLIB_LIBS'
1047
1059
ac_subdirs_all='third-party/libevent'
1596
1608
  # Omit some internal or obsolete options to make the list less imposing.
1597
1609
  # This message is too long to be a string in the A/UX 3.1 sh.
1598
1610
  cat <<_ACEOF
1599
 
\`configure' configures transmission 1.75 to adapt to many kinds of systems.
 
1611
\`configure' configures transmission 1.80b1 to adapt to many kinds of systems.
1600
1612
 
1601
1613
Usage: $0 [OPTION]... [VAR=VALUE]...
1602
1614
 
1666
1678
 
1667
1679
if test -n "$ac_init_help"; then
1668
1680
  case $ac_init_help in
1669
 
     short | recursive ) echo "Configuration of transmission 1.75:";;
 
1681
     short | recursive ) echo "Configuration of transmission 1.80b1:";;
1670
1682
   esac
1671
1683
  cat <<\_ACEOF
1672
1684
 
1674
1686
  --disable-option-checking  ignore unrecognized --enable/--with options
1675
1687
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1676
1688
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1689
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1690
  --disable-silent-rules         verbose build output (undo: `make V=0')
1677
1691
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1678
1692
  --enable-static[=PKGS]  build static libraries [default=yes]
1679
1693
  --enable-fast-install[=PKGS]
1682
1696
  --enable-dependency-tracking   do not reject slow dependency extractors
1683
1697
  --disable-libtool-lock  avoid locking (might break parallel builds)
1684
1698
  --disable-largefile     omit support for large files
1685
 
  --disable-dht           omit DHT support
1686
1699
  --enable-gtk            build gtk client
1687
1700
  --enable-libnotify      enable notifications
 
1701
  --enable-libcanberra    enable sounds
 
1702
  --enable-libgconf       enable GConf support
1688
1703
  --enable-nls            enable native language support
1689
1704
  --disable-nls           do not use Native Language Support
1690
1705
  --enable-cli            build command-line client
1732
1747
              C compiler flags for LIBNOTIFY, overriding pkg-config
1733
1748
  LIBNOTIFY_LIBS
1734
1749
              linker flags for LIBNOTIFY, overriding pkg-config
 
1750
  LIBCANBERRA_CFLAGS
 
1751
              C compiler flags for LIBCANBERRA, overriding pkg-config
 
1752
  LIBCANBERRA_LIBS
 
1753
              linker flags for LIBCANBERRA, overriding pkg-config
 
1754
  LIBGCONF_CFLAGS
 
1755
              C compiler flags for LIBGCONF, overriding pkg-config
 
1756
  LIBGCONF_LIBS
 
1757
              linker flags for LIBGCONF, overriding pkg-config
1735
1758
  DBUS_GLIB_CFLAGS
1736
1759
              C compiler flags for DBUS_GLIB, overriding pkg-config
1737
1760
  DBUS_GLIB_LIBS
1803
1826
test -n "$ac_init_help" && exit $ac_status
1804
1827
if $ac_init_version; then
1805
1828
  cat <<\_ACEOF
1806
 
transmission configure 1.75
 
1829
transmission configure 1.80b1
1807
1830
generated by GNU Autoconf 2.63
1808
1831
 
1809
1832
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1817
1840
This file contains any messages produced by compilers while
1818
1841
running configure, to aid debugging if configure makes a mistake.
1819
1842
 
1820
 
It was created by transmission $as_me 1.75, which was
 
1843
It was created by transmission $as_me 1.80b1, which was
1821
1844
generated by GNU Autoconf 2.63.  Invocation command line was
1822
1845
 
1823
1846
  $ $0 $@
2185
2208
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2186
2209
 
2187
2210
 
2188
 
USERAGENT_PREFIX=1.75
2189
 
 
2190
 
PEERID_PREFIX=-TR1750-
 
2211
USERAGENT_PREFIX=1.80b1
 
2212
 
 
2213
PEERID_PREFIX=-TR176X-
 
2214
 
 
2215
 
 
2216
# Check whether --enable-silent-rules was given.
 
2217
if test "${enable_silent_rules+set}" = set; then
 
2218
  enableval=$enable_silent_rules;
 
2219
fi
 
2220
 
 
2221
case $enable_silent_rules in
 
2222
yes) AM_DEFAULT_VERBOSITY=0;;
 
2223
no)  AM_DEFAULT_VERBOSITY=1;;
 
2224
*)   AM_DEFAULT_VERBOSITY=0;;
 
2225
esac
 
2226
AM_BACKSLASH='\'
2191
2227
 
2192
2228
 
2193
2229
 
2674
2710
 
2675
2711
# Define the identity of the package.
2676
2712
 PACKAGE='transmission'
2677
 
 VERSION='1.75'
 
2713
 VERSION='1.80b1'
2678
2714
 
2679
2715
 
2680
2716
cat >>confdefs.h <<_ACEOF
4619
4655
else
4620
4656
  lt_cv_nm_interface="BSD nm"
4621
4657
  echo "int some_variable = 0;" > conftest.$ac_ext
4622
 
  (eval echo "\"\$as_me:4622: $ac_compile\"" >&5)
 
4658
  (eval echo "\"\$as_me:4658: $ac_compile\"" >&5)
4623
4659
  (eval "$ac_compile" 2>conftest.err)
4624
4660
  cat conftest.err >&5
4625
 
  (eval echo "\"\$as_me:4625: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
4661
  (eval echo "\"\$as_me:4661: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4626
4662
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4627
4663
  cat conftest.err >&5
4628
 
  (eval echo "\"\$as_me:4628: output\"" >&5)
 
4664
  (eval echo "\"\$as_me:4664: output\"" >&5)
4629
4665
  cat conftest.out >&5
4630
4666
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4631
4667
    lt_cv_nm_interface="MS dumpbin"
5831
5867
  ;;
5832
5868
*-*-irix6*)
5833
5869
  # Find out which ABI we are using.
5834
 
  echo '#line 5834 "configure"' > conftest.$ac_ext
 
5870
  echo '#line 5870 "configure"' > conftest.$ac_ext
5835
5871
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5836
5872
  (eval $ac_compile) 2>&5
5837
5873
  ac_status=$?
7688
7724
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7689
7725
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7690
7726
   -e 's:$: $lt_compiler_flag:'`
7691
 
   (eval echo "\"\$as_me:7691: $lt_compile\"" >&5)
 
7727
   (eval echo "\"\$as_me:7727: $lt_compile\"" >&5)
7692
7728
   (eval "$lt_compile" 2>conftest.err)
7693
7729
   ac_status=$?
7694
7730
   cat conftest.err >&5
7695
 
   echo "$as_me:7695: \$? = $ac_status" >&5
 
7731
   echo "$as_me:7731: \$? = $ac_status" >&5
7696
7732
   if (exit $ac_status) && test -s "$ac_outfile"; then
7697
7733
     # The compiler can only warn and ignore the option if not recognized
7698
7734
     # So say no if there are warnings other than the usual output.
8027
8063
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8028
8064
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8029
8065
   -e 's:$: $lt_compiler_flag:'`
8030
 
   (eval echo "\"\$as_me:8030: $lt_compile\"" >&5)
 
8066
   (eval echo "\"\$as_me:8066: $lt_compile\"" >&5)
8031
8067
   (eval "$lt_compile" 2>conftest.err)
8032
8068
   ac_status=$?
8033
8069
   cat conftest.err >&5
8034
 
   echo "$as_me:8034: \$? = $ac_status" >&5
 
8070
   echo "$as_me:8070: \$? = $ac_status" >&5
8035
8071
   if (exit $ac_status) && test -s "$ac_outfile"; then
8036
8072
     # The compiler can only warn and ignore the option if not recognized
8037
8073
     # So say no if there are warnings other than the usual output.
8132
8168
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8133
8169
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8134
8170
   -e 's:$: $lt_compiler_flag:'`
8135
 
   (eval echo "\"\$as_me:8135: $lt_compile\"" >&5)
 
8171
   (eval echo "\"\$as_me:8171: $lt_compile\"" >&5)
8136
8172
   (eval "$lt_compile" 2>out/conftest.err)
8137
8173
   ac_status=$?
8138
8174
   cat out/conftest.err >&5
8139
 
   echo "$as_me:8139: \$? = $ac_status" >&5
 
8175
   echo "$as_me:8175: \$? = $ac_status" >&5
8140
8176
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8141
8177
   then
8142
8178
     # The compiler can only warn and ignore the option if not recognized
8187
8223
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8188
8224
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8189
8225
   -e 's:$: $lt_compiler_flag:'`
8190
 
   (eval echo "\"\$as_me:8190: $lt_compile\"" >&5)
 
8226
   (eval echo "\"\$as_me:8226: $lt_compile\"" >&5)
8191
8227
   (eval "$lt_compile" 2>out/conftest.err)
8192
8228
   ac_status=$?
8193
8229
   cat out/conftest.err >&5
8194
 
   echo "$as_me:8194: \$? = $ac_status" >&5
 
8230
   echo "$as_me:8230: \$? = $ac_status" >&5
8195
8231
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8196
8232
   then
8197
8233
     # The compiler can only warn and ignore the option if not recognized
10990
11026
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10991
11027
  lt_status=$lt_dlunknown
10992
11028
  cat > conftest.$ac_ext <<_LT_EOF
10993
 
#line 10993 "configure"
 
11029
#line 11029 "configure"
10994
11030
#include "confdefs.h"
10995
11031
 
10996
11032
#if HAVE_DLFCN_H
11086
11122
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11087
11123
  lt_status=$lt_dlunknown
11088
11124
  cat > conftest.$ac_ext <<_LT_EOF
11089
 
#line 11089 "configure"
 
11125
#line 11125 "configure"
11090
11126
#include "confdefs.h"
11091
11127
 
11092
11128
#if HAVE_DLFCN_H
11314
11350
 
11315
11351
 
11316
11352
 
11317
 
if test 0 = "0"; then
 
11353
if test X = "0"; then
11318
11354
  supported_build=yes
11319
11355
  if test "x$GCC" = "xyes" ; then
11320
11356
    CFLAGS="$CFLAGS -g -O3 "
11337
11373
fi
11338
11374
 
11339
11375
 
11340
 
OPENSSL_MINIMUM=0.9.4
 
11376
CANBERRA_MINIMUM=0.10
 
11377
 
11341
11378
CURL_MINIMUM=7.16.3
 
11379
 
 
11380
DBUS_GLIB_MINIMUM=0.70
 
11381
 
 
11382
GCONF2_MINIMUM=2.20.0
 
11383
 
11342
11384
GIO_MINIMUM=2.15.5
 
11385
 
11343
11386
GLIB_MINIMUM=2.6.0
 
11387
 
11344
11388
GTK_MINIMUM=2.6.0
 
11389
 
 
11390
LIBEVENT_MINIMUM=1.4.5
 
11391
 
11345
11392
LIBNOTIFY_MINIMUM=0.4.3
11346
 
DBUS_GLIB_MINIMUM=0.70
11347
 
LIBEVENT_MINIMUM=1.4.5
11348
 
 
11349
 
 
11350
 
 
11351
 
 
11352
 
 
11353
 
 
11354
 
 
 
11393
 
 
11394
OPENSSL_MINIMUM=0.9.4
11355
11395
 
11356
11396
 
11357
11397
ac_ext=c
15213
15253
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15214
15254
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15215
15255
   -e 's:$: $lt_compiler_flag:'`
15216
 
   (eval echo "\"\$as_me:15216: $lt_compile\"" >&5)
 
15256
   (eval echo "\"\$as_me:15256: $lt_compile\"" >&5)
15217
15257
   (eval "$lt_compile" 2>conftest.err)
15218
15258
   ac_status=$?
15219
15259
   cat conftest.err >&5
15220
 
   echo "$as_me:15220: \$? = $ac_status" >&5
 
15260
   echo "$as_me:15260: \$? = $ac_status" >&5
15221
15261
   if (exit $ac_status) && test -s "$ac_outfile"; then
15222
15262
     # The compiler can only warn and ignore the option if not recognized
15223
15263
     # So say no if there are warnings other than the usual output.
15312
15352
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15313
15353
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15314
15354
   -e 's:$: $lt_compiler_flag:'`
15315
 
   (eval echo "\"\$as_me:15315: $lt_compile\"" >&5)
 
15355
   (eval echo "\"\$as_me:15355: $lt_compile\"" >&5)
15316
15356
   (eval "$lt_compile" 2>out/conftest.err)
15317
15357
   ac_status=$?
15318
15358
   cat out/conftest.err >&5
15319
 
   echo "$as_me:15319: \$? = $ac_status" >&5
 
15359
   echo "$as_me:15359: \$? = $ac_status" >&5
15320
15360
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15321
15361
   then
15322
15362
     # The compiler can only warn and ignore the option if not recognized
15364
15404
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15365
15405
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15366
15406
   -e 's:$: $lt_compiler_flag:'`
15367
 
   (eval echo "\"\$as_me:15367: $lt_compile\"" >&5)
 
15407
   (eval echo "\"\$as_me:15407: $lt_compile\"" >&5)
15368
15408
   (eval "$lt_compile" 2>out/conftest.err)
15369
15409
   ac_status=$?
15370
15410
   cat out/conftest.err >&5
15371
 
   echo "$as_me:15371: \$? = $ac_status" >&5
 
15411
   echo "$as_me:15411: \$? = $ac_status" >&5
15372
15412
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15373
15413
   then
15374
15414
     # The compiler can only warn and ignore the option if not recognized
16671
16711
 
16672
16712
 
16673
16713
 
16674
 
for ac_func in lrintf strlcpy daemon dirname basename strcasecmp localtime_r posix_fallocate memmem strtold
 
16714
 
 
16715
 
 
16716
 
 
16717
for ac_func in pread pwrite lrintf strlcpy daemon dirname basename strcasecmp localtime_r posix_fallocate memmem strtold syslog
16675
16718
do
16676
16719
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16677
16720
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18702
18745
fi
18703
18746
 
18704
18747
 
 
18748
for ac_func in lseek64
 
18749
do
 
18750
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
18751
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 
18752
$as_echo_n "checking for $ac_func... " >&6; }
 
18753
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
18754
  $as_echo_n "(cached) " >&6
 
18755
else
 
18756
  cat >conftest.$ac_ext <<_ACEOF
 
18757
/* confdefs.h.  */
 
18758
_ACEOF
 
18759
cat confdefs.h >>conftest.$ac_ext
 
18760
cat >>conftest.$ac_ext <<_ACEOF
 
18761
/* end confdefs.h.  */
 
18762
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
18763
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
18764
#define $ac_func innocuous_$ac_func
 
18765
 
 
18766
/* System header to define __stub macros and hopefully few prototypes,
 
18767
    which can conflict with char $ac_func (); below.
 
18768
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
18769
    <limits.h> exists even on freestanding compilers.  */
 
18770
 
 
18771
#ifdef __STDC__
 
18772
# include <limits.h>
 
18773
#else
 
18774
# include <assert.h>
 
18775
#endif
 
18776
 
 
18777
#undef $ac_func
 
18778
 
 
18779
/* Override any GCC internal prototype to avoid an error.
 
18780
   Use char because int might match the return type of a GCC
 
18781
   builtin and then its argument prototype would still apply.  */
 
18782
#ifdef __cplusplus
 
18783
extern "C"
 
18784
#endif
 
18785
char $ac_func ();
 
18786
/* The GNU C library defines this for functions which it implements
 
18787
    to always fail with ENOSYS.  Some functions are actually named
 
18788
    something starting with __ and the normal name is an alias.  */
 
18789
#if defined __stub_$ac_func || defined __stub___$ac_func
 
18790
choke me
 
18791
#endif
 
18792
 
 
18793
int
 
18794
main ()
 
18795
{
 
18796
return $ac_func ();
 
18797
  ;
 
18798
  return 0;
 
18799
}
 
18800
_ACEOF
 
18801
rm -f conftest.$ac_objext conftest$ac_exeext
 
18802
if { (ac_try="$ac_link"
 
18803
case "(($ac_try" in
 
18804
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
18805
  *) ac_try_echo=$ac_try;;
 
18806
esac
 
18807
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 
18808
$as_echo "$ac_try_echo") >&5
 
18809
  (eval "$ac_link") 2>conftest.er1
 
18810
  ac_status=$?
 
18811
  grep -v '^ *+' conftest.er1 >conftest.err
 
18812
  rm -f conftest.er1
 
18813
  cat conftest.err >&5
 
18814
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18815
  (exit $ac_status); } && {
 
18816
         test -z "$ac_c_werror_flag" ||
 
18817
         test ! -s conftest.err
 
18818
       } && test -s conftest$ac_exeext && {
 
18819
         test "$cross_compiling" = yes ||
 
18820
         $as_test_x conftest$ac_exeext
 
18821
       }; then
 
18822
  eval "$as_ac_var=yes"
 
18823
else
 
18824
  $as_echo "$as_me: failed program was:" >&5
 
18825
sed 's/^/| /' conftest.$ac_ext >&5
 
18826
 
 
18827
        eval "$as_ac_var=no"
 
18828
fi
 
18829
 
 
18830
rm -rf conftest.dSYM
 
18831
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
18832
      conftest$ac_exeext conftest.$ac_ext
 
18833
fi
 
18834
ac_res=`eval 'as_val=${'$as_ac_var'}
 
18835
                 $as_echo "$as_val"'`
 
18836
               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 
18837
$as_echo "$ac_res" >&6; }
 
18838
as_val=`eval 'as_val=${'$as_ac_var'}
 
18839
                 $as_echo "$as_val"'`
 
18840
   if test "x$as_val" = x""yes; then
 
18841
  cat >>confdefs.h <<_ACEOF
 
18842
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
18843
_ACEOF
 
18844
 
 
18845
fi
 
18846
done
 
18847
 
 
18848
 
18705
18849
 
18706
18850
 
18707
18851
{ $as_echo "$as_me:$LINENO: checking whether posix_fadvise is declared" >&5
19956
20100
 
19957
20101
 
19958
20102
 
19959
 
# Check whether --enable-dht was given.
19960
 
if test "${enable_dht+set}" = set; then
19961
 
  enableval=$enable_dht; enable_dht=${enableval}
19962
 
else
19963
 
  enable_dht=yes
19964
 
fi
19965
 
 
19966
 
if test "x$enable_dht" = "xno" ; then
19967
 
    cat >>confdefs.h <<\_ACEOF
19968
 
#define WITHOUT_DHT 1
19969
 
_ACEOF
19970
 
 
19971
 
    DHT_CFLAGS=""
19972
 
    DHT_LIBS=""
19973
 
else
19974
 
    DHT_CFLAGS="-I\$(top_srcdir)/third-party/dht"
19975
 
    DHT_LIBS="\$(top_builddir)/third-party/dht/libdht.a"
19976
 
fi
19977
 
 if test "x$enable_dht" = "xyes"; then
19978
 
  DHT_TRUE=
19979
 
  DHT_FALSE='#'
19980
 
else
19981
 
  DHT_TRUE='#'
19982
 
  DHT_FALSE=
19983
 
fi
19984
 
 
 
20103
DHT_CFLAGS="-I\$(top_srcdir)/third-party/dht"
 
20104
DHT_LIBS="\$(top_builddir)/third-party/dht/libdht.a"
19985
20105
 
19986
20106
 
19987
20107
 
20288
20408
 
20289
20409
 
20290
20410
pkg_failed=no
 
20411
{ $as_echo "$as_me:$LINENO: checking for LIBCANBERRA" >&5
 
20412
$as_echo_n "checking for LIBCANBERRA... " >&6; }
 
20413
 
 
20414
if test -n "$PKG_CONFIG"; then
 
20415
    if test -n "$LIBCANBERRA_CFLAGS"; then
 
20416
        pkg_cv_LIBCANBERRA_CFLAGS="$LIBCANBERRA_CFLAGS"
 
20417
    else
 
20418
        if test -n "$PKG_CONFIG" && \
 
20419
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= \$CANBERRA_MINIMUM\"") >&5
 
20420
  ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM") 2>&5
 
20421
  ac_status=$?
 
20422
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20423
  (exit $ac_status); }; then
 
20424
  pkg_cv_LIBCANBERRA_CFLAGS=`$PKG_CONFIG --cflags "libcanberra-gtk >= $CANBERRA_MINIMUM" 2>/dev/null`
 
20425
else
 
20426
  pkg_failed=yes
 
20427
fi
 
20428
    fi
 
20429
else
 
20430
        pkg_failed=untried
 
20431
fi
 
20432
if test -n "$PKG_CONFIG"; then
 
20433
    if test -n "$LIBCANBERRA_LIBS"; then
 
20434
        pkg_cv_LIBCANBERRA_LIBS="$LIBCANBERRA_LIBS"
 
20435
    else
 
20436
        if test -n "$PKG_CONFIG" && \
 
20437
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libcanberra-gtk >= \$CANBERRA_MINIMUM\"") >&5
 
20438
  ($PKG_CONFIG --exists --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM") 2>&5
 
20439
  ac_status=$?
 
20440
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20441
  (exit $ac_status); }; then
 
20442
  pkg_cv_LIBCANBERRA_LIBS=`$PKG_CONFIG --libs "libcanberra-gtk >= $CANBERRA_MINIMUM" 2>/dev/null`
 
20443
else
 
20444
  pkg_failed=yes
 
20445
fi
 
20446
    fi
 
20447
else
 
20448
        pkg_failed=untried
 
20449
fi
 
20450
 
 
20451
 
 
20452
 
 
20453
if test $pkg_failed = yes; then
 
20454
 
 
20455
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20456
        _pkg_short_errors_supported=yes
 
20457
else
 
20458
        _pkg_short_errors_supported=no
 
20459
fi
 
20460
        if test $_pkg_short_errors_supported = yes; then
 
20461
                LIBCANBERRA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM"`
 
20462
        else
 
20463
                LIBCANBERRA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM"`
 
20464
        fi
 
20465
        # Put the nasty error message in config.log where it belongs
 
20466
        echo "$LIBCANBERRA_PKG_ERRORS" >&5
 
20467
 
 
20468
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
20469
$as_echo "no" >&6; }
 
20470
                have_libcanberra=no
 
20471
elif test $pkg_failed = untried; then
 
20472
        have_libcanberra=no
 
20473
else
 
20474
        LIBCANBERRA_CFLAGS=$pkg_cv_LIBCANBERRA_CFLAGS
 
20475
        LIBCANBERRA_LIBS=$pkg_cv_LIBCANBERRA_LIBS
 
20476
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
20477
$as_echo "yes" >&6; }
 
20478
        have_libcanberra=yes
 
20479
fi
 
20480
    # Check whether --enable-libcanberra was given.
 
20481
if test "${enable_libcanberra+set}" = set; then
 
20482
  enableval=$enable_libcanberra;
 
20483
else
 
20484
  enable_libcanberra=yes
 
20485
fi
 
20486
 
 
20487
    use_canberra=no
 
20488
    if test "x$enable_libcanberra" = "xyes" ; then
 
20489
        if test "x$have_libcanberra" = "xyes"; then
 
20490
            use_canberra=yes
 
20491
 
 
20492
 
 
20493
            cat >>confdefs.h <<\_ACEOF
 
20494
#define HAVE_LIBCANBERRA 1
 
20495
_ACEOF
 
20496
 
 
20497
        fi
 
20498
    fi
 
20499
 
 
20500
 
 
20501
pkg_failed=no
 
20502
{ $as_echo "$as_me:$LINENO: checking for LIBGCONF" >&5
 
20503
$as_echo_n "checking for LIBGCONF... " >&6; }
 
20504
 
 
20505
if test -n "$PKG_CONFIG"; then
 
20506
    if test -n "$LIBGCONF_CFLAGS"; then
 
20507
        pkg_cv_LIBGCONF_CFLAGS="$LIBGCONF_CFLAGS"
 
20508
    else
 
20509
        if test -n "$PKG_CONFIG" && \
 
20510
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= \$GCONF2_MINIMUM\"") >&5
 
20511
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= $GCONF2_MINIMUM") 2>&5
 
20512
  ac_status=$?
 
20513
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20514
  (exit $ac_status); }; then
 
20515
  pkg_cv_LIBGCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= $GCONF2_MINIMUM" 2>/dev/null`
 
20516
else
 
20517
  pkg_failed=yes
 
20518
fi
 
20519
    fi
 
20520
else
 
20521
        pkg_failed=untried
 
20522
fi
 
20523
if test -n "$PKG_CONFIG"; then
 
20524
    if test -n "$LIBGCONF_LIBS"; then
 
20525
        pkg_cv_LIBGCONF_LIBS="$LIBGCONF_LIBS"
 
20526
    else
 
20527
        if test -n "$PKG_CONFIG" && \
 
20528
    { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= \$GCONF2_MINIMUM\"") >&5
 
20529
  ($PKG_CONFIG --exists --print-errors "gconf-2.0 >= $GCONF2_MINIMUM") 2>&5
 
20530
  ac_status=$?
 
20531
  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20532
  (exit $ac_status); }; then
 
20533
  pkg_cv_LIBGCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= $GCONF2_MINIMUM" 2>/dev/null`
 
20534
else
 
20535
  pkg_failed=yes
 
20536
fi
 
20537
    fi
 
20538
else
 
20539
        pkg_failed=untried
 
20540
fi
 
20541
 
 
20542
 
 
20543
 
 
20544
if test $pkg_failed = yes; then
 
20545
 
 
20546
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20547
        _pkg_short_errors_supported=yes
 
20548
else
 
20549
        _pkg_short_errors_supported=no
 
20550
fi
 
20551
        if test $_pkg_short_errors_supported = yes; then
 
20552
                LIBGCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-2.0 >= $GCONF2_MINIMUM"`
 
20553
        else
 
20554
                LIBGCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= $GCONF2_MINIMUM"`
 
20555
        fi
 
20556
        # Put the nasty error message in config.log where it belongs
 
20557
        echo "$LIBGCONF_PKG_ERRORS" >&5
 
20558
 
 
20559
        { $as_echo "$as_me:$LINENO: result: no" >&5
 
20560
$as_echo "no" >&6; }
 
20561
                have_libgconf=no
 
20562
elif test $pkg_failed = untried; then
 
20563
        have_libgconf=no
 
20564
else
 
20565
        LIBGCONF_CFLAGS=$pkg_cv_LIBGCONF_CFLAGS
 
20566
        LIBGCONF_LIBS=$pkg_cv_LIBGCONF_LIBS
 
20567
        { $as_echo "$as_me:$LINENO: result: yes" >&5
 
20568
$as_echo "yes" >&6; }
 
20569
        have_libgconf=yes
 
20570
fi
 
20571
    # Check whether --enable-gconf2 was given.
 
20572
if test "${enable_gconf2+set}" = set; then
 
20573
  enableval=$enable_gconf2;
 
20574
else
 
20575
  enable_libgconf=yes
 
20576
fi
 
20577
 
 
20578
    use_libgconf=no
 
20579
    if test "x$enable_libgconf" = "xyes" ; then
 
20580
        if test "x$have_libgconf" = "xyes"; then
 
20581
            use_libgconf=yes
 
20582
 
 
20583
 
 
20584
            cat >>confdefs.h <<\_ACEOF
 
20585
#define HAVE_LIBGCONF 1
 
20586
_ACEOF
 
20587
 
 
20588
        fi
 
20589
    fi
 
20590
 
 
20591
 
 
20592
pkg_failed=no
20291
20593
{ $as_echo "$as_me:$LINENO: checking for DBUS_GLIB" >&5
20292
20594
$as_echo_n "checking for DBUS_GLIB... " >&6; }
20293
20595
 
23272
23574
Usually this means the macro was only invoked conditionally." >&2;}
23273
23575
   { (exit 1); exit 1; }; }
23274
23576
fi
23275
 
if test -z "${DHT_TRUE}" && test -z "${DHT_FALSE}"; then
23276
 
  { { $as_echo "$as_me:$LINENO: error: conditional \"DHT\" was never defined.
23277
 
Usually this means the macro was only invoked conditionally." >&5
23278
 
$as_echo "$as_me: error: conditional \"DHT\" was never defined.
23279
 
Usually this means the macro was only invoked conditionally." >&2;}
23280
 
   { (exit 1); exit 1; }; }
23281
 
fi
23282
23577
if test -z "${BUILD_GTK_TRUE}" && test -z "${BUILD_GTK_FALSE}"; then
23283
23578
  { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_GTK\" was never defined.
23284
23579
Usually this means the macro was only invoked conditionally." >&5
23640
23935
# report actual input values of CONFIG_FILES etc. instead of their
23641
23936
# values after options handling.
23642
23937
ac_log="
23643
 
This file was extended by transmission $as_me 1.75, which was
 
23938
This file was extended by transmission $as_me 1.80b1, which was
23644
23939
generated by GNU Autoconf 2.63.  Invocation command line was
23645
23940
 
23646
23941
  CONFIG_FILES    = $CONFIG_FILES
23694
23989
_ACEOF
23695
23990
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23696
23991
ac_cs_version="\\
23697
 
transmission config.status 1.75
 
23992
transmission config.status 1.80b1
23698
23993
configured by $0, generated by GNU Autoconf 2.63,
23699
23994
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23700
23995
 
25851
26146
        Source code location:          ${srcdir}
25852
26147
        Compiler:                      ${CXX}
25853
26148
        System or bundled libevent:    ${libevent_source}
25854
 
        DHT support:                   ${enable_dht}
25855
26149
 
25856
26150
        Build Mac client:              ${build_mac}
25857
26151
        Build GTK+ client:             ${build_gtk}
 
26152
          ... with canberra support:   ${use_canberra}
25858
26153
          ... with gio support:        ${use_gio}
25859
26154
          ... with dbus-glib support:  ${use_dbus_glib}
 
26155
          ... with libgconf support:   ${use_libgconf}
25860
26156
          ... with libnotify support:  ${use_libnotify}
25861
26157
        Build Command-Line client:     ${build_cli}
25862
26158
        Build Daemon:                  ${build_daemon}