~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to daemon/configure

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# From configure.ac Revision.
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.68 for sflphone 1.2.3.
 
4
# Generated by GNU Autoconf 2.68 for sflphone 1.3.0.
5
5
#
6
6
# Report bugs to <sflphoneteam@savoirfairelinux.com>.
7
7
#
573
573
# Identity of this package.
574
574
PACKAGE_NAME='sflphone'
575
575
PACKAGE_TARNAME='sflphone'
576
 
PACKAGE_VERSION='1.2.3'
577
 
PACKAGE_STRING='sflphone 1.2.3'
 
576
PACKAGE_VERSION='1.3.0'
 
577
PACKAGE_STRING='sflphone 1.3.0'
578
578
PACKAGE_BUGREPORT='sflphoneteam@savoirfairelinux.com'
579
579
PACKAGE_URL=''
580
580
 
669
669
BUILD_TLS_TRUE
670
670
libssl_LIBS
671
671
libssl_CFLAGS
 
672
SFL_PRESENCE_FALSE
 
673
SFL_PRESENCE_TRUE
672
674
CCRTP_LIBS
673
675
CCRTP_CFLAGS
674
676
CCGNU2_LIBS
687
689
LIBAVCODEC_CFLAGS
688
690
SFL_VIDEO_FALSE
689
691
SFL_VIDEO_TRUE
 
692
SNDFILE_LIBS
 
693
SNDFILE_CFLAGS
690
694
SAMPLERATE_LIBS
691
695
SAMPLERATE_CFLAGS
692
696
BUILD_PULSE_FALSE
693
697
BUILD_PULSE_TRUE
694
698
PULSEAUDIO_LIBS
695
699
PULSEAUDIO_CFLAGS
 
700
BUILD_ALSA_FALSE
 
701
BUILD_ALSA_TRUE
696
702
ALSA_LIBS
697
703
ALSA_CFLAGS
698
704
LIBCRYPTO_LIBS
704
710
PKG_CONFIG_PATH
705
711
PKG_CONFIG
706
712
ALLOCA
 
713
HAVE_CXX11
707
714
CXXCPP
708
715
OTOOL64
709
716
OTOOL
830
837
with_gnu_ld
831
838
with_sysroot
832
839
enable_libtool_lock
 
840
with_alsa
833
841
with_pulse
834
842
enable_coverage
835
843
enable_video
 
844
enable_presence
836
845
with_tls
837
846
with_zrtp
 
847
with_dbus
838
848
with_instant_messaging
839
849
with_expat
840
850
with_expat_inc
878
888
PULSEAUDIO_LIBS
879
889
SAMPLERATE_CFLAGS
880
890
SAMPLERATE_LIBS
 
891
SNDFILE_CFLAGS
 
892
SNDFILE_LIBS
881
893
LIBAVCODEC_CFLAGS
882
894
LIBAVCODEC_LIBS
883
895
LIBAVFORMAT_CFLAGS
906
918
libilbc_LIBS
907
919
opus_CFLAGS
908
920
opus_LIBS'
909
 
ac_subdirs_all='libs/pjproject-2.0.1'
 
921
ac_subdirs_all='libs/pjproject-2.1.0'
910
922
 
911
923
# Initialize some variables set by options.
912
924
ac_init_help=
1448
1460
  # Omit some internal or obsolete options to make the list less imposing.
1449
1461
  # This message is too long to be a string in the A/UX 3.1 sh.
1450
1462
  cat <<_ACEOF
1451
 
\`configure' configures sflphone 1.2.3 to adapt to many kinds of systems.
 
1463
\`configure' configures sflphone 1.3.0 to adapt to many kinds of systems.
1452
1464
 
1453
1465
Usage: $0 [OPTION]... [VAR=VALUE]...
1454
1466
 
1518
1530
 
1519
1531
if test -n "$ac_init_help"; then
1520
1532
  case $ac_init_help in
1521
 
     short | recursive ) echo "Configuration of sflphone 1.2.3:";;
 
1533
     short | recursive ) echo "Configuration of sflphone 1.3.0:";;
1522
1534
   esac
1523
1535
  cat <<\_ACEOF
1524
1536
 
1535
1547
  --disable-libtool-lock  avoid locking (might break parallel builds)
1536
1548
  --enable-coverage       Enable coverage
1537
1549
  --enable-video          Enable video
 
1550
  --disable-presence      Disable SIP presence support
1538
1551
  --enable-doxygen        enable documentation generation with doxygen (disabled by default)
1539
1552
  --enable-dot            use 'dot' to generate graphs in doxygen (auto)
1540
1553
  --enable-debug          Build in debug mode, adds stricter warnings,
1548
1561
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1549
1562
  --with-sysroot=DIR Search for dependent libraries within DIR
1550
1563
                        (or the compiler's sysroot if not specified).
 
1564
   --without-alsa          disable support for alsa
1551
1565
   --without-pulse         disable support for pulseaudio
1552
1566
   --without-tls           disable support for tls
1553
1567
   --without-zrtp          disable support for zrtp
 
1568
  --without-dbus          disable support for dbus
1554
1569
   --without-instant_messaging
1555
1570
                          disable support for instant-messaging
1556
1571
  --with-expat=[ARG]      use Expat XML Parser from given prefix (ARG=path);
1602
1617
              C compiler flags for SAMPLERATE, overriding pkg-config
1603
1618
  SAMPLERATE_LIBS
1604
1619
              linker flags for SAMPLERATE, overriding pkg-config
 
1620
  SNDFILE_CFLAGS
 
1621
              C compiler flags for SNDFILE, overriding pkg-config
 
1622
  SNDFILE_LIBS
 
1623
              linker flags for SNDFILE, overriding pkg-config
1605
1624
  LIBAVCODEC_CFLAGS
1606
1625
              C compiler flags for LIBAVCODEC, overriding pkg-config
1607
1626
  LIBAVCODEC_LIBS
1718
1737
test -n "$ac_init_help" && exit $ac_status
1719
1738
if $ac_init_version; then
1720
1739
  cat <<\_ACEOF
1721
 
sflphone configure 1.2.3
 
1740
sflphone configure 1.3.0
1722
1741
generated by GNU Autoconf 2.68
1723
1742
 
1724
1743
Copyright (C) 2010 Free Software Foundation, Inc.
2373
2392
This file contains any messages produced by compilers while
2374
2393
running configure, to aid debugging if configure makes a mistake.
2375
2394
 
2376
 
It was created by sflphone $as_me 1.2.3, which was
 
2395
It was created by sflphone $as_me 1.3.0, which was
2377
2396
generated by GNU Autoconf 2.68.  Invocation command line was
2378
2397
 
2379
2398
  $ $0 $@
3193
3212
 
3194
3213
# Define the identity of the package.
3195
3214
 PACKAGE='sflphone'
3196
 
 VERSION='1.2.3'
 
3215
 VERSION='1.3.0'
3197
3216
 
3198
3217
 
3199
3218
cat >>confdefs.h <<_ACEOF
16320
16339
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16321
16340
 
16322
16341
 
 
16342
    ax_cxx_compile_cxx11_required=truednl
 
16343
  ac_ext=cpp
 
16344
ac_cpp='$CXXCPP $CPPFLAGS'
 
16345
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16346
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16347
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
16348
  ac_success=no
 
16349
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
 
16350
$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
 
16351
if ${ax_cv_cxx_compile_cxx11+:} false; then :
 
16352
  $as_echo_n "(cached) " >&6
 
16353
else
 
16354
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16355
/* end confdefs.h.  */
 
16356
 
 
16357
  template <typename T>
 
16358
    struct check
 
16359
    {
 
16360
      static_assert(sizeof(int) <= sizeof(T), "not big enough");
 
16361
    };
 
16362
 
 
16363
    typedef check<check<bool>> right_angle_brackets;
 
16364
 
 
16365
    int a;
 
16366
    decltype(a) b;
 
16367
 
 
16368
    typedef check<int> check_type;
 
16369
    check_type c;
 
16370
    check_type&& cr = static_cast<check_type&&>(c);
 
16371
 
 
16372
    auto d = a;
 
16373
 
 
16374
_ACEOF
 
16375
if ac_fn_cxx_try_compile "$LINENO"; then :
 
16376
  ax_cv_cxx_compile_cxx11=yes
 
16377
else
 
16378
  ax_cv_cxx_compile_cxx11=no
 
16379
fi
 
16380
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16381
fi
 
16382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
 
16383
$as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
 
16384
  if test x$ax_cv_cxx_compile_cxx11 = xyes; then
 
16385
    ac_success=yes
 
16386
  fi
 
16387
 
 
16388
    if test x$ac_success = xno; then
 
16389
    for switch in -std=gnu++11 -std=gnu++0x; do
 
16390
      cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
 
16391
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
 
16392
$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
 
16393
if eval \${$cachevar+:} false; then :
 
16394
  $as_echo_n "(cached) " >&6
 
16395
else
 
16396
  ac_save_CXXFLAGS="$CXXFLAGS"
 
16397
         CXXFLAGS="$CXXFLAGS $switch"
 
16398
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16399
/* end confdefs.h.  */
 
16400
 
 
16401
  template <typename T>
 
16402
    struct check
 
16403
    {
 
16404
      static_assert(sizeof(int) <= sizeof(T), "not big enough");
 
16405
    };
 
16406
 
 
16407
    typedef check<check<bool>> right_angle_brackets;
 
16408
 
 
16409
    int a;
 
16410
    decltype(a) b;
 
16411
 
 
16412
    typedef check<int> check_type;
 
16413
    check_type c;
 
16414
    check_type&& cr = static_cast<check_type&&>(c);
 
16415
 
 
16416
    auto d = a;
 
16417
 
 
16418
_ACEOF
 
16419
if ac_fn_cxx_try_compile "$LINENO"; then :
 
16420
  eval $cachevar=yes
 
16421
else
 
16422
  eval $cachevar=no
 
16423
fi
 
16424
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16425
         CXXFLAGS="$ac_save_CXXFLAGS"
 
16426
fi
 
16427
eval ac_res=\$$cachevar
 
16428
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
16429
$as_echo "$ac_res" >&6; }
 
16430
      if eval test x\$$cachevar = xyes; then
 
16431
        CXXFLAGS="$CXXFLAGS $switch"
 
16432
        ac_success=yes
 
16433
        break
 
16434
      fi
 
16435
    done
 
16436
  fi
 
16437
 
 
16438
    if test x$ac_success = xno; then
 
16439
    for switch in -std=c++11 -std=c++0x; do
 
16440
      cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
 
16441
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
 
16442
$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
 
16443
if eval \${$cachevar+:} false; then :
 
16444
  $as_echo_n "(cached) " >&6
 
16445
else
 
16446
  ac_save_CXXFLAGS="$CXXFLAGS"
 
16447
         CXXFLAGS="$CXXFLAGS $switch"
 
16448
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
16449
/* end confdefs.h.  */
 
16450
 
 
16451
  template <typename T>
 
16452
    struct check
 
16453
    {
 
16454
      static_assert(sizeof(int) <= sizeof(T), "not big enough");
 
16455
    };
 
16456
 
 
16457
    typedef check<check<bool>> right_angle_brackets;
 
16458
 
 
16459
    int a;
 
16460
    decltype(a) b;
 
16461
 
 
16462
    typedef check<int> check_type;
 
16463
    check_type c;
 
16464
    check_type&& cr = static_cast<check_type&&>(c);
 
16465
 
 
16466
    auto d = a;
 
16467
 
 
16468
_ACEOF
 
16469
if ac_fn_cxx_try_compile "$LINENO"; then :
 
16470
  eval $cachevar=yes
 
16471
else
 
16472
  eval $cachevar=no
 
16473
fi
 
16474
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
16475
         CXXFLAGS="$ac_save_CXXFLAGS"
 
16476
fi
 
16477
eval ac_res=\$$cachevar
 
16478
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
16479
$as_echo "$ac_res" >&6; }
 
16480
      if eval test x\$$cachevar = xyes; then
 
16481
        CXXFLAGS="$CXXFLAGS $switch"
 
16482
        ac_success=yes
 
16483
        break
 
16484
      fi
 
16485
    done
 
16486
  fi
 
16487
  ac_ext=cpp
 
16488
ac_cpp='$CXXCPP $CPPFLAGS'
 
16489
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
16490
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
16491
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
16492
 
 
16493
  if test x$ax_cxx_compile_cxx11_required = xtrue; then
 
16494
    if test x$ac_success = xno; then
 
16495
      as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
 
16496
    fi
 
16497
  else
 
16498
    if test x$ac_success = xno; then
 
16499
      HAVE_CXX11=0
 
16500
      { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
 
16501
$as_echo "$as_me: No compiler with C++11 support was found" >&6;}
 
16502
    else
 
16503
      HAVE_CXX11=1
 
16504
 
 
16505
$as_echo "#define HAVE_CXX11 1" >>confdefs.h
 
16506
 
 
16507
    fi
 
16508
 
 
16509
 
 
16510
  fi
 
16511
 
 
16512
 
16323
16513
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16324
16514
if test "x$ac_cv_type_size_t" = xyes; then :
16325
16515
 
17343
17533
 
17344
17534
ALSA_MIN_VERSION=1.0
17345
17535
 
 
17536
# Check whether --with-alsa was given.
 
17537
if test "${with_alsa+set}" = set; then :
 
17538
  withval=$with_alsa;
 
17539
else
 
17540
  with_alsa=yes
 
17541
fi
 
17542
 
 
17543
if test "x$with_alsa" = "xyes"; then :
 
17544
 
 
17545
 
17346
17546
pkg_failed=no
17347
17547
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
17348
17548
$as_echo_n "checking for ALSA... " >&6; }
17401
17601
        # Put the nasty error message in config.log where it belongs
17402
17602
        echo "$ALSA_PKG_ERRORS" >&5
17403
17603
 
17404
 
        as_fn_error $? "Missing alsa development package: libasound2-dev or alsa-lib-devel" "$LINENO" 5
 
17604
        as_fn_error $? "Missing alsa development files" "$LINENO" 5
17405
17605
elif test $pkg_failed = untried; then
17406
17606
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17407
17607
$as_echo "no" >&6; }
17408
 
        as_fn_error $? "Missing alsa development package: libasound2-dev or alsa-lib-devel" "$LINENO" 5
 
17608
        as_fn_error $? "Missing alsa development files" "$LINENO" 5
17409
17609
else
17410
17610
        ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
17411
17611
        ALSA_LIBS=$pkg_cv_ALSA_LIBS
17414
17614
 
17415
17615
fi
17416
17616
 
 
17617
fi;
 
17618
 
 
17619
 
 
17620
cat >>confdefs.h <<_ACEOF
 
17621
#define HAVE_ALSA `if test "x$with_alsa" = "xyes"; then echo 1; else echo 0; fi`
 
17622
_ACEOF
 
17623
 
 
17624
 if test "x$with_alsa" = "xyes"; then
 
17625
  BUILD_ALSA_TRUE=
 
17626
  BUILD_ALSA_FALSE='#'
 
17627
else
 
17628
  BUILD_ALSA_TRUE='#'
 
17629
  BUILD_ALSA_FALSE=
 
17630
fi
 
17631
 
 
17632
 
17417
17633
 
17418
17634
LIBPULSE_MIN_VERSION=0.9.15
17419
17635
 
17486
17702
        # Put the nasty error message in config.log where it belongs
17487
17703
        echo "$PULSEAUDIO_PKG_ERRORS" >&5
17488
17704
 
17489
 
        as_fn_error $? "Missing pulseaudio development package: libpulse-dev" "$LINENO" 5
 
17705
        as_fn_error $? "Missing pulseaudio development files" "$LINENO" 5
17490
17706
elif test $pkg_failed = untried; then
17491
17707
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17492
17708
$as_echo "no" >&6; }
17493
 
        as_fn_error $? "Missing pulseaudio development package: libpulse-dev" "$LINENO" 5
 
17709
        as_fn_error $? "Missing pulseaudio development files" "$LINENO" 5
17494
17710
else
17495
17711
        PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
17496
17712
        PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
17506
17722
#define HAVE_PULSE `if test "x$with_pulse" = "xyes"; then echo 1; else echo 0; fi`
17507
17723
_ACEOF
17508
17724
 
17509
 
 if test "x$with_pulse" = "xyes" ; then
 
17725
 if test "x$with_pulse" = "xyes"; then
17510
17726
  BUILD_PULSE_TRUE=
17511
17727
  BUILD_PULSE_FALSE='#'
17512
17728
else
17575
17791
        # Put the nasty error message in config.log where it belongs
17576
17792
        echo "$SAMPLERATE_PKG_ERRORS" >&5
17577
17793
 
17578
 
        as_fn_error $? "Missing libsamplerate development package: libsamplerate0-dev" "$LINENO" 5
 
17794
        as_fn_error $? "Missing libsamplerate development files" "$LINENO" 5
17579
17795
elif test $pkg_failed = untried; then
17580
17796
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17581
17797
$as_echo "no" >&6; }
17582
 
        as_fn_error $? "Missing libsamplerate development package: libsamplerate0-dev" "$LINENO" 5
 
17798
        as_fn_error $? "Missing libsamplerate development files" "$LINENO" 5
17583
17799
else
17584
17800
        SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS
17585
17801
        SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS
17588
17804
 
17589
17805
fi
17590
17806
 
 
17807
 
 
17808
pkg_failed=no
 
17809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
 
17810
$as_echo_n "checking for SNDFILE... " >&6; }
 
17811
 
 
17812
if test -n "$SNDFILE_CFLAGS"; then
 
17813
    pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
 
17814
 elif test -n "$PKG_CONFIG"; then
 
17815
    if test -n "$PKG_CONFIG" && \
 
17816
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5
 
17817
  ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
 
17818
  ac_status=$?
 
17819
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17820
  test $ac_status = 0; }; then
 
17821
  pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile" 2>/dev/null`
 
17822
                      test "x$?" != "x0" && pkg_failed=yes
 
17823
else
 
17824
  pkg_failed=yes
 
17825
fi
 
17826
 else
 
17827
    pkg_failed=untried
 
17828
fi
 
17829
if test -n "$SNDFILE_LIBS"; then
 
17830
    pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
 
17831
 elif test -n "$PKG_CONFIG"; then
 
17832
    if test -n "$PKG_CONFIG" && \
 
17833
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile\""; } >&5
 
17834
  ($PKG_CONFIG --exists --print-errors "sndfile") 2>&5
 
17835
  ac_status=$?
 
17836
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
17837
  test $ac_status = 0; }; then
 
17838
  pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile" 2>/dev/null`
 
17839
                      test "x$?" != "x0" && pkg_failed=yes
 
17840
else
 
17841
  pkg_failed=yes
 
17842
fi
 
17843
 else
 
17844
    pkg_failed=untried
 
17845
fi
 
17846
 
 
17847
 
 
17848
 
 
17849
if test $pkg_failed = yes; then
 
17850
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17851
$as_echo "no" >&6; }
 
17852
 
 
17853
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
17854
        _pkg_short_errors_supported=yes
 
17855
else
 
17856
        _pkg_short_errors_supported=no
 
17857
fi
 
17858
        if test $_pkg_short_errors_supported = yes; then
 
17859
                SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile" 2>&1`
 
17860
        else
 
17861
                SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile" 2>&1`
 
17862
        fi
 
17863
        # Put the nasty error message in config.log where it belongs
 
17864
        echo "$SNDFILE_PKG_ERRORS" >&5
 
17865
 
 
17866
        as_fn_error $? "Missing sndfile development files" "$LINENO" 5
 
17867
elif test $pkg_failed = untried; then
 
17868
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
17869
$as_echo "no" >&6; }
 
17870
        as_fn_error $? "Missing sndfile development files" "$LINENO" 5
 
17871
else
 
17872
        SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
 
17873
        SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
 
17874
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
17875
$as_echo "yes" >&6; }
 
17876
 
 
17877
fi
 
17878
 
17591
17879
# Check whether --enable-coverage was given.
17592
17880
if test "${enable_coverage+set}" = set; then :
17593
17881
  enableval=$enable_coverage;
17679
17967
        # Put the nasty error message in config.log where it belongs
17680
17968
        echo "$LIBAVCODEC_PKG_ERRORS" >&5
17681
17969
 
17682
 
        as_fn_error $? "Missing libavcodec package: libavcodec-dev" "$LINENO" 5
 
17970
        as_fn_error $? "Missing libavcodec development files" "$LINENO" 5
17683
17971
elif test $pkg_failed = untried; then
17684
17972
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17685
17973
$as_echo "no" >&6; }
17686
 
        as_fn_error $? "Missing libavcodec package: libavcodec-dev" "$LINENO" 5
 
17974
        as_fn_error $? "Missing libavcodec development files" "$LINENO" 5
17687
17975
else
17688
17976
        LIBAVCODEC_CFLAGS=$pkg_cv_LIBAVCODEC_CFLAGS
17689
17977
        LIBAVCODEC_LIBS=$pkg_cv_LIBAVCODEC_LIBS
17752
18040
        # Put the nasty error message in config.log where it belongs
17753
18041
        echo "$LIBAVFORMAT_PKG_ERRORS" >&5
17754
18042
 
17755
 
        as_fn_error $? "Missing libavformat package: libavformat-dev" "$LINENO" 5
 
18043
        as_fn_error $? "Missing libavformat development files" "$LINENO" 5
17756
18044
elif test $pkg_failed = untried; then
17757
18045
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17758
18046
$as_echo "no" >&6; }
17759
 
        as_fn_error $? "Missing libavformat package: libavformat-dev" "$LINENO" 5
 
18047
        as_fn_error $? "Missing libavformat development files" "$LINENO" 5
17760
18048
else
17761
18049
        LIBAVFORMAT_CFLAGS=$pkg_cv_LIBAVFORMAT_CFLAGS
17762
18050
        LIBAVFORMAT_LIBS=$pkg_cv_LIBAVFORMAT_LIBS
17824
18112
        # Put the nasty error message in config.log where it belongs
17825
18113
        echo "$LIBSWSCALE_PKG_ERRORS" >&5
17826
18114
 
17827
 
        as_fn_error $? "Missing libswscale package: libswscale-dev" "$LINENO" 5
 
18115
        as_fn_error $? "Missing libswscale development files" "$LINENO" 5
17828
18116
elif test $pkg_failed = untried; then
17829
18117
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17830
18118
$as_echo "no" >&6; }
17831
 
        as_fn_error $? "Missing libswscale package: libswscale-dev" "$LINENO" 5
 
18119
        as_fn_error $? "Missing libswscale development files" "$LINENO" 5
17832
18120
else
17833
18121
        LIBSWSCALE_CFLAGS=$pkg_cv_LIBSWSCALE_CFLAGS
17834
18122
        LIBSWSCALE_LIBS=$pkg_cv_LIBSWSCALE_LIBS
17896
18184
        # Put the nasty error message in config.log where it belongs
17897
18185
        echo "$LIBAVDEVICE_PKG_ERRORS" >&5
17898
18186
 
17899
 
        as_fn_error $? "Missing libavdevice package: libavdevice-dev" "$LINENO" 5
 
18187
        as_fn_error $? "Missing libavdevice development files" "$LINENO" 5
17900
18188
elif test $pkg_failed = untried; then
17901
18189
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17902
18190
$as_echo "no" >&6; }
17903
 
        as_fn_error $? "Missing libavdevice package: libavdevice-dev" "$LINENO" 5
 
18191
        as_fn_error $? "Missing libavdevice development files" "$LINENO" 5
17904
18192
else
17905
18193
        LIBAVDEVICE_CFLAGS=$pkg_cv_LIBAVDEVICE_CFLAGS
17906
18194
        LIBAVDEVICE_LIBS=$pkg_cv_LIBAVDEVICE_LIBS
17968
18256
        # Put the nasty error message in config.log where it belongs
17969
18257
        echo "$LIBAVUTIL_PKG_ERRORS" >&5
17970
18258
 
17971
 
        as_fn_error $? "Missing libavutil package: libavutil-dev" "$LINENO" 5
 
18259
        as_fn_error $? "Missing libavutil development files" "$LINENO" 5
17972
18260
elif test $pkg_failed = untried; then
17973
18261
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17974
18262
$as_echo "no" >&6; }
17975
 
        as_fn_error $? "Missing libavutil package: libavutil-dev" "$LINENO" 5
 
18263
        as_fn_error $? "Missing libavutil development files" "$LINENO" 5
17976
18264
else
17977
18265
        LIBAVUTIL_CFLAGS=$pkg_cv_LIBAVUTIL_CFLAGS
17978
18266
        LIBAVUTIL_LIBS=$pkg_cv_LIBAVUTIL_LIBS
18040
18328
        # Put the nasty error message in config.log where it belongs
18041
18329
        echo "$UDEV_PKG_ERRORS" >&5
18042
18330
 
18043
 
        as_fn_error $? "Missing libudev package: libudev-dev" "$LINENO" 5
 
18331
        as_fn_error $? "Missing libudev development files" "$LINENO" 5
18044
18332
elif test $pkg_failed = untried; then
18045
18333
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18046
18334
$as_echo "no" >&6; }
18047
 
        as_fn_error $? "Missing libudev package: libudev-dev" "$LINENO" 5
 
18335
        as_fn_error $? "Missing libudev development files" "$LINENO" 5
18048
18336
else
18049
18337
        UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS
18050
18338
        UDEV_LIBS=$pkg_cv_UDEV_LIBS
18126
18414
        echo "$CCGNU2_PKG_ERRORS" >&5
18127
18415
 
18128
18416
 
18129
 
 
18130
 
pkg_failed=no
18131
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
18132
 
$as_echo_n "checking for CCGNU2... " >&6; }
18133
 
 
18134
 
if test -n "$CCGNU2_CFLAGS"; then
18135
 
    pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
18136
 
 elif test -n "$PKG_CONFIG"; then
18137
 
    if test -n "$PKG_CONFIG" && \
18138
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18139
 
  ($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18140
 
  ac_status=$?
18141
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18142
 
  test $ac_status = 0; }; then
18143
 
  pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18144
 
                      test "x$?" != "x0" && pkg_failed=yes
18145
 
else
18146
 
  pkg_failed=yes
18147
 
fi
18148
 
 else
18149
 
    pkg_failed=untried
18150
 
fi
18151
 
if test -n "$CCGNU2_LIBS"; then
18152
 
    pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
18153
 
 elif test -n "$PKG_CONFIG"; then
18154
 
    if test -n "$PKG_CONFIG" && \
18155
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18156
 
  ($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18157
 
  ac_status=$?
18158
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18159
 
  test $ac_status = 0; }; then
18160
 
  pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18161
 
                      test "x$?" != "x0" && pkg_failed=yes
18162
 
else
18163
 
  pkg_failed=yes
18164
 
fi
18165
 
 else
18166
 
    pkg_failed=untried
18167
 
fi
18168
 
 
18169
 
 
18170
 
 
18171
 
if test $pkg_failed = yes; then
18172
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18173
 
$as_echo "no" >&6; }
18174
 
 
18175
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18176
 
        _pkg_short_errors_supported=yes
18177
 
else
18178
 
        _pkg_short_errors_supported=no
18179
 
fi
18180
 
        if test $_pkg_short_errors_supported = yes; then
18181
 
                CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18182
 
        else
18183
 
                CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18184
 
        fi
18185
 
        # Put the nasty error message in config.log where it belongs
18186
 
        echo "$CCGNU2_PKG_ERRORS" >&5
18187
 
 
18188
 
        as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
18189
 
elif test $pkg_failed = untried; then
18190
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18191
 
$as_echo "no" >&6; }
18192
 
        as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
18193
 
else
18194
 
        CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
18195
 
        CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
18196
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18197
 
$as_echo "yes" >&6; }
18198
 
 
18199
 
cat >>confdefs.h <<_ACEOF
18200
 
#define CCPP_PREFIX 1
18201
 
_ACEOF
18202
 
 
18203
 
fi
18204
 
 
18205
 
elif test $pkg_failed = untried; then
18206
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18207
 
$as_echo "no" >&6; }
18208
 
 
18209
 
 
18210
 
pkg_failed=no
18211
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
18212
 
$as_echo_n "checking for CCGNU2... " >&6; }
18213
 
 
18214
 
if test -n "$CCGNU2_CFLAGS"; then
18215
 
    pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
18216
 
 elif test -n "$PKG_CONFIG"; then
18217
 
    if test -n "$PKG_CONFIG" && \
18218
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18219
 
  ($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18220
 
  ac_status=$?
18221
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18222
 
  test $ac_status = 0; }; then
18223
 
  pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18224
 
                      test "x$?" != "x0" && pkg_failed=yes
18225
 
else
18226
 
  pkg_failed=yes
18227
 
fi
18228
 
 else
18229
 
    pkg_failed=untried
18230
 
fi
18231
 
if test -n "$CCGNU2_LIBS"; then
18232
 
    pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
18233
 
 elif test -n "$PKG_CONFIG"; then
18234
 
    if test -n "$PKG_CONFIG" && \
18235
 
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
18236
 
  ($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
18237
 
  ac_status=$?
18238
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18239
 
  test $ac_status = 0; }; then
18240
 
  pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
18241
 
                      test "x$?" != "x0" && pkg_failed=yes
18242
 
else
18243
 
  pkg_failed=yes
18244
 
fi
18245
 
 else
18246
 
    pkg_failed=untried
18247
 
fi
18248
 
 
18249
 
 
18250
 
 
18251
 
if test $pkg_failed = yes; then
18252
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18253
 
$as_echo "no" >&6; }
18254
 
 
18255
 
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18256
 
        _pkg_short_errors_supported=yes
18257
 
else
18258
 
        _pkg_short_errors_supported=no
18259
 
fi
18260
 
        if test $_pkg_short_errors_supported = yes; then
18261
 
                CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18262
 
        else
18263
 
                CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18264
 
        fi
18265
 
        # Put the nasty error message in config.log where it belongs
18266
 
        echo "$CCGNU2_PKG_ERRORS" >&5
18267
 
 
18268
 
        as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
18269
 
elif test $pkg_failed = untried; then
18270
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18271
 
$as_echo "no" >&6; }
18272
 
        as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
18273
 
else
18274
 
        CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
18275
 
        CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
18276
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18277
 
$as_echo "yes" >&6; }
18278
 
 
18279
 
cat >>confdefs.h <<_ACEOF
18280
 
#define CCPP_PREFIX 1
18281
 
_ACEOF
18282
 
 
18283
 
fi
18284
 
 
18285
 
else
18286
 
        CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
18287
 
        CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
18288
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18289
 
$as_echo "yes" >&6; }
18290
 
 
18291
 
cat >>confdefs.h <<_ACEOF
18292
 
#define COMMONCPP_PREFIX 1
18293
 
_ACEOF
 
18417
pkg_failed=no
 
18418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
 
18419
$as_echo_n "checking for CCGNU2... " >&6; }
 
18420
 
 
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
 
18427
  ac_status=$?
 
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
 
18432
else
 
18433
  pkg_failed=yes
 
18434
fi
 
18435
 else
 
18436
    pkg_failed=untried
 
18437
fi
 
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
 
18444
  ac_status=$?
 
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
 
18449
else
 
18450
  pkg_failed=yes
 
18451
fi
 
18452
 else
 
18453
    pkg_failed=untried
 
18454
fi
 
18455
 
 
18456
 
 
18457
 
 
18458
if test $pkg_failed = yes; then
 
18459
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18460
$as_echo "no" >&6; }
 
18461
 
 
18462
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
18463
        _pkg_short_errors_supported=yes
 
18464
else
 
18465
        _pkg_short_errors_supported=no
 
18466
fi
 
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`
 
18469
        else
 
18470
                CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
 
18471
        fi
 
18472
        # Put the nasty error message in config.log where it belongs
 
18473
        echo "$CCGNU2_PKG_ERRORS" >&5
 
18474
 
 
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
 
18480
else
 
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; }
 
18485
 
 
18486
fi
 
18487
elif test $pkg_failed = untried; then
 
18488
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18489
$as_echo "no" >&6; }
 
18490
 
 
18491
pkg_failed=no
 
18492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
 
18493
$as_echo_n "checking for CCGNU2... " >&6; }
 
18494
 
 
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
 
18501
  ac_status=$?
 
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
 
18506
else
 
18507
  pkg_failed=yes
 
18508
fi
 
18509
 else
 
18510
    pkg_failed=untried
 
18511
fi
 
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
 
18518
  ac_status=$?
 
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
 
18523
else
 
18524
  pkg_failed=yes
 
18525
fi
 
18526
 else
 
18527
    pkg_failed=untried
 
18528
fi
 
18529
 
 
18530
 
 
18531
 
 
18532
if test $pkg_failed = yes; then
 
18533
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
18534
$as_echo "no" >&6; }
 
18535
 
 
18536
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
18537
        _pkg_short_errors_supported=yes
 
18538
else
 
18539
        _pkg_short_errors_supported=no
 
18540
fi
 
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`
 
18543
        else
 
18544
                CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
 
18545
        fi
 
18546
        # Put the nasty error message in config.log where it belongs
 
18547
        echo "$CCGNU2_PKG_ERRORS" >&5
 
18548
 
 
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
 
18554
else
 
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; }
 
18559
 
 
18560
fi
 
18561
else
 
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; }
18294
18566
 
18295
18567
fi
18296
18568
 
18414
18686
        # Put the nasty error message in config.log where it belongs
18415
18687
        echo "$CCRTP_PKG_ERRORS" >&5
18416
18688
 
18417
 
        as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
 
18689
        as_fn_error $? "Missing ccrtp development files" "$LINENO" 5
18418
18690
elif test $pkg_failed = untried; then
18419
18691
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18420
18692
$as_echo "no" >&6; }
18421
 
        as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
 
18693
        as_fn_error $? "Missing ccrtp development files" "$LINENO" 5
18422
18694
else
18423
18695
        CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
18424
18696
        CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
18490
18762
        # Put the nasty error message in config.log where it belongs
18491
18763
        echo "$CCRTP_PKG_ERRORS" >&5
18492
18764
 
18493
 
        as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
 
18765
        as_fn_error $? "Missing ccrtp development files" "$LINENO" 5
18494
18766
elif test $pkg_failed = untried; then
18495
18767
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18496
18768
$as_echo "no" >&6; }
18497
 
        as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
18498
 
else
18499
 
        CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
18500
 
        CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
18501
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18502
 
$as_echo "yes" >&6; }
18503
 
 
18504
 
fi
18505
 
 
18506
 
else
18507
 
        CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
18508
 
        CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
18509
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18510
 
$as_echo "yes" >&6; }
18511
 
 
18512
 
fi
18513
 
 
 
18769
        as_fn_error $? "Missing ccrtp development files" "$LINENO" 5
 
18770
else
 
18771
        CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
 
18772
        CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
 
18773
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18774
$as_echo "yes" >&6; }
 
18775
 
 
18776
fi
 
18777
 
 
18778
else
 
18779
        CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
 
18780
        CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
 
18781
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
18782
$as_echo "yes" >&6; }
 
18783
 
 
18784
fi
 
18785
 
 
18786
# Check whether --enable-presence was given.
 
18787
if test "${enable_presence+set}" = set; then :
 
18788
  enableval=$enable_presence;
 
18789
fi
 
18790
 
 
18791
 
 
18792
if test "x$enable_presence" != "xno"; then :
 
18793
 
 
18794
 
 
18795
$as_echo "#define SFL_PRESENCE /**/" >>confdefs.h
 
18796
 
 
18797
     if true; then
 
18798
  SFL_PRESENCE_TRUE=
 
18799
  SFL_PRESENCE_FALSE='#'
 
18800
else
 
18801
  SFL_PRESENCE_TRUE='#'
 
18802
  SFL_PRESENCE_FALSE=
 
18803
fi
 
18804
 
 
18805
else
 
18806
   if false; then
 
18807
  SFL_PRESENCE_TRUE=
 
18808
  SFL_PRESENCE_FALSE='#'
 
18809
else
 
18810
  SFL_PRESENCE_TRUE='#'
 
18811
  SFL_PRESENCE_FALSE=
 
18812
fi
 
18813
 
 
18814
fi
18514
18815
 
18515
18816
# TLS
18516
18817
# required dependency(ies): libssl
18583
18884
        # Put the nasty error message in config.log where it belongs
18584
18885
        echo "$libssl_PKG_ERRORS" >&5
18585
18886
 
18586
 
        as_fn_error $? "Missing ssl development package: libssl-dev" "$LINENO" 5
 
18887
        as_fn_error $? "Missing ssl development files" "$LINENO" 5
18587
18888
elif test $pkg_failed = untried; then
18588
18889
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18589
18890
$as_echo "no" >&6; }
18590
 
        as_fn_error $? "Missing ssl development package: libssl-dev" "$LINENO" 5
 
18891
        as_fn_error $? "Missing ssl development files" "$LINENO" 5
18591
18892
else
18592
18893
        libssl_CFLAGS=$pkg_cv_libssl_CFLAGS
18593
18894
        libssl_LIBS=$pkg_cv_libssl_LIBS
18685
18986
        # Put the nasty error message in config.log where it belongs
18686
18987
        echo "$ZRTPCPP_PKG_ERRORS" >&5
18687
18988
 
18688
 
        as_fn_error $? "Missing zrtp development package: libzrtpcpp-dev" "$LINENO" 5
 
18989
        as_fn_error $? "Missing zrtp development files" "$LINENO" 5
18689
18990
elif test $pkg_failed = untried; then
18690
18991
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18691
18992
$as_echo "no" >&6; }
18692
 
        as_fn_error $? "Missing zrtp development package: libzrtpcpp-dev" "$LINENO" 5
 
18993
        as_fn_error $? "Missing zrtp development files" "$LINENO" 5
18693
18994
else
18694
18995
        ZRTPCPP_CFLAGS=$pkg_cv_ZRTPCPP_CFLAGS
18695
18996
        ZRTPCPP_LIBS=$pkg_cv_ZRTPCPP_LIBS
18714
19015
fi
18715
19016
 
18716
19017
 
18717
 
 
18718
 
# DBUS
18719
 
# required dependency(ies): libdbus-c++
18720
 
DBUS_CPP_REQUIRED_VERSION=0.6.0-pre1
 
19018
# DBUSCPP
 
19019
 
 
19020
# Check whether --with-dbus was given.
 
19021
if test "${with_dbus+set}" = set; then :
 
19022
  withval=$with_dbus;
 
19023
else
 
19024
  with_dbus=yes
 
19025
fi
 
19026
 
 
19027
if test "x$with_dbus" = "xyes"; then :
 
19028
 
18721
19029
 
18722
19030
pkg_failed=no
18723
19031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSCPP" >&5
18777
19085
        # Put the nasty error message in config.log where it belongs
18778
19086
        echo "$DBUSCPP_PKG_ERRORS" >&5
18779
19087
 
18780
 
        as_fn_error $? "You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)" "$LINENO" 5
 
19088
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dbus development files" >&5
 
19089
$as_echo "$as_me: WARNING: Missing dbus development files" >&2;}
18781
19090
elif test $pkg_failed = untried; then
18782
19091
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18783
19092
$as_echo "no" >&6; }
18784
 
        as_fn_error $? "You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)" "$LINENO" 5
 
19093
        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dbus development files" >&5
 
19094
$as_echo "$as_me: WARNING: Missing dbus development files" >&2;}
18785
19095
else
18786
19096
        DBUSCPP_CFLAGS=$pkg_cv_DBUSCPP_CFLAGS
18787
19097
        DBUSCPP_LIBS=$pkg_cv_DBUSCPP_LIBS
18790
19100
 
18791
19101
fi
18792
19102
 
 
19103
fi;
 
19104
 
 
19105
 
 
19106
cat >>confdefs.h <<_ACEOF
 
19107
#define HAVE_DBUS `if test "x$with_dbus" = "xyes"; then echo 1; else echo 0; fi`
 
19108
_ACEOF
 
19109
 
18793
19110
 
18794
19111
# Instant Messaging
18795
19112
# required dependency(ies): libxpat
19079
19396
    fi
19080
19397
 
19081
19398
    if test "$HAVE_EXPAT" != "yes"; then :
19082
 
  as_fn_error $? "libexpat could not be found, which is required to build this package." "$LINENO" 5
 
19399
  as_fn_error $? "Missing libexpat development files" "$LINENO" 5
19083
19400
fi
19084
19401
 
19085
19402
fi;
19878
20195
else
19879
20196
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19880
20197
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19881
 
as_fn_error $? "Unable to find the libspeex headers (you may need to install the dev package).  You may use --without-speex to compile without speex codec support.
 
20198
as_fn_error $? "Missing speex development files. You may use --without-speex to compile without speex codec support.
19882
20199
See \`config.log' for more details" "$LINENO" 5; }
19883
20200
fi
19884
20201
 
19969
20286
else
19970
20287
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19971
20288
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19972
 
as_fn_error $? "Unable to find the libspeexdsp headers (you may need to install the libspeexdsp-dev package) used for Noise Suppression and Automatic Gain Control.
 
20289
as_fn_error $? "Missing libspeexdsp development files used for Noise Suppression and Automatic Gain Control.
19973
20290
See \`config.log' for more details" "$LINENO" 5; }
19974
20291
fi
19975
20292
 
20591
20908
fi
20592
20909
 
20593
20910
 
20594
 
ac_config_files="$ac_config_files Makefile libs/Makefile libs/iax2/Makefile src/Makefile src/sip/Makefile src/im/Makefile src/iax/Makefile src/audio/Makefile src/audio/audiortp/Makefile src/audio/pulseaudio/Makefile src/audio/alsa/Makefile src/audio/sound/Makefile src/audio/codecs/Makefile src/config/Makefile src/dbus/Makefile src/hooks/Makefile src/history/Makefile src/video/Makefile src/video/test/Makefile test/Makefile ringtones/Makefile man/Makefile doc/Makefile doc/dbus-api/Makefile doc/doxygen/Makefile"
 
20911
ac_config_files="$ac_config_files Makefile libs/Makefile libs/iax2/Makefile src/Makefile src/sip/Makefile src/im/Makefile src/iax/Makefile src/audio/Makefile src/audio/audiortp/Makefile src/audio/pulseaudio/Makefile src/audio/alsa/Makefile src/audio/sound/Makefile src/audio/codecs/Makefile src/config/Makefile src/client/Makefile src/client/dbus/Makefile src/hooks/Makefile src/history/Makefile src/video/Makefile src/video/test/Makefile test/Makefile ringtones/Makefile man/Makefile doc/Makefile doc/dbus-api/Makefile doc/doxygen/Makefile"
20595
20912
 
20596
20913
 
20597
20914
# Go!
20728
21045
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
20729
21046
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20730
21047
fi
 
21048
if test -z "${BUILD_ALSA_TRUE}" && test -z "${BUILD_ALSA_FALSE}"; then
 
21049
  as_fn_error $? "conditional \"BUILD_ALSA\" was never defined.
 
21050
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21051
fi
20731
21052
if test -z "${BUILD_PULSE_TRUE}" && test -z "${BUILD_PULSE_FALSE}"; then
20732
21053
  as_fn_error $? "conditional \"BUILD_PULSE\" was never defined.
20733
21054
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20740
21061
  as_fn_error $? "conditional \"SFL_VIDEO\" was never defined.
20741
21062
Usually this means the macro was only invoked conditionally." "$LINENO" 5
20742
21063
fi
 
21064
if test -z "${SFL_PRESENCE_TRUE}" && test -z "${SFL_PRESENCE_FALSE}"; then
 
21065
  as_fn_error $? "conditional \"SFL_PRESENCE\" was never defined.
 
21066
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21067
fi
 
21068
if test -z "${SFL_PRESENCE_TRUE}" && test -z "${SFL_PRESENCE_FALSE}"; then
 
21069
  as_fn_error $? "conditional \"SFL_PRESENCE\" was never defined.
 
21070
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
21071
fi
20743
21072
if test -z "${BUILD_TLS_TRUE}" && test -z "${BUILD_TLS_FALSE}"; then
20744
21073
  as_fn_error $? "conditional \"BUILD_TLS\" was never defined.
20745
21074
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21205
21534
# report actual input values of CONFIG_FILES etc. instead of their
21206
21535
# values after options handling.
21207
21536
ac_log="
21208
 
This file was extended by sflphone $as_me 1.2.3, which was
 
21537
This file was extended by sflphone $as_me 1.3.0, which was
21209
21538
generated by GNU Autoconf 2.68.  Invocation command line was
21210
21539
 
21211
21540
  CONFIG_FILES    = $CONFIG_FILES
21271
21600
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21272
21601
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21273
21602
ac_cs_version="\\
21274
 
sflphone config.status 1.2.3
 
21603
sflphone config.status 1.3.0
21275
21604
configured by $0, generated by GNU Autoconf 2.68,
21276
21605
  with options \\"\$ac_cs_config\\"
21277
21606
 
21792
22121
    "src/audio/sound/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/sound/Makefile" ;;
21793
22122
    "src/audio/codecs/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/codecs/Makefile" ;;
21794
22123
    "src/config/Makefile") CONFIG_FILES="$CONFIG_FILES src/config/Makefile" ;;
21795
 
    "src/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/dbus/Makefile" ;;
 
22124
    "src/client/Makefile") CONFIG_FILES="$CONFIG_FILES src/client/Makefile" ;;
 
22125
    "src/client/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/client/dbus/Makefile" ;;
21796
22126
    "src/hooks/Makefile") CONFIG_FILES="$CONFIG_FILES src/hooks/Makefile" ;;
21797
22127
    "src/history/Makefile") CONFIG_FILES="$CONFIG_FILES src/history/Makefile" ;;
21798
22128
    "src/video/Makefile") CONFIG_FILES="$CONFIG_FILES src/video/Makefile" ;;
23331
23661
 
23332
23662
 
23333
23663
 
23334
 
subdirs="$subdirs libs/pjproject-2.0.1"
 
23664
subdirs="$subdirs libs/pjproject-2.1.0"
23335
23665
 
23336
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration done! Please make sure that pjsip library (libs/pjproject-2.0.1) has already been compiled. Run \`make' to build the software." >&5
23337
 
$as_echo "$as_me: Configuration done! Please make sure that pjsip library (libs/pjproject-2.0.1) has already been compiled. Run \`make' to build the software." >&6;}
 
23666
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration done! Please make sure that pjsip library (libs/pjproject-2.1.0) has already been compiled. Run \`make' to build the software." >&5
 
23667
$as_echo "$as_me: Configuration done! Please make sure that pjsip library (libs/pjproject-2.1.0) has already been compiled. Run \`make' to build the software." >&6;}