17324
UUID_MIN_VERSION=1.0
17327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
17328
$as_echo_n "checking for UUID... " >&6; }
17330
if test -n "$UUID_CFLAGS"; then
17331
pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
17332
elif test -n "$PKG_CONFIG"; then
17333
if test -n "$PKG_CONFIG" && \
17334
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \${UUID_MIN_VERSION}\""; } >&5
17335
($PKG_CONFIG --exists --print-errors "uuid >= ${UUID_MIN_VERSION}") 2>&5
17337
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17338
test $ac_status = 0; }; then
17339
pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= ${UUID_MIN_VERSION}" 2>/dev/null`
17340
test "x$?" != "x0" && pkg_failed=yes
17347
if test -n "$UUID_LIBS"; then
17348
pkg_cv_UUID_LIBS="$UUID_LIBS"
17349
elif test -n "$PKG_CONFIG"; then
17350
if test -n "$PKG_CONFIG" && \
17351
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \${UUID_MIN_VERSION}\""; } >&5
17352
($PKG_CONFIG --exists --print-errors "uuid >= ${UUID_MIN_VERSION}") 2>&5
17354
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17355
test $ac_status = 0; }; then
17356
pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= ${UUID_MIN_VERSION}" 2>/dev/null`
17357
test "x$?" != "x0" && pkg_failed=yes
17367
if test $pkg_failed = yes; then
17368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17369
$as_echo "no" >&6; }
17371
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17372
_pkg_short_errors_supported=yes
17374
_pkg_short_errors_supported=no
17376
if test $_pkg_short_errors_supported = yes; then
17377
UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= ${UUID_MIN_VERSION}" 2>&1`
17379
UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= ${UUID_MIN_VERSION}" 2>&1`
17381
# Put the nasty error message in config.log where it belongs
17382
echo "$UUID_PKG_ERRORS" >&5
17385
elif test $pkg_failed = untried; then
17386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17387
$as_echo "no" >&6; }
17390
UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
17391
UUID_LIBS=$pkg_cv_UUID_LIBS
17392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17393
$as_echo "yes" >&6; }
17398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing yaml_parser_initialize" >&5
17399
$as_echo_n "checking for library containing yaml_parser_initialize... " >&6; }
17400
if ${ac_cv_search_yaml_parser_initialize+:} false; then :
17401
$as_echo_n "(cached) " >&6
17403
ac_func_search_save_LIBS=$LIBS
17404
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405
/* end confdefs.h. */
17407
/* Override any GCC internal prototype to avoid an error.
17408
Use char because int might match the return type of a GCC
17409
builtin and then its argument prototype would still apply. */
17413
char yaml_parser_initialize ();
17417
return yaml_parser_initialize ();
17422
for ac_lib in '' yaml; do
17423
if test -z "$ac_lib"; then
17424
ac_res="none required"
17427
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17429
if ac_fn_cxx_try_link "$LINENO"; then :
17430
ac_cv_search_yaml_parser_initialize=$ac_res
17432
rm -f core conftest.err conftest.$ac_objext \
17434
if ${ac_cv_search_yaml_parser_initialize+:} false; then :
17438
if ${ac_cv_search_yaml_parser_initialize+:} false; then :
17441
ac_cv_search_yaml_parser_initialize=no
17443
rm conftest.$ac_ext
17444
LIBS=$ac_func_search_save_LIBS
17446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yaml_parser_initialize" >&5
17447
$as_echo "$ac_cv_search_yaml_parser_initialize" >&6; }
17448
ac_res=$ac_cv_search_yaml_parser_initialize
17449
if test "$ac_res" != no; then :
17450
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17455
as_fn_error $? "Unable to find yaml development files" "$LINENO" 5
17460
LIBCRYPTO_MIN_VERSION=1.0
17463
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
17464
$as_echo_n "checking for LIBCRYPTO... " >&6; }
17466
if test -n "$LIBCRYPTO_CFLAGS"; then
17467
pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
17468
elif test -n "$PKG_CONFIG"; then
17469
if test -n "$PKG_CONFIG" && \
17470
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= \${LIBCRYPTO_MIN_VERSION}\""; } >&5
17471
($PKG_CONFIG --exists --print-errors "libcrypto >= ${LIBCRYPTO_MIN_VERSION}") 2>&5
17473
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17474
test $ac_status = 0; }; then
17475
pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>/dev/null`
17476
test "x$?" != "x0" && pkg_failed=yes
17483
if test -n "$LIBCRYPTO_LIBS"; then
17484
pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
17485
elif test -n "$PKG_CONFIG"; then
17486
if test -n "$PKG_CONFIG" && \
17487
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= \${LIBCRYPTO_MIN_VERSION}\""; } >&5
17488
($PKG_CONFIG --exists --print-errors "libcrypto >= ${LIBCRYPTO_MIN_VERSION}") 2>&5
17490
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17491
test $ac_status = 0; }; then
17492
pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>/dev/null`
17493
test "x$?" != "x0" && pkg_failed=yes
17503
if test $pkg_failed = yes; then
17504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17505
$as_echo "no" >&6; }
17507
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17508
_pkg_short_errors_supported=yes
17510
_pkg_short_errors_supported=no
17512
if test $_pkg_short_errors_supported = yes; then
17513
LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>&1`
17515
LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>&1`
17517
# Put the nasty error message in config.log where it belongs
17518
echo "$LIBCRYPTO_PKG_ERRORS" >&5
17520
HAVE_LIBCRYPTO=false
17521
elif test $pkg_failed = untried; then
17522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17523
$as_echo "no" >&6; }
17524
HAVE_LIBCRYPTO=false
17526
LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
17527
LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
17528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17529
$as_echo "yes" >&6; }
17530
HAVE_LIBCRYPTO=true
17327
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiling with clang" >&5
17328
$as_echo_n "checking if compiling with clang... " >&6; }
17329
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17330
/* end confdefs.h. */
17344
if ac_fn_cxx_try_compile "$LINENO"; then :
17349
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CLANG" >&5
17352
$as_echo "$CLANG" >&6; }
17354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiling for android" >&5
17355
$as_echo_n "checking if compiling for android... " >&6; }
17356
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357
/* end confdefs.h. */
17363
#ifndef __ANDROID__
17371
if ac_fn_cxx_try_compile "$LINENO"; then :
17376
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ANDROID" >&5
17379
$as_echo "$ANDROID" >&6; }
17380
if test "x$ANDROID" = "xyes"; then
17382
USE_ANDROID_FALSE='#'
17384
USE_ANDROID_TRUE='#'
17391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for YAML" >&5
17392
$as_echo_n "checking for YAML... " >&6; }
17394
if test -n "$YAML_CFLAGS"; then
17395
pkg_cv_YAML_CFLAGS="$YAML_CFLAGS"
17396
elif test -n "$PKG_CONFIG"; then
17397
if test -n "$PKG_CONFIG" && \
17398
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"yaml-0.1\""; } >&5
17399
($PKG_CONFIG --exists --print-errors "yaml-0.1") 2>&5
17401
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17402
test $ac_status = 0; }; then
17403
pkg_cv_YAML_CFLAGS=`$PKG_CONFIG --cflags "yaml-0.1" 2>/dev/null`
17404
test "x$?" != "x0" && pkg_failed=yes
17411
if test -n "$YAML_LIBS"; then
17412
pkg_cv_YAML_LIBS="$YAML_LIBS"
17413
elif test -n "$PKG_CONFIG"; then
17414
if test -n "$PKG_CONFIG" && \
17415
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"yaml-0.1\""; } >&5
17416
($PKG_CONFIG --exists --print-errors "yaml-0.1") 2>&5
17418
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17419
test $ac_status = 0; }; then
17420
pkg_cv_YAML_LIBS=`$PKG_CONFIG --libs "yaml-0.1" 2>/dev/null`
17421
test "x$?" != "x0" && pkg_failed=yes
17431
if test $pkg_failed = yes; then
17432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17433
$as_echo "no" >&6; }
17435
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17436
_pkg_short_errors_supported=yes
17438
_pkg_short_errors_supported=no
17440
if test $_pkg_short_errors_supported = yes; then
17441
YAML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "yaml-0.1" 2>&1`
17443
YAML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "yaml-0.1" 2>&1`
17445
# Put the nasty error message in config.log where it belongs
17446
echo "$YAML_PKG_ERRORS" >&5
17448
as_fn_error $? "Unable to find yaml" "$LINENO" 5
17449
elif test $pkg_failed = untried; then
17450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17451
$as_echo "no" >&6; }
17452
as_fn_error $? "Unable to find yaml" "$LINENO" 5
17454
YAML_CFLAGS=$pkg_cv_YAML_CFLAGS
17455
YAML_LIBS=$pkg_cv_YAML_LIBS
17456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17457
$as_echo "yes" >&6; }
17461
if test "x$ANDROID" = "xyes"; then
17463
# Check whether --with-opensl was given.
17464
if test "${with_opensl+set}" = set; then :
17465
withval=$with_opensl;
17469
if test "x$with_opensl" != "xno"; then :
17470
as_ac_Header=`$as_echo "ac_cv_header_"SLES/OpenSLES.h"" | $as_tr_sh`
17471
ac_fn_cxx_check_header_mongrel "$LINENO" ""SLES/OpenSLES.h"" "$as_ac_Header" "$ac_includes_default"
17472
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17483
cat >>confdefs.h <<_ACEOF
17484
#define HAVE_OPENSL `if test "x$have_opensl" = "xyes"; then echo 1; else echo 0; fi`
17488
if test "x$have_opensl" = "xyes"; then
17490
BUILD_OPENSL_FALSE='#'
17492
BUILD_OPENSL_TRUE='#'
17493
BUILD_OPENSL_FALSE=
17534
17497
ALSA_MIN_VERSION=1.0
17698
# Check whether --with-jack was given.
17699
if test "${with_jack+set}" = set; then :
17700
withval=$with_jack;
17704
if test "x$with_jack" != "xno"; then :
17707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
17708
$as_echo_n "checking for JACK... " >&6; }
17710
if test -n "$JACK_CFLAGS"; then
17711
pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
17712
elif test -n "$PKG_CONFIG"; then
17713
if test -n "$PKG_CONFIG" && \
17714
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5
17715
($PKG_CONFIG --exists --print-errors "jack") 2>&5
17717
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17718
test $ac_status = 0; }; then
17719
pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack" 2>/dev/null`
17720
test "x$?" != "x0" && pkg_failed=yes
17727
if test -n "$JACK_LIBS"; then
17728
pkg_cv_JACK_LIBS="$JACK_LIBS"
17729
elif test -n "$PKG_CONFIG"; then
17730
if test -n "$PKG_CONFIG" && \
17731
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5
17732
($PKG_CONFIG --exists --print-errors "jack") 2>&5
17734
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17735
test $ac_status = 0; }; then
17736
pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack" 2>/dev/null`
17737
test "x$?" != "x0" && pkg_failed=yes
17747
if test $pkg_failed = yes; then
17748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17749
$as_echo "no" >&6; }
17751
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17752
_pkg_short_errors_supported=yes
17754
_pkg_short_errors_supported=no
17756
if test $_pkg_short_errors_supported = yes; then
17757
JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack" 2>&1`
17759
JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack" 2>&1`
17761
# Put the nasty error message in config.log where it belongs
17762
echo "$JACK_PKG_ERRORS" >&5
17765
elif test $pkg_failed = untried; then
17766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17767
$as_echo "no" >&6; }
17770
JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
17771
JACK_LIBS=$pkg_cv_JACK_LIBS
17772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17773
$as_echo "yes" >&6; }
17780
if test "x$have_jack" = "xyes"; then :
17783
if test "x$with_jack" = "xyes"; then :
17784
as_fn_error $? "jack requested but not found" "$LINENO" 5
17791
cat >>confdefs.h <<_ACEOF
17792
#define HAVE_JACK `if test "x$have_jack" = "xyes"; then echo 1; else echo 0; fi`
17795
if test "x$have_jack" = "xyes"; then
17797
BUILD_JACK_FALSE='#'
17799
BUILD_JACK_TRUE='#'
17734
17804
LIBSAMPLERATE_MIN_VERSION=0.1.2
17736
17806
pkg_failed=no
18356
LIBCCGNU2_MIN_VERSION=1.3.1
18359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
18360
$as_echo_n "checking for CCGNU2... " >&6; }
18362
if test -n "$CCGNU2_CFLAGS"; then
18363
pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
18364
elif test -n "$PKG_CONFIG"; then
18365
if test -n "$PKG_CONFIG" && \
18366
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"commoncpp >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18367
($PKG_CONFIG --exists --print-errors "commoncpp >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18369
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18370
test $ac_status = 0; }; then
18371
pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "commoncpp >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18372
test "x$?" != "x0" && pkg_failed=yes
18379
if test -n "$CCGNU2_LIBS"; then
18380
pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
18381
elif test -n "$PKG_CONFIG"; then
18382
if test -n "$PKG_CONFIG" && \
18383
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"commoncpp >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18384
($PKG_CONFIG --exists --print-errors "commoncpp >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18386
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18387
test $ac_status = 0; }; then
18388
pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "commoncpp >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18389
test "x$?" != "x0" && pkg_failed=yes
18399
if test $pkg_failed = yes; then
18400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18401
$as_echo "no" >&6; }
18403
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18404
_pkg_short_errors_supported=yes
18406
_pkg_short_errors_supported=no
18408
if test $_pkg_short_errors_supported = yes; then
18409
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "commoncpp >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18411
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "commoncpp >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18413
# Put the nasty error message in config.log where it belongs
18414
echo "$CCGNU2_PKG_ERRORS" >&5
18418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
18419
$as_echo_n "checking for CCGNU2... " >&6; }
18421
if test -n "$CCGNU2_CFLAGS"; then
18422
pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
18423
elif test -n "$PKG_CONFIG"; then
18424
if test -n "$PKG_CONFIG" && \
18425
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18426
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18428
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18429
test $ac_status = 0; }; then
18430
pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18431
test "x$?" != "x0" && pkg_failed=yes
18438
if test -n "$CCGNU2_LIBS"; then
18439
pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
18440
elif test -n "$PKG_CONFIG"; then
18441
if test -n "$PKG_CONFIG" && \
18442
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18443
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18445
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18446
test $ac_status = 0; }; then
18447
pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18448
test "x$?" != "x0" && pkg_failed=yes
18458
if test $pkg_failed = yes; then
18459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18460
$as_echo "no" >&6; }
18462
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18463
_pkg_short_errors_supported=yes
18465
_pkg_short_errors_supported=no
18467
if test $_pkg_short_errors_supported = yes; then
18468
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18470
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18472
# Put the nasty error message in config.log where it belongs
18473
echo "$CCGNU2_PKG_ERRORS" >&5
18475
as_fn_error $? "Missing commoncpp development files" "$LINENO" 5
18476
elif test $pkg_failed = untried; then
18477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18478
$as_echo "no" >&6; }
18479
as_fn_error $? "Missing commoncpp development files" "$LINENO" 5
18481
CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
18482
CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
18483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18484
$as_echo "yes" >&6; }
18487
elif test $pkg_failed = untried; then
18488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18489
$as_echo "no" >&6; }
18492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
18493
$as_echo_n "checking for CCGNU2... " >&6; }
18495
if test -n "$CCGNU2_CFLAGS"; then
18496
pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
18497
elif test -n "$PKG_CONFIG"; then
18498
if test -n "$PKG_CONFIG" && \
18499
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18500
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18502
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18503
test $ac_status = 0; }; then
18504
pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18505
test "x$?" != "x0" && pkg_failed=yes
18512
if test -n "$CCGNU2_LIBS"; then
18513
pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
18514
elif test -n "$PKG_CONFIG"; then
18515
if test -n "$PKG_CONFIG" && \
18516
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18517
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18519
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18520
test $ac_status = 0; }; then
18521
pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18522
test "x$?" != "x0" && pkg_failed=yes
18532
if test $pkg_failed = yes; then
18533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18534
$as_echo "no" >&6; }
18536
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18537
_pkg_short_errors_supported=yes
18539
_pkg_short_errors_supported=no
18541
if test $_pkg_short_errors_supported = yes; then
18542
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18544
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18546
# Put the nasty error message in config.log where it belongs
18547
echo "$CCGNU2_PKG_ERRORS" >&5
18549
as_fn_error $? "Missing commoncpp development files" "$LINENO" 5
18550
elif test $pkg_failed = untried; then
18551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18552
$as_echo "no" >&6; }
18553
as_fn_error $? "Missing commoncpp development files" "$LINENO" 5
18555
CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
18556
CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
18557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18558
$as_echo "yes" >&6; }
18562
CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
18563
CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
18564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18565
$as_echo "yes" >&6; }
18569
18426
LIBCCRTP_MIN_VERSION=1.3.0
18571
18428
pkg_failed=no
18936
18792
pkg_cv_ZRTPCPP_CFLAGS="$ZRTPCPP_CFLAGS"
18937
18793
elif test -n "$PKG_CONFIG"; then
18938
18794
if test -n "$PKG_CONFIG" && \
18939
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= \${LIBZRTPCPP_MIN_VERSION}\""; } >&5
18940
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}") 2>&5
18942
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18943
test $ac_status = 0; }; then
18944
pkg_cv_ZRTPCPP_CFLAGS=`$PKG_CONFIG --cflags "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>/dev/null`
18945
test "x$?" != "x0" && pkg_failed=yes
18952
if test -n "$ZRTPCPP_LIBS"; then
18953
pkg_cv_ZRTPCPP_LIBS="$ZRTPCPP_LIBS"
18954
elif test -n "$PKG_CONFIG"; then
18955
if test -n "$PKG_CONFIG" && \
18956
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= \${LIBZRTPCPP_MIN_VERSION}\""; } >&5
18957
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}") 2>&5
18959
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18960
test $ac_status = 0; }; then
18961
pkg_cv_ZRTPCPP_LIBS=`$PKG_CONFIG --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>/dev/null`
18962
test "x$?" != "x0" && pkg_failed=yes
18972
if test $pkg_failed = yes; then
18973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18974
$as_echo "no" >&6; }
18976
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18977
_pkg_short_errors_supported=yes
18979
_pkg_short_errors_supported=no
18981
if test $_pkg_short_errors_supported = yes; then
18982
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>&1`
18984
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>&1`
18986
# Put the nasty error message in config.log where it belongs
18987
echo "$ZRTPCPP_PKG_ERRORS" >&5
18989
as_fn_error $? "Missing zrtp development files" "$LINENO" 5
18990
elif test $pkg_failed = untried; then
18991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18992
$as_echo "no" >&6; }
18993
as_fn_error $? "Missing zrtp development files" "$LINENO" 5
18995
ZRTPCPP_CFLAGS=$pkg_cv_ZRTPCPP_CFLAGS
18996
ZRTPCPP_LIBS=$pkg_cv_ZRTPCPP_LIBS
18997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18998
$as_echo "yes" >&6; }
18795
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= 2.3.0\""; } >&5
18796
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= 2.3.0") 2>&5
18798
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18799
test $ac_status = 0; }; then
18800
pkg_cv_ZRTPCPP_CFLAGS=`$PKG_CONFIG --cflags "libzrtpcpp >= 2.3.0" 2>/dev/null`
18801
test "x$?" != "x0" && pkg_failed=yes
18808
if test -n "$ZRTPCPP_LIBS"; then
18809
pkg_cv_ZRTPCPP_LIBS="$ZRTPCPP_LIBS"
18810
elif test -n "$PKG_CONFIG"; then
18811
if test -n "$PKG_CONFIG" && \
18812
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= 2.3.0\""; } >&5
18813
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= 2.3.0") 2>&5
18815
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18816
test $ac_status = 0; }; then
18817
pkg_cv_ZRTPCPP_LIBS=`$PKG_CONFIG --libs "libzrtpcpp >= 2.3.0" 2>/dev/null`
18818
test "x$?" != "x0" && pkg_failed=yes
18828
if test $pkg_failed = yes; then
18829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18830
$as_echo "no" >&6; }
18832
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18833
_pkg_short_errors_supported=yes
18835
_pkg_short_errors_supported=no
18837
if test $_pkg_short_errors_supported = yes; then
18838
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzrtpcpp >= 2.3.0" 2>&1`
18840
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzrtpcpp >= 2.3.0" 2>&1`
18842
# Put the nasty error message in config.log where it belongs
18843
echo "$ZRTPCPP_PKG_ERRORS" >&5
18847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZRTPCPP" >&5
18848
$as_echo_n "checking for ZRTPCPP... " >&6; }
18850
if test -n "$ZRTPCPP_CFLAGS"; then
18851
pkg_cv_ZRTPCPP_CFLAGS="$ZRTPCPP_CFLAGS"
18852
elif test -n "$PKG_CONFIG"; then
18853
if test -n "$PKG_CONFIG" && \
18854
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= 1.3.0\""; } >&5
18855
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= 1.3.0") 2>&5
18857
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18858
test $ac_status = 0; }; then
18859
pkg_cv_ZRTPCPP_CFLAGS=`$PKG_CONFIG --cflags "libzrtpcpp >= 1.3.0" 2>/dev/null`
18860
test "x$?" != "x0" && pkg_failed=yes
18867
if test -n "$ZRTPCPP_LIBS"; then
18868
pkg_cv_ZRTPCPP_LIBS="$ZRTPCPP_LIBS"
18869
elif test -n "$PKG_CONFIG"; then
18870
if test -n "$PKG_CONFIG" && \
18871
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= 1.3.0\""; } >&5
18872
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= 1.3.0") 2>&5
18874
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18875
test $ac_status = 0; }; then
18876
pkg_cv_ZRTPCPP_LIBS=`$PKG_CONFIG --libs "libzrtpcpp >= 1.3.0" 2>/dev/null`
18877
test "x$?" != "x0" && pkg_failed=yes
18887
if test $pkg_failed = yes; then
18888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18889
$as_echo "no" >&6; }
18891
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18892
_pkg_short_errors_supported=yes
18894
_pkg_short_errors_supported=no
18896
if test $_pkg_short_errors_supported = yes; then
18897
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzrtpcpp >= 1.3.0" 2>&1`
18899
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzrtpcpp >= 1.3.0" 2>&1`
18901
# Put the nasty error message in config.log where it belongs
18902
echo "$ZRTPCPP_PKG_ERRORS" >&5
18904
as_fn_error $? "Missing zrtp development files" "$LINENO" 5
18905
elif test $pkg_failed = untried; then
18906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18907
$as_echo "no" >&6; }
18908
as_fn_error $? "Missing zrtp development files" "$LINENO" 5
18910
ZRTPCPP_CFLAGS=$pkg_cv_ZRTPCPP_CFLAGS
18911
ZRTPCPP_LIBS=$pkg_cv_ZRTPCPP_LIBS
18912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18913
$as_echo "yes" >&6; }
18914
with_zrtp_configure=no
18916
elif test $pkg_failed = untried; then
18917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18918
$as_echo "no" >&6; }
18921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZRTPCPP" >&5
18922
$as_echo_n "checking for ZRTPCPP... " >&6; }
18924
if test -n "$ZRTPCPP_CFLAGS"; then
18925
pkg_cv_ZRTPCPP_CFLAGS="$ZRTPCPP_CFLAGS"
18926
elif test -n "$PKG_CONFIG"; then
18927
if test -n "$PKG_CONFIG" && \
18928
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= 1.3.0\""; } >&5
18929
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= 1.3.0") 2>&5
18931
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18932
test $ac_status = 0; }; then
18933
pkg_cv_ZRTPCPP_CFLAGS=`$PKG_CONFIG --cflags "libzrtpcpp >= 1.3.0" 2>/dev/null`
18934
test "x$?" != "x0" && pkg_failed=yes
18941
if test -n "$ZRTPCPP_LIBS"; then
18942
pkg_cv_ZRTPCPP_LIBS="$ZRTPCPP_LIBS"
18943
elif test -n "$PKG_CONFIG"; then
18944
if test -n "$PKG_CONFIG" && \
18945
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= 1.3.0\""; } >&5
18946
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= 1.3.0") 2>&5
18948
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18949
test $ac_status = 0; }; then
18950
pkg_cv_ZRTPCPP_LIBS=`$PKG_CONFIG --libs "libzrtpcpp >= 1.3.0" 2>/dev/null`
18951
test "x$?" != "x0" && pkg_failed=yes
18961
if test $pkg_failed = yes; then
18962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18963
$as_echo "no" >&6; }
18965
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18966
_pkg_short_errors_supported=yes
18968
_pkg_short_errors_supported=no
18970
if test $_pkg_short_errors_supported = yes; then
18971
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzrtpcpp >= 1.3.0" 2>&1`
18973
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzrtpcpp >= 1.3.0" 2>&1`
18975
# Put the nasty error message in config.log where it belongs
18976
echo "$ZRTPCPP_PKG_ERRORS" >&5
18978
as_fn_error $? "Missing zrtp development files" "$LINENO" 5
18979
elif test $pkg_failed = untried; then
18980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18981
$as_echo "no" >&6; }
18982
as_fn_error $? "Missing zrtp development files" "$LINENO" 5
18984
ZRTPCPP_CFLAGS=$pkg_cv_ZRTPCPP_CFLAGS
18985
ZRTPCPP_LIBS=$pkg_cv_ZRTPCPP_LIBS
18986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18987
$as_echo "yes" >&6; }
18988
with_zrtp_configure=no
18991
ZRTPCPP_CFLAGS=$pkg_cv_ZRTPCPP_CFLAGS
18992
ZRTPCPP_LIBS=$pkg_cv_ZRTPCPP_LIBS
18993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18994
$as_echo "yes" >&6; }
18995
with_zrtp_configure=yes
19118
19177
with_instant_messaging=yes
19121
if test "x$with_instant_messaging" = "xyes"; then :
19125
# Check whether --with-expat was given.
19126
if test "${with_expat+set}" = set; then :
19127
withval=$with_expat;
19128
if test "$withval" = "yes"; then
19129
if test -f /usr/local/include/expat.h ; then
19130
expat_prefix=/usr/local
19131
elif test -f /usr/include/expat.h ; then
19136
expat_requested="yes"
19137
elif test -d "$withval"; then
19138
expat_prefix="$withval"
19139
expat_requested="yes"
19142
expat_requested="no"
19147
if test -f /usr/local/include/expat.h ; then
19148
expat_prefix=/usr/local
19149
elif test -f /usr/include/expat.h ; then
19160
# Check whether --with-expat-inc was given.
19161
if test "${with_expat_inc+set}" = set; then :
19162
withval=$with_expat_inc; expat_include_dir="$withval"
19164
expat_include_dir=""
19169
# Check whether --with-expat-lib was given.
19170
if test "${with_expat_lib+set}" = set; then :
19171
withval=$with_expat_lib; expat_lib_flags="$withval"
19182
run_expat_test="no"
19184
if test -n "$expat_prefix"; then
19185
expat_include_dir="$expat_prefix/include"
19186
expat_lib_flags="-L$expat_prefix/lib -lexpat"
19187
run_expat_test="yes"
19188
elif test "$expat_requested" = "yes"; then
19189
if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
19190
run_expat_test="yes"
19193
run_expat_test="no"
19196
if test "$run_expat_test" = "yes"; then
19198
saved_CPPFLAGS="$CPPFLAGS"
19199
CPPFLAGS="$CPPFLAGS -I$expat_include_dir"
19201
saved_LDFLAGS="$LDFLAGS"
19202
LIBS="$LDFLAGS $expat_lib_flags"
19204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser headers in $expat_include_dir" >&5
19205
$as_echo_n "checking for Expat XML Parser headers in $expat_include_dir... " >&6; }
19208
ac_cpp='$CXXCPP $CPPFLAGS'
19209
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19210
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19211
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19213
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214
/* end confdefs.h. */
19228
if ac_fn_cxx_try_compile "$LINENO"; then :
19230
EXPAT_CFLAGS="-I$expat_include_dir"
19231
expat_header_found="yes"
19232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
19233
$as_echo "found" >&6; }
19237
expat_header_found="no"
19238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19239
$as_echo "not found" >&6; }
19243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19245
ac_cpp='$CXXCPP $CPPFLAGS'
19246
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19247
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19248
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19251
if test "$expat_header_found" = "yes"; then
19253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser libraries" >&5
19254
$as_echo_n "checking for Expat XML Parser libraries... " >&6; }
19257
ac_cpp='$CXXCPP $CPPFLAGS'
19258
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19259
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19260
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19262
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19263
/* end confdefs.h. */
19272
XML_Parser p = XML_ParserCreate(NULL);
19281
if ac_fn_cxx_try_link "$LINENO"; then :
19283
EXPAT_LIBS="$expat_lib_flags"
19284
expat_lib_found="yes"
19285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
19286
$as_echo "found" >&6; }
19290
expat_lib_found="no"
19291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
19292
$as_echo "not found" >&6; }
19296
rm -f core conftest.err conftest.$ac_objext \
19297
conftest$ac_exeext conftest.$ac_ext
19299
ac_cpp='$CXXCPP $CPPFLAGS'
19300
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19301
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19302
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19306
CPPFLAGS="$saved_CPPFLAGS"
19307
LDFLAGS="$saved_LDFLAGS"
19310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser" >&5
19311
$as_echo_n "checking for Expat XML Parser... " >&6; }
19313
if test "$run_expat_test" = "yes"; then
19314
if test "$expat_header_found" = "yes" -a "$expat_lib_found" = "yes"; then
19324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
19325
$as_echo "$HAVE_EXPAT" >&6; }
19327
if test "$HAVE_EXPAT" = "yes"; then
19329
expat_version_req=1.95.0
19331
if test -n "$expat_version_req"; then
19333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Expat XML Parser version is >= $expat_version_req" >&5
19334
$as_echo_n "checking if Expat XML Parser version is >= $expat_version_req... " >&6; }
19336
if test -f "$expat_include_dir/expat.h"; then
19338
expat_major=`cat $expat_include_dir/expat.h | \
19339
grep '^#define.*XML_MAJOR_VERSION.*[0-9]$' | \
19340
sed -e 's/#define XML_MAJOR_VERSION.//'`
19342
expat_minor=`cat $expat_include_dir/expat.h | \
19343
grep '^#define.*XML_MINOR_VERSION.*[0-9]$' | \
19344
sed -e 's/#define XML_MINOR_VERSION.//'`
19346
expat_revision=`cat $expat_include_dir/expat.h | \
19347
grep '^#define.*XML_MICRO_VERSION.*[0-9]$' | \
19348
sed -e 's/#define XML_MICRO_VERSION.//'`
19350
EXPAT_VERSION="$expat_major.$expat_minor.$expat_revision"
19353
expat_version_req_major=`expr $expat_version_req : '\([0-9]*\)'`
19354
expat_version_req_minor=`expr $expat_version_req : '[0-9]*\.\([0-9]*\)'`
19355
expat_version_req_revision=`expr $expat_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
19356
if test "x$expat_version_req_revision" = "x"; then
19357
expat_version_req_revision="0"
19360
expat_version_req_number=`expr $expat_version_req_major \* 10000 \
19361
\+ $expat_version_req_minor \* 100 \
19362
\+ $expat_version_req_revision`
19364
expat_version_number=`expr $expat_major \* 10000 \
19365
\+ $expat_minor \* 100 \
19366
\+ $expat_revision`
19368
expat_version_check=`expr $expat_version_number \>\= $expat_version_req_number`
19369
if test "$expat_version_check" = "1"; then
19370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19180
if test "x$with_instant_messaging" = "xyes"; then :
19184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXPAT" >&5
19185
$as_echo_n "checking for EXPAT... " >&6; }
19187
if test -n "$EXPAT_CFLAGS"; then
19188
pkg_cv_EXPAT_CFLAGS="$EXPAT_CFLAGS"
19189
elif test -n "$PKG_CONFIG"; then
19190
if test -n "$PKG_CONFIG" && \
19191
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat >= 2.0.0\""; } >&5
19192
($PKG_CONFIG --exists --print-errors "expat >= 2.0.0") 2>&5
19194
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19195
test $ac_status = 0; }; then
19196
pkg_cv_EXPAT_CFLAGS=`$PKG_CONFIG --cflags "expat >= 2.0.0" 2>/dev/null`
19197
test "x$?" != "x0" && pkg_failed=yes
19204
if test -n "$EXPAT_LIBS"; then
19205
pkg_cv_EXPAT_LIBS="$EXPAT_LIBS"
19206
elif test -n "$PKG_CONFIG"; then
19207
if test -n "$PKG_CONFIG" && \
19208
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"expat >= 2.0.0\""; } >&5
19209
($PKG_CONFIG --exists --print-errors "expat >= 2.0.0") 2>&5
19211
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19212
test $ac_status = 0; }; then
19213
pkg_cv_EXPAT_LIBS=`$PKG_CONFIG --libs "expat >= 2.0.0" 2>/dev/null`
19214
test "x$?" != "x0" && pkg_failed=yes
19224
if test $pkg_failed = yes; then
19225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19226
$as_echo "no" >&6; }
19228
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19229
_pkg_short_errors_supported=yes
19231
_pkg_short_errors_supported=no
19233
if test $_pkg_short_errors_supported = yes; then
19234
EXPAT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "expat >= 2.0.0" 2>&1`
19236
EXPAT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "expat >= 2.0.0" 2>&1`
19238
# Put the nasty error message in config.log where it belongs
19239
echo "$EXPAT_PKG_ERRORS" >&5
19241
with_instant_messaging=no
19242
elif test $pkg_failed = untried; then
19243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19244
$as_echo "no" >&6; }
19245
with_instant_messaging=no
19247
EXPAT_CFLAGS=$pkg_cv_EXPAT_CFLAGS
19248
EXPAT_LIBS=$pkg_cv_EXPAT_LIBS
19249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19371
19250
$as_echo "yes" >&6; }
19373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19374
$as_echo "no" >&6; }
19375
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&5
19376
$as_echo "$as_me: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&2;}
19379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19380
$as_echo "no" >&6; }
19381
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing expat.h header. Unable to determine Expat version." >&5
19382
$as_echo "$as_me: WARNING: Missing expat.h header. Unable to determine Expat version." >&2;}
19389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
19390
$as_echo "$HAVE_EXPAT" >&6; }
19392
if test "$expat_requested" = "yes"; then
19393
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&5
19394
$as_echo "$as_me: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&2;}
19398
if test "$HAVE_EXPAT" != "yes"; then :
19251
with_instant_messaging=yes
19255
if test "$with_instant_messaging" != "yes"; then :
19399
19256
as_fn_error $? "Missing libexpat development files" "$LINENO" 5
19405
19260
cat >>confdefs.h <<_ACEOF
19406
19261
#define HAVE_INSTANT_MESSAGING `if test "x$with_instant_messaging" = "xyes"; then echo 1; else echo 0; fi`
19829
19684
if test "x$with_sdes" = "xyes"; then :
19831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5
19832
$as_echo_n "checking lib pcre... " >&6; }
19834
# Check whether --with-pcre was given.
19835
if test "${with_pcre+set}" = set; then :
19836
withval=$with_pcre;
19841
if test ".$with_pcre" = ".no" ; then
19842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
19843
$as_echo "disabled" >&6; }
19846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: (testing)" >&5
19847
$as_echo "(testing)" >&6; }
19848
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
19849
$as_echo_n "checking for pcre_study in -lpcre... " >&6; }
19850
if ${ac_cv_lib_pcre_pcre_study+:} false; then :
19851
$as_echo_n "(cached) " >&6
19853
ac_check_lib_save_LIBS=$LIBS
19854
LIBS="-lpcre $LIBS"
19855
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856
/* end confdefs.h. */
19858
/* Override any GCC internal prototype to avoid an error.
19859
Use char because int might match the return type of a GCC
19860
builtin and then its argument prototype would still apply. */
19864
char pcre_study ();
19868
return pcre_study ();
19873
if ac_fn_cxx_try_link "$LINENO"; then :
19874
ac_cv_lib_pcre_pcre_study=yes
19876
ac_cv_lib_pcre_pcre_study=no
19878
rm -f core conftest.err conftest.$ac_objext \
19879
conftest$ac_exeext conftest.$ac_ext
19880
LIBS=$ac_check_lib_save_LIBS
19882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
19883
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
19884
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
19885
cat >>confdefs.h <<_ACEOF
19886
#define HAVE_LIBPCRE 1
19889
LIBS="-lpcre $LIBS"
19893
if test "$ac_cv_lib_pcre_pcre_study" = "yes" ; then
19895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5
19896
$as_echo_n "checking lib pcre... " >&6; }
19897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRE_LIBS" >&5
19898
$as_echo "$PCRE_LIBS" >&6; }
19901
OLDLDFLAGS="$LDFLAGS" ; LDFLAGS="$LDFLAGS -L$with_pcre/lib"
19902
OLDCPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS -I$with_pcre/include"
19903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5
19904
$as_echo_n "checking for pcre_compile in -lpcre... " >&6; }
19905
if ${ac_cv_lib_pcre_pcre_compile+:} false; then :
19906
$as_echo_n "(cached) " >&6
19908
ac_check_lib_save_LIBS=$LIBS
19909
LIBS="-lpcre $LIBS"
19910
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19911
/* end confdefs.h. */
19913
/* Override any GCC internal prototype to avoid an error.
19914
Use char because int might match the return type of a GCC
19915
builtin and then its argument prototype would still apply. */
19919
char pcre_compile ();
19923
return pcre_compile ();
19928
if ac_fn_cxx_try_link "$LINENO"; then :
19929
ac_cv_lib_pcre_pcre_compile=yes
19931
ac_cv_lib_pcre_pcre_compile=no
19933
rm -f core conftest.err conftest.$ac_objext \
19934
conftest$ac_exeext conftest.$ac_ext
19935
LIBS=$ac_check_lib_save_LIBS
19937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5
19938
$as_echo "$ac_cv_lib_pcre_pcre_compile" >&6; }
19939
if test "x$ac_cv_lib_pcre_pcre_compile" = xyes; then :
19940
cat >>confdefs.h <<_ACEOF
19941
#define HAVE_LIBPCRE 1
19944
LIBS="-lpcre $LIBS"
19948
CPPFLAGS="$OLDCPPFLAGS"
19949
LDFLAGS="$OLDLDFLAGS"
19950
if test "$ac_cv_lib_pcre_pcre_compile" = "yes" ; then
19951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: .setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&5
19952
$as_echo ".setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&6; }
19953
PCRE_LIBS="-L$with_pcre/lib -lpcre"
19954
test -d "$with_pcre/include" && PCRE_CFLAGS="-I$with_pcre/include"
19955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5
19956
$as_echo_n "checking lib pcre... " >&6; }
19957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRE_LIBS" >&5
19958
$as_echo "$PCRE_LIBS" >&6; }
19961
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5
19962
$as_echo_n "checking lib pcre... " >&6; }
19963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, (WARNING)" >&5
19964
$as_echo "no, (WARNING)" >&6; }
19688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCRE" >&5
19689
$as_echo_n "checking for PCRE... " >&6; }
19691
if test -n "$PCRE_CFLAGS"; then
19692
pkg_cv_PCRE_CFLAGS="$PCRE_CFLAGS"
19693
elif test -n "$PKG_CONFIG"; then
19694
if test -n "$PKG_CONFIG" && \
19695
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
19696
($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
19698
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19699
test $ac_status = 0; }; then
19700
pkg_cv_PCRE_CFLAGS=`$PKG_CONFIG --cflags "libpcre" 2>/dev/null`
19701
test "x$?" != "x0" && pkg_failed=yes
19708
if test -n "$PCRE_LIBS"; then
19709
pkg_cv_PCRE_LIBS="$PCRE_LIBS"
19710
elif test -n "$PKG_CONFIG"; then
19711
if test -n "$PKG_CONFIG" && \
19712
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpcre\""; } >&5
19713
($PKG_CONFIG --exists --print-errors "libpcre") 2>&5
19715
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19716
test $ac_status = 0; }; then
19717
pkg_cv_PCRE_LIBS=`$PKG_CONFIG --libs "libpcre" 2>/dev/null`
19718
test "x$?" != "x0" && pkg_failed=yes
19728
if test $pkg_failed = yes; then
19729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19730
$as_echo "no" >&6; }
19732
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19733
_pkg_short_errors_supported=yes
19735
_pkg_short_errors_supported=no
19737
if test $_pkg_short_errors_supported = yes; then
19738
PCRE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpcre" 2>&1`
19740
PCRE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpcre" 2>&1`
19742
# Put the nasty error message in config.log where it belongs
19743
echo "$PCRE_PKG_ERRORS" >&5
19745
as_fn_error $? "libpcre not found" "$LINENO" 5
19746
elif test $pkg_failed = untried; then
19747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19748
$as_echo "no" >&6; }
19749
as_fn_error $? "libpcre not found" "$LINENO" 5
19751
PCRE_CFLAGS=$pkg_cv_PCRE_CFLAGS
19752
PCRE_LIBS=$pkg_cv_PCRE_LIBS
19753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19754
$as_echo "yes" >&6; }
19977
19760
cat >>confdefs.h <<_ACEOF
19978
19761
#define HAVE_SDES `if test "x$with_sdes" = "xyes"; then echo 1; else echo 0; fi`