16320
16339
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16342
ax_cxx_compile_cxx11_required=truednl
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
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
16354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355
/* end confdefs.h. */
16357
template <typename T>
16360
static_assert(sizeof(int) <= sizeof(T), "not big enough");
16363
typedef check<check<bool>> right_angle_brackets;
16368
typedef check<int> check_type;
16370
check_type&& cr = static_cast<check_type&&>(c);
16375
if ac_fn_cxx_try_compile "$LINENO"; then :
16376
ax_cv_cxx_compile_cxx11=yes
16378
ax_cv_cxx_compile_cxx11=no
16380
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
16396
ac_save_CXXFLAGS="$CXXFLAGS"
16397
CXXFLAGS="$CXXFLAGS $switch"
16398
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399
/* end confdefs.h. */
16401
template <typename T>
16404
static_assert(sizeof(int) <= sizeof(T), "not big enough");
16407
typedef check<check<bool>> right_angle_brackets;
16412
typedef check<int> check_type;
16414
check_type&& cr = static_cast<check_type&&>(c);
16419
if ac_fn_cxx_try_compile "$LINENO"; then :
16424
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16425
CXXFLAGS="$ac_save_CXXFLAGS"
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"
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
16446
ac_save_CXXFLAGS="$CXXFLAGS"
16447
CXXFLAGS="$CXXFLAGS $switch"
16448
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16449
/* end confdefs.h. */
16451
template <typename T>
16454
static_assert(sizeof(int) <= sizeof(T), "not big enough");
16457
typedef check<check<bool>> right_angle_brackets;
16462
typedef check<int> check_type;
16464
check_type&& cr = static_cast<check_type&&>(c);
16469
if ac_fn_cxx_try_compile "$LINENO"; then :
16474
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16475
CXXFLAGS="$ac_save_CXXFLAGS"
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"
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
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
16498
if test x$ac_success = xno; then
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;}
16505
$as_echo "#define HAVE_CXX11 1" >>confdefs.h
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 :
17809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
17810
$as_echo_n "checking for SNDFILE... " >&6; }
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
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
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
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
17849
if test $pkg_failed = yes; then
17850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17851
$as_echo "no" >&6; }
17853
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17854
_pkg_short_errors_supported=yes
17856
_pkg_short_errors_supported=no
17858
if test $_pkg_short_errors_supported = yes; then
17859
SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sndfile" 2>&1`
17861
SNDFILE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sndfile" 2>&1`
17863
# Put the nasty error message in config.log where it belongs
17864
echo "$SNDFILE_PKG_ERRORS" >&5
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
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; }
17591
17879
# Check whether --enable-coverage was given.
17592
17880
if test "${enable_coverage+set}" = set; then :
17593
17881
enableval=$enable_coverage;
18126
18414
echo "$CCGNU2_PKG_ERRORS" >&5
18131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
18132
$as_echo_n "checking for CCGNU2... " >&6; }
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
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
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
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
18171
if test $pkg_failed = yes; then
18172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18173
$as_echo "no" >&6; }
18175
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18176
_pkg_short_errors_supported=yes
18178
_pkg_short_errors_supported=no
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`
18183
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18185
# Put the nasty error message in config.log where it belongs
18186
echo "$CCGNU2_PKG_ERRORS" >&5
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
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; }
18199
cat >>confdefs.h <<_ACEOF
18200
#define CCPP_PREFIX 1
18205
elif test $pkg_failed = untried; then
18206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18207
$as_echo "no" >&6; }
18211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
18212
$as_echo_n "checking for CCGNU2... " >&6; }
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
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
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
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
18251
if test $pkg_failed = yes; then
18252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18253
$as_echo "no" >&6; }
18255
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18256
_pkg_short_errors_supported=yes
18258
_pkg_short_errors_supported=no
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`
18263
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
18265
# Put the nasty error message in config.log where it belongs
18266
echo "$CCGNU2_PKG_ERRORS" >&5
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
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; }
18279
cat >>confdefs.h <<_ACEOF
18280
#define CCPP_PREFIX 1
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; }
18291
cat >>confdefs.h <<_ACEOF
18292
#define COMMONCPP_PREFIX 1
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; }