2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for telepathy-mission-control 5.2.2.
3
# Generated by GNU Autoconf 2.64 for telepathy-mission-control 5.3.1.
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
5208
5227
lt_cv_nm_interface="BSD nm"
5209
5228
echo "int some_variable = 0;" > conftest.$ac_ext
5210
(eval echo "\"\$as_me:5210: $ac_compile\"" >&5)
5229
(eval echo "\"\$as_me:5229: $ac_compile\"" >&5)
5211
5230
(eval "$ac_compile" 2>conftest.err)
5212
5231
cat conftest.err >&5
5213
(eval echo "\"\$as_me:5213: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5232
(eval echo "\"\$as_me:5232: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5214
5233
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5215
5234
cat conftest.err >&5
5216
(eval echo "\"\$as_me:5216: output\"" >&5)
5235
(eval echo "\"\$as_me:5235: output\"" >&5)
5217
5236
cat conftest.out >&5
5218
5237
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5219
5238
lt_cv_nm_interface="MS dumpbin"
8321
8340
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8322
8341
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8323
8342
-e 's:$: $lt_compiler_flag:'`
8324
(eval echo "\"\$as_me:8324: $lt_compile\"" >&5)
8343
(eval echo "\"\$as_me:8343: $lt_compile\"" >&5)
8325
8344
(eval "$lt_compile" 2>conftest.err)
8327
8346
cat conftest.err >&5
8328
echo "$as_me:8328: \$? = $ac_status" >&5
8347
echo "$as_me:8347: \$? = $ac_status" >&5
8329
8348
if (exit $ac_status) && test -s "$ac_outfile"; then
8330
8349
# The compiler can only warn and ignore the option if not recognized
8331
8350
# So say no if there are warnings other than the usual output.
8660
8679
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8661
8680
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8662
8681
-e 's:$: $lt_compiler_flag:'`
8663
(eval echo "\"\$as_me:8663: $lt_compile\"" >&5)
8682
(eval echo "\"\$as_me:8682: $lt_compile\"" >&5)
8664
8683
(eval "$lt_compile" 2>conftest.err)
8666
8685
cat conftest.err >&5
8667
echo "$as_me:8667: \$? = $ac_status" >&5
8686
echo "$as_me:8686: \$? = $ac_status" >&5
8668
8687
if (exit $ac_status) && test -s "$ac_outfile"; then
8669
8688
# The compiler can only warn and ignore the option if not recognized
8670
8689
# So say no if there are warnings other than the usual output.
13255
13274
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13256
13275
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13257
13276
-e 's:$: $lt_compiler_flag:'`
13258
(eval echo "\"\$as_me:13258: $lt_compile\"" >&5)
13277
(eval echo "\"\$as_me:13277: $lt_compile\"" >&5)
13259
13278
(eval "$lt_compile" 2>conftest.err)
13261
13280
cat conftest.err >&5
13262
echo "$as_me:13262: \$? = $ac_status" >&5
13281
echo "$as_me:13281: \$? = $ac_status" >&5
13263
13282
if (exit $ac_status) && test -s "$ac_outfile"; then
13264
13283
# The compiler can only warn and ignore the option if not recognized
13265
13284
# So say no if there are warnings other than the usual output.
14853
14872
as_fn_error "xsltproc (from the libxslt source package) is required" "$LINENO" 5
14857
for ac_prog in python2.3 python2.4 python2.5 python
14859
# Extract the first word of "$ac_prog", so it can be a program name with args.
14860
set dummy $ac_prog; ac_word=$2
14879
if test -n "$PYTHON"; then
14880
# If the user set $PYTHON, use it and don't search something else.
14881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
14882
$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
14883
prog="import sys, string
14884
# split strings by '.' and convert to numeric. Append some zeros
14885
# because we need at least 4 digits for the hex conversion.
14886
minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
14888
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
14889
sys.exit(sys.hexversion < minverhex)"
14890
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14891
($PYTHON -c "$prog") >&5 2>&5
14893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894
(exit $ac_status); }; then :
14895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14896
$as_echo "yes" >&6; }
14898
as_fn_error "too old" "$LINENO" 5
14900
am_display_PYTHON=$PYTHON
14902
# Otherwise, try each interpreter until we find one that satisfies
14904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
14905
$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
14906
if test "${am_cv_pathless_PYTHON+set}" = set; then :
14907
$as_echo_n "(cached) " >&6
14910
for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
14911
test "$am_cv_pathless_PYTHON" = none && break
14912
prog="import sys, string
14913
# split strings by '.' and convert to numeric. Append some zeros
14914
# because we need at least 4 digits for the hex conversion.
14915
minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
14917
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
14918
sys.exit(sys.hexversion < minverhex)"
14919
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14920
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14922
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923
(exit $ac_status); }; then :
14928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14929
$as_echo "$am_cv_pathless_PYTHON" >&6; }
14930
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14931
if test "$am_cv_pathless_PYTHON" = none; then
14934
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14935
set dummy $am_cv_pathless_PYTHON; ac_word=$2
14861
14936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14862
14937
$as_echo_n "checking for $ac_word... " >&6; }
14863
if test "${ac_cv_prog_PYTHON+set}" = set; then :
14938
if test "${ac_cv_path_PYTHON+set}" = set; then :
14864
14939
$as_echo_n "(cached) " >&6
14866
if test -n "$PYTHON"; then
14867
ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test.
14869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14943
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14946
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14870
14947
for as_dir in $PATH
14872
14949
IFS=$as_save_IFS
14873
14950
test -z "$as_dir" && as_dir=.
14874
14951
for ac_exec_ext in '' $ac_executable_extensions; do
14875
14952
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14876
ac_cv_prog_PYTHON="$ac_prog"
14953
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14877
14954
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14896
test -n "$PYTHON" && break
14899
if test -z "$PYTHON"; then
14900
as_fn_error "Python is required to compile this package" "$LINENO" 5
14903
# Check for a python >= 2.4 with twisted to run python tests
14904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python >= 2.4 with Twisted and XMPP protocol support" >&5
14905
$as_echo_n "checking for Python >= 2.4 with Twisted and XMPP protocol support... " >&6; }
14906
for TEST_PYTHON in python2.4 python2.5 python; do
14907
if $TEST_PYTHON -c "from sys import version_info;
14908
raise SystemExit(version_info < (2, 4, 0, 'final', 0))" \
14909
>/dev/null 2>&1; then
14910
if $TEST_PYTHON -c "import twisted.words.xish.domish,
14911
twisted.words.protocols.jabber, twisted.internet.reactor" \
14912
>/dev/null 2>&1; then
14913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_PYTHON" >&5
14914
$as_echo "$TEST_PYTHON" >&6; }
14918
WANT_TWISTED_TESTS_TRUE=
14919
WANT_TWISTED_TESTS_FALSE='#'
14921
WANT_TWISTED_TESTS_TRUE='#'
14922
WANT_TWISTED_TESTS_FALSE=
14975
am_display_PYTHON=$am_cv_pathless_PYTHON
14979
if test "$PYTHON" = :; then
14980
as_fn_error "no suitable Python interpreter found" "$LINENO" 5
14984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14985
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14986
if test "${am_cv_python_version+set}" = set; then :
14987
$as_echo_n "(cached) " >&6
14989
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
14991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14992
$as_echo "$am_cv_python_version" >&6; }
14993
PYTHON_VERSION=$am_cv_python_version
14997
PYTHON_PREFIX='${prefix}'
14999
PYTHON_EXEC_PREFIX='${exec_prefix}'
15003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
15004
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
15005
if test "${am_cv_python_platform+set}" = set; then :
15006
$as_echo_n "(cached) " >&6
15008
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
15010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
15011
$as_echo "$am_cv_python_platform" >&6; }
15012
PYTHON_PLATFORM=$am_cv_python_platform
15017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
15018
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
15019
if test "${am_cv_python_pythondir+set}" = set; then :
15020
$as_echo_n "(cached) " >&6
15022
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
15023
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
15025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
15026
$as_echo "$am_cv_python_pythondir" >&6; }
15027
pythondir=$am_cv_python_pythondir
15031
pkgpythondir=\${pythondir}/$PACKAGE
15034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
15035
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
15036
if test "${am_cv_python_pyexecdir+set}" = set; then :
15037
$as_echo_n "(cached) " >&6
15039
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
15040
echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
15042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
15043
$as_echo "$am_cv_python_pyexecdir" >&6; }
15044
pyexecdir=$am_cv_python_pyexecdir
15048
pkgpyexecdir=\${pyexecdir}/$PACKAGE
14934
if test false != "$TEST_PYTHON"; then
15055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for enough Python for the tests" >&5
15056
$as_echo_n "checking for enough Python for the tests... " >&6; }
15057
mc_want_twisted_tests=no
15058
if $PYTHON -c "import twisted.internet.reactor, dbus.mainloop.glib"\
15059
>/dev/null 2>&1; then
15060
mc_want_twisted_tests=yes
15062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mc_want_twisted_tests" >&5
15063
$as_echo "$mc_want_twisted_tests" >&6; }
15066
if test yes = "$mc_want_twisted_tests"; then
14935
15067
WANT_TWISTED_TESTS_TRUE=
14936
15068
WANT_TWISTED_TESTS_FALSE='#'
15547
if test "x$keyring_enabled" = xauto
15549
if test -n "$PKG_CONFIG" && \
15550
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
15551
($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
15553
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15554
test $ac_status = 0; }; then
15555
keyring_enabled=yes
15563
if test x$keyring_enabled = xyes; then
15564
ENABLE_GNOME_KEYRING_TRUE=
15565
ENABLE_GNOME_KEYRING_FALSE='#'
15567
ENABLE_GNOME_KEYRING_TRUE='#'
15568
ENABLE_GNOME_KEYRING_FALSE=
15572
if test "x$keyring_enabled" = xyes
15576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_KEYRING" >&5
15577
$as_echo_n "checking for GNOME_KEYRING... " >&6; }
15579
if test -n "$PKG_CONFIG"; then
15580
if test -n "$GNOME_KEYRING_CFLAGS"; then
15581
pkg_cv_GNOME_KEYRING_CFLAGS="$GNOME_KEYRING_CFLAGS"
15583
if test -n "$PKG_CONFIG" && \
15584
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
15585
($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
15587
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15588
test $ac_status = 0; }; then
15589
pkg_cv_GNOME_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
15597
if test -n "$PKG_CONFIG"; then
15598
if test -n "$GNOME_KEYRING_LIBS"; then
15599
pkg_cv_GNOME_KEYRING_LIBS="$GNOME_KEYRING_LIBS"
15601
if test -n "$PKG_CONFIG" && \
15602
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\""; } >&5
15603
($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
15605
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15606
test $ac_status = 0; }; then
15607
pkg_cv_GNOME_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
15618
if test $pkg_failed = yes; then
15620
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15621
_pkg_short_errors_supported=yes
15623
_pkg_short_errors_supported=no
15625
if test $_pkg_short_errors_supported = yes; then
15626
GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1"`
15628
GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1"`
15630
# Put the nasty error message in config.log where it belongs
15631
echo "$GNOME_KEYRING_PKG_ERRORS" >&5
15633
as_fn_error "Package requirements (gnome-keyring-1) were not met:
15635
$GNOME_KEYRING_PKG_ERRORS
15637
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15638
installed software in a non-standard prefix.
15640
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
15641
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
15642
See the pkg-config man page for more details.
15644
elif test $pkg_failed = untried; then
15645
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15646
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15647
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
15648
is in your PATH or set the PKG_CONFIG environment variable to the full
15649
path to pkg-config.
15651
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
15652
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
15653
See the pkg-config man page for more details.
15655
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15656
See \`config.log' for more details." "$LINENO" 5; }
15658
GNOME_KEYRING_CFLAGS=$pkg_cv_GNOME_KEYRING_CFLAGS
15659
GNOME_KEYRING_LIBS=$pkg_cv_GNOME_KEYRING_LIBS
15660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15661
$as_echo "yes" >&6; }
15667
$as_echo "#define ENABLE_GNOME_KEYRING 1" >>confdefs.h
15671
$as_echo "#define ENABLE_GNOME_KEYRING 0" >>confdefs.h
15395
15676
pkg_failed=no
15396
15677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
15397
15678
$as_echo_n "checking for DBUS... " >&6; }