18748
for ac_func in lseek64
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
18756
cat >conftest.$ac_ext <<_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
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. */
18772
# include <limits.h>
18774
# include <assert.h>
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. */
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
18796
return $ac_func ();
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;;
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
18811
grep -v '^ *+' conftest.er1 >conftest.err
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
18822
eval "$as_ac_var=yes"
18824
$as_echo "$as_me: failed program was:" >&5
18825
sed 's/^/| /' conftest.$ac_ext >&5
18827
eval "$as_ac_var=no"
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
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
18707
18851
{ $as_echo "$as_me:$LINENO: checking whether posix_fadvise is declared" >&5
20290
20410
pkg_failed=no
20411
{ $as_echo "$as_me:$LINENO: checking for LIBCANBERRA" >&5
20412
$as_echo_n "checking for LIBCANBERRA... " >&6; }
20414
if test -n "$PKG_CONFIG"; then
20415
if test -n "$LIBCANBERRA_CFLAGS"; then
20416
pkg_cv_LIBCANBERRA_CFLAGS="$LIBCANBERRA_CFLAGS"
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
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`
20432
if test -n "$PKG_CONFIG"; then
20433
if test -n "$LIBCANBERRA_LIBS"; then
20434
pkg_cv_LIBCANBERRA_LIBS="$LIBCANBERRA_LIBS"
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
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`
20453
if test $pkg_failed = yes; then
20455
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20456
_pkg_short_errors_supported=yes
20458
_pkg_short_errors_supported=no
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"`
20463
LIBCANBERRA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcanberra-gtk >= $CANBERRA_MINIMUM"`
20465
# Put the nasty error message in config.log where it belongs
20466
echo "$LIBCANBERRA_PKG_ERRORS" >&5
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
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
20480
# Check whether --enable-libcanberra was given.
20481
if test "${enable_libcanberra+set}" = set; then
20482
enableval=$enable_libcanberra;
20484
enable_libcanberra=yes
20488
if test "x$enable_libcanberra" = "xyes" ; then
20489
if test "x$have_libcanberra" = "xyes"; then
20493
cat >>confdefs.h <<\_ACEOF
20494
#define HAVE_LIBCANBERRA 1
20502
{ $as_echo "$as_me:$LINENO: checking for LIBGCONF" >&5
20503
$as_echo_n "checking for LIBGCONF... " >&6; }
20505
if test -n "$PKG_CONFIG"; then
20506
if test -n "$LIBGCONF_CFLAGS"; then
20507
pkg_cv_LIBGCONF_CFLAGS="$LIBGCONF_CFLAGS"
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
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`
20523
if test -n "$PKG_CONFIG"; then
20524
if test -n "$LIBGCONF_LIBS"; then
20525
pkg_cv_LIBGCONF_LIBS="$LIBGCONF_LIBS"
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
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`
20544
if test $pkg_failed = yes; then
20546
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20547
_pkg_short_errors_supported=yes
20549
_pkg_short_errors_supported=no
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"`
20554
LIBGCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0 >= $GCONF2_MINIMUM"`
20556
# Put the nasty error message in config.log where it belongs
20557
echo "$LIBGCONF_PKG_ERRORS" >&5
20559
{ $as_echo "$as_me:$LINENO: result: no" >&5
20560
$as_echo "no" >&6; }
20562
elif test $pkg_failed = untried; then
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; }
20571
# Check whether --enable-gconf2 was given.
20572
if test "${enable_gconf2+set}" = set; then
20573
enableval=$enable_gconf2;
20575
enable_libgconf=yes
20579
if test "x$enable_libgconf" = "xyes" ; then
20580
if test "x$have_libgconf" = "xyes"; then
20584
cat >>confdefs.h <<\_ACEOF
20585
#define HAVE_LIBGCONF 1
20291
20593
{ $as_echo "$as_me:$LINENO: checking for DBUS_GLIB" >&5
20292
20594
$as_echo_n "checking for DBUS_GLIB... " >&6; }