Mercurial > hg > sonic-annotator
comparison configure @ 82:03f33b0cbcfd
Need sord and serd (don't need some others)
author | Chris Cannam |
---|---|
date | Wed, 08 May 2013 17:12:51 +0100 |
parents | da8b125f606a |
children | 52e5e2c03792 |
comparison
equal
deleted
inserted
replaced
81:9f78c80c80f1 | 82:03f33b0cbcfd |
---|---|
642 fishsound_CFLAGS | 642 fishsound_CFLAGS |
643 oggz_LIBS | 643 oggz_LIBS |
644 oggz_CFLAGS | 644 oggz_CFLAGS |
645 lrdf_LIBS | 645 lrdf_LIBS |
646 lrdf_CFLAGS | 646 lrdf_CFLAGS |
647 libpulse_LIBS | 647 serd_LIBS |
648 libpulse_CFLAGS | 648 serd_CFLAGS |
649 JACK_LIBS | 649 sord_LIBS |
650 JACK_CFLAGS | 650 sord_CFLAGS |
651 portaudio_2_0_LIBS | |
652 portaudio_2_0_CFLAGS | |
653 liblo_LIBS | |
654 liblo_CFLAGS | |
655 rubberband_LIBS | |
656 rubberband_CFLAGS | |
657 vamphostsdk_LIBS | 651 vamphostsdk_LIBS |
658 vamphostsdk_CFLAGS | 652 vamphostsdk_CFLAGS |
659 vamp_LIBS | 653 vamp_LIBS |
660 vamp_CFLAGS | 654 vamp_CFLAGS |
661 samplerate_LIBS | 655 samplerate_LIBS |
759 samplerate_LIBS | 753 samplerate_LIBS |
760 vamp_CFLAGS | 754 vamp_CFLAGS |
761 vamp_LIBS | 755 vamp_LIBS |
762 vamphostsdk_CFLAGS | 756 vamphostsdk_CFLAGS |
763 vamphostsdk_LIBS | 757 vamphostsdk_LIBS |
764 rubberband_CFLAGS | 758 sord_CFLAGS |
765 rubberband_LIBS | 759 sord_LIBS |
766 liblo_CFLAGS | 760 serd_CFLAGS |
767 liblo_LIBS | 761 serd_LIBS |
768 portaudio_2_0_CFLAGS | |
769 portaudio_2_0_LIBS | |
770 JACK_CFLAGS | |
771 JACK_LIBS | |
772 libpulse_CFLAGS | |
773 libpulse_LIBS | |
774 lrdf_CFLAGS | 762 lrdf_CFLAGS |
775 lrdf_LIBS | 763 lrdf_LIBS |
776 oggz_CFLAGS | 764 oggz_CFLAGS |
777 oggz_LIBS | 765 oggz_LIBS |
778 fishsound_CFLAGS | 766 fishsound_CFLAGS |
1428 vamp_LIBS linker flags for vamp, overriding pkg-config | 1416 vamp_LIBS linker flags for vamp, overriding pkg-config |
1429 vamphostsdk_CFLAGS | 1417 vamphostsdk_CFLAGS |
1430 C compiler flags for vamphostsdk, overriding pkg-config | 1418 C compiler flags for vamphostsdk, overriding pkg-config |
1431 vamphostsdk_LIBS | 1419 vamphostsdk_LIBS |
1432 linker flags for vamphostsdk, overriding pkg-config | 1420 linker flags for vamphostsdk, overriding pkg-config |
1433 rubberband_CFLAGS | 1421 sord_CFLAGS C compiler flags for sord, overriding pkg-config |
1434 C compiler flags for rubberband, overriding pkg-config | 1422 sord_LIBS linker flags for sord, overriding pkg-config |
1435 rubberband_LIBS | 1423 serd_CFLAGS C compiler flags for serd, overriding pkg-config |
1436 linker flags for rubberband, overriding pkg-config | 1424 serd_LIBS linker flags for serd, overriding pkg-config |
1437 liblo_CFLAGS | |
1438 C compiler flags for liblo, overriding pkg-config | |
1439 liblo_LIBS linker flags for liblo, overriding pkg-config | |
1440 portaudio_2_0_CFLAGS | |
1441 C compiler flags for portaudio_2_0, overriding pkg-config | |
1442 portaudio_2_0_LIBS | |
1443 linker flags for portaudio_2_0, overriding pkg-config | |
1444 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config | |
1445 JACK_LIBS linker flags for JACK, overriding pkg-config | |
1446 libpulse_CFLAGS | |
1447 C compiler flags for libpulse, overriding pkg-config | |
1448 libpulse_LIBS | |
1449 linker flags for libpulse, overriding pkg-config | |
1450 lrdf_CFLAGS C compiler flags for lrdf, overriding pkg-config | 1425 lrdf_CFLAGS C compiler flags for lrdf, overriding pkg-config |
1451 lrdf_LIBS linker flags for lrdf, overriding pkg-config | 1426 lrdf_LIBS linker flags for lrdf, overriding pkg-config |
1452 oggz_CFLAGS C compiler flags for oggz, overriding pkg-config | 1427 oggz_CFLAGS C compiler flags for oggz, overriding pkg-config |
1453 oggz_LIBS linker flags for oggz, overriding pkg-config | 1428 oggz_LIBS linker flags for oggz, overriding pkg-config |
1454 fishsound_CFLAGS | 1429 fishsound_CFLAGS |
5308 | 5283 |
5309 fi | 5284 fi |
5310 fi | 5285 fi |
5311 | 5286 |
5312 | 5287 |
5313 SV_MODULE_MODULE=rubberband | 5288 SV_MODULE_MODULE=sord |
5314 SV_MODULE_VERSION_TEST="rubberband" | 5289 SV_MODULE_VERSION_TEST="sord-0 >= 0.5" |
5315 SV_MODULE_HEADER=rubberband/RubberBandStretcher.h | 5290 SV_MODULE_HEADER=sord/sord.h |
5316 SV_MODULE_LIB=rubberband | 5291 SV_MODULE_LIB=sord-0 |
5317 SV_MODULE_FUNC=rubberband_new | 5292 SV_MODULE_FUNC=sord_world_new |
5318 SV_MODULE_HAVE=HAVE_$(echo rubberband | tr 'a-z' 'A-Z') | 5293 SV_MODULE_HAVE=HAVE_$(echo sord | tr 'a-z' 'A-Z') |
5319 SV_MODULE_FAILED=1 | 5294 SV_MODULE_FAILED=1 |
5320 if test -n "$rubberband_LIBS" ; then | 5295 if test -n "$sord_LIBS" ; then |
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5296 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5322 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5297 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5323 CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS" | 5298 CXXFLAGS="$CXXFLAGS $sord_CFLAGS" |
5324 LIBS="$LIBS $rubberband_LIBS" | 5299 LIBS="$LIBS $sord_LIBS" |
5325 SV_MODULE_FAILED="" | 5300 SV_MODULE_FAILED="" |
5326 fi | 5301 fi |
5327 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5302 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5328 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5303 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5329 fi | 5304 fi |
5330 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5305 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5331 | 5306 |
5332 pkg_failed=no | 5307 pkg_failed=no |
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5 | 5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sord" >&5 |
5334 $as_echo_n "checking for rubberband... " >&6; } | 5309 $as_echo_n "checking for sord... " >&6; } |
5335 | 5310 |
5336 if test -n "$rubberband_CFLAGS"; then | 5311 if test -n "$sord_CFLAGS"; then |
5337 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS" | 5312 pkg_cv_sord_CFLAGS="$sord_CFLAGS" |
5338 elif test -n "$PKG_CONFIG"; then | 5313 elif test -n "$PKG_CONFIG"; then |
5339 if test -n "$PKG_CONFIG" && \ | 5314 if test -n "$PKG_CONFIG" && \ |
5340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5341 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5316 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5342 ac_status=$? | 5317 ac_status=$? |
5343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5344 test $ac_status = 0; }; then | 5319 test $ac_status = 0; }; then |
5345 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5320 pkg_cv_sord_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5346 test "x$?" != "x0" && pkg_failed=yes | 5321 test "x$?" != "x0" && pkg_failed=yes |
5347 else | 5322 else |
5348 pkg_failed=yes | 5323 pkg_failed=yes |
5349 fi | 5324 fi |
5350 else | 5325 else |
5351 pkg_failed=untried | 5326 pkg_failed=untried |
5352 fi | 5327 fi |
5353 if test -n "$rubberband_LIBS"; then | 5328 if test -n "$sord_LIBS"; then |
5354 pkg_cv_rubberband_LIBS="$rubberband_LIBS" | 5329 pkg_cv_sord_LIBS="$sord_LIBS" |
5355 elif test -n "$PKG_CONFIG"; then | 5330 elif test -n "$PKG_CONFIG"; then |
5356 if test -n "$PKG_CONFIG" && \ | 5331 if test -n "$PKG_CONFIG" && \ |
5357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5358 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5333 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5359 ac_status=$? | 5334 ac_status=$? |
5360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5361 test $ac_status = 0; }; then | 5336 test $ac_status = 0; }; then |
5362 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5337 pkg_cv_sord_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5363 test "x$?" != "x0" && pkg_failed=yes | 5338 test "x$?" != "x0" && pkg_failed=yes |
5364 else | 5339 else |
5365 pkg_failed=yes | 5340 pkg_failed=yes |
5366 fi | 5341 fi |
5367 else | 5342 else |
5378 _pkg_short_errors_supported=yes | 5353 _pkg_short_errors_supported=yes |
5379 else | 5354 else |
5380 _pkg_short_errors_supported=no | 5355 _pkg_short_errors_supported=no |
5381 fi | 5356 fi |
5382 if test $_pkg_short_errors_supported = yes; then | 5357 if test $_pkg_short_errors_supported = yes; then |
5383 rubberband_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5358 sord_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5384 else | 5359 else |
5385 rubberband_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5360 sord_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5386 fi | 5361 fi |
5387 # Put the nasty error message in config.log where it belongs | 5362 # Put the nasty error message in config.log where it belongs |
5388 echo "$rubberband_PKG_ERRORS" >&5 | 5363 echo "$sord_PKG_ERRORS" >&5 |
5389 | 5364 |
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | 5365 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5391 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5366 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5392 elif test $pkg_failed = untried; then | 5367 elif test $pkg_failed = untried; then |
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5394 $as_echo "no" >&6; } | 5369 $as_echo "no" >&6; } |
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | 5370 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5396 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5371 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5397 else | 5372 else |
5398 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS | 5373 sord_CFLAGS=$pkg_cv_sord_CFLAGS |
5399 rubberband_LIBS=$pkg_cv_rubberband_LIBS | 5374 sord_LIBS=$pkg_cv_sord_LIBS |
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5401 $as_echo "yes" >&6; } | 5376 $as_echo "yes" >&6; } |
5402 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS";LIBS="$LIBS $rubberband_LIBS";SV_MODULE_FAILED="" | 5377 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $sord_CFLAGS";LIBS="$LIBS $sord_LIBS";SV_MODULE_FAILED="" |
5403 fi | 5378 fi |
5404 fi | 5379 fi |
5405 if test -n "$SV_MODULE_FAILED"; then | 5380 if test -n "$SV_MODULE_FAILED"; then |
5406 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5381 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5407 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5382 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5459 | 5434 |
5460 fi | 5435 fi |
5461 fi | 5436 fi |
5462 | 5437 |
5463 | 5438 |
5464 | 5439 SV_MODULE_MODULE=serd |
5465 SV_MODULE_MODULE=liblo | 5440 SV_MODULE_VERSION_TEST="serd-0 >= 0.5" |
5466 SV_MODULE_VERSION_TEST="" | 5441 SV_MODULE_HEADER=serd/serd.h |
5467 SV_MODULE_HEADER=lo/lo.h | 5442 SV_MODULE_LIB=serd-0 |
5468 SV_MODULE_LIB=lo | 5443 SV_MODULE_FUNC=serd_reader_read_file |
5469 SV_MODULE_FUNC=lo_address_new | 5444 SV_MODULE_HAVE=HAVE_$(echo serd | tr 'a-z' 'A-Z') |
5470 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5471 SV_MODULE_FAILED=1 | 5445 SV_MODULE_FAILED=1 |
5472 if test -n "$liblo_LIBS" ; then | 5446 if test -n "$serd_LIBS" ; then |
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5447 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5474 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5448 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5475 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" | 5449 CXXFLAGS="$CXXFLAGS $serd_CFLAGS" |
5476 LIBS="$LIBS $liblo_LIBS" | 5450 LIBS="$LIBS $serd_LIBS" |
5477 SV_MODULE_FAILED="" | 5451 SV_MODULE_FAILED="" |
5478 fi | 5452 fi |
5479 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5453 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5480 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5454 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5481 fi | 5455 fi |
5482 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5456 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5483 | 5457 |
5484 pkg_failed=no | 5458 pkg_failed=no |
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 | 5459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for serd" >&5 |
5486 $as_echo_n "checking for liblo... " >&6; } | 5460 $as_echo_n "checking for serd... " >&6; } |
5487 | 5461 |
5488 if test -n "$liblo_CFLAGS"; then | 5462 if test -n "$serd_CFLAGS"; then |
5489 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" | 5463 pkg_cv_serd_CFLAGS="$serd_CFLAGS" |
5490 elif test -n "$PKG_CONFIG"; then | 5464 elif test -n "$PKG_CONFIG"; then |
5491 if test -n "$PKG_CONFIG" && \ | 5465 if test -n "$PKG_CONFIG" && \ |
5492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5493 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5467 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5494 ac_status=$? | 5468 ac_status=$? |
5495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5496 test $ac_status = 0; }; then | 5470 test $ac_status = 0; }; then |
5497 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5471 pkg_cv_serd_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5498 test "x$?" != "x0" && pkg_failed=yes | 5472 test "x$?" != "x0" && pkg_failed=yes |
5499 else | 5473 else |
5500 pkg_failed=yes | 5474 pkg_failed=yes |
5501 fi | 5475 fi |
5502 else | 5476 else |
5503 pkg_failed=untried | 5477 pkg_failed=untried |
5504 fi | 5478 fi |
5505 if test -n "$liblo_LIBS"; then | 5479 if test -n "$serd_LIBS"; then |
5506 pkg_cv_liblo_LIBS="$liblo_LIBS" | 5480 pkg_cv_serd_LIBS="$serd_LIBS" |
5507 elif test -n "$PKG_CONFIG"; then | 5481 elif test -n "$PKG_CONFIG"; then |
5508 if test -n "$PKG_CONFIG" && \ | 5482 if test -n "$PKG_CONFIG" && \ |
5509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5510 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5484 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5511 ac_status=$? | 5485 ac_status=$? |
5512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5513 test $ac_status = 0; }; then | 5487 test $ac_status = 0; }; then |
5514 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5488 pkg_cv_serd_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5515 test "x$?" != "x0" && pkg_failed=yes | 5489 test "x$?" != "x0" && pkg_failed=yes |
5516 else | 5490 else |
5517 pkg_failed=yes | 5491 pkg_failed=yes |
5518 fi | 5492 fi |
5519 else | 5493 else |
5530 _pkg_short_errors_supported=yes | 5504 _pkg_short_errors_supported=yes |
5531 else | 5505 else |
5532 _pkg_short_errors_supported=no | 5506 _pkg_short_errors_supported=no |
5533 fi | 5507 fi |
5534 if test $_pkg_short_errors_supported = yes; then | 5508 if test $_pkg_short_errors_supported = yes; then |
5535 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5509 serd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5536 else | 5510 else |
5537 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5511 serd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5538 fi | 5512 fi |
5539 # Put the nasty error message in config.log where it belongs | 5513 # Put the nasty error message in config.log where it belongs |
5540 echo "$liblo_PKG_ERRORS" >&5 | 5514 echo "$serd_PKG_ERRORS" >&5 |
5541 | 5515 |
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | 5516 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5543 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5517 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5544 elif test $pkg_failed = untried; then | 5518 elif test $pkg_failed = untried; then |
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5546 $as_echo "no" >&6; } | 5520 $as_echo "no" >&6; } |
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | 5521 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5548 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5522 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5549 else | 5523 else |
5550 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS | 5524 serd_CFLAGS=$pkg_cv_serd_CFLAGS |
5551 liblo_LIBS=$pkg_cv_liblo_LIBS | 5525 serd_LIBS=$pkg_cv_serd_LIBS |
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5553 $as_echo "yes" >&6; } | 5527 $as_echo "yes" >&6; } |
5554 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" | 5528 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $serd_CFLAGS";LIBS="$LIBS $serd_LIBS";SV_MODULE_FAILED="" |
5555 fi | 5529 fi |
5556 fi | 5530 fi |
5557 if test -n "$SV_MODULE_FAILED"; then | 5531 if test -n "$SV_MODULE_FAILED"; then |
5558 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5532 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5559 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5533 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5560 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5561 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 5535 HAVES="$HAVES $SV_MODULE_HAVE" |
5562 else | 5536 else |
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 5537 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5564 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 5538 fi |
5565 fi | 5539 |
5566 | 5540 |
5567 | 5541 if test -n "$SV_MODULE_LIB"; then |
5568 if test -z "$SV_MODULE_FAILED"; then | 5542 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5569 if test -n "$SV_MODULE_LIB"; then | |
5570 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5572 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5544 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5573 if eval \${$as_ac_Lib+:} false; then : | 5545 if eval \${$as_ac_Lib+:} false; then : |
5574 $as_echo_n "(cached) " >&6 | 5546 $as_echo_n "(cached) " >&6 |
5575 else | 5547 else |
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5607 $as_echo "$ac_res" >&6; } | 5579 $as_echo "$ac_res" >&6; } |
5608 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5580 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
5609 LIBS="$LIBS -l$SV_MODULE_LIB" | 5581 LIBS="$LIBS -l$SV_MODULE_LIB" |
5610 else | 5582 else |
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 5583 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5612 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 5584 fi |
5613 fi | 5585 |
5614 | |
5615 fi | |
5616 fi | 5586 fi |
5617 fi | 5587 fi |
5618 | 5588 |
5619 | |
5620 SV_MODULE_MODULE=portaudio_2_0 | |
5621 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" | |
5622 SV_MODULE_HEADER=portaudio.h | |
5623 SV_MODULE_LIB=portaudio | |
5624 SV_MODULE_FUNC=Pa_IsFormatSupported | |
5625 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') | |
5626 SV_MODULE_FAILED=1 | |
5627 if test -n "$portaudio_2_0_LIBS" ; then | |
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
5629 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
5630 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" | |
5631 LIBS="$LIBS $portaudio_2_0_LIBS" | |
5632 SV_MODULE_FAILED="" | |
5633 fi | |
5634 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
5635 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
5636 fi | |
5637 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
5638 | |
5639 pkg_failed=no | |
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 | |
5641 $as_echo_n "checking for portaudio_2_0... " >&6; } | |
5642 | |
5643 if test -n "$portaudio_2_0_CFLAGS"; then | |
5644 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" | |
5645 elif test -n "$PKG_CONFIG"; then | |
5646 if test -n "$PKG_CONFIG" && \ | |
5647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5648 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5649 ac_status=$? | |
5650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5651 test $ac_status = 0; }; then | |
5652 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5653 test "x$?" != "x0" && pkg_failed=yes | |
5654 else | |
5655 pkg_failed=yes | |
5656 fi | |
5657 else | |
5658 pkg_failed=untried | |
5659 fi | |
5660 if test -n "$portaudio_2_0_LIBS"; then | |
5661 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" | |
5662 elif test -n "$PKG_CONFIG"; then | |
5663 if test -n "$PKG_CONFIG" && \ | |
5664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5665 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5666 ac_status=$? | |
5667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5668 test $ac_status = 0; }; then | |
5669 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5670 test "x$?" != "x0" && pkg_failed=yes | |
5671 else | |
5672 pkg_failed=yes | |
5673 fi | |
5674 else | |
5675 pkg_failed=untried | |
5676 fi | |
5677 | |
5678 | |
5679 | |
5680 if test $pkg_failed = yes; then | |
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5682 $as_echo "no" >&6; } | |
5683 | |
5684 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
5685 _pkg_short_errors_supported=yes | |
5686 else | |
5687 _pkg_short_errors_supported=no | |
5688 fi | |
5689 if test $_pkg_short_errors_supported = yes; then | |
5690 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5691 else | |
5692 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5693 fi | |
5694 # Put the nasty error message in config.log where it belongs | |
5695 echo "$portaudio_2_0_PKG_ERRORS" >&5 | |
5696 | |
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | |
5698 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5699 elif test $pkg_failed = untried; then | |
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5701 $as_echo "no" >&6; } | |
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | |
5703 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5704 else | |
5705 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS | |
5706 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS | |
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
5708 $as_echo "yes" >&6; } | |
5709 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" | |
5710 fi | |
5711 fi | |
5712 if test -n "$SV_MODULE_FAILED"; then | |
5713 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
5714 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
5715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5716 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
5717 else | |
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
5719 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
5720 fi | |
5721 | |
5722 | |
5723 if test -z "$SV_MODULE_FAILED"; then | |
5724 if test -n "$SV_MODULE_LIB"; then | |
5725 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
5727 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
5728 if eval \${$as_ac_Lib+:} false; then : | |
5729 $as_echo_n "(cached) " >&6 | |
5730 else | |
5731 ac_check_lib_save_LIBS=$LIBS | |
5732 LIBS="-l$SV_MODULE_LIB $LIBS" | |
5733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5734 /* end confdefs.h. */ | |
5735 | |
5736 /* Override any GCC internal prototype to avoid an error. | |
5737 Use char because int might match the return type of a GCC | |
5738 builtin and then its argument prototype would still apply. */ | |
5739 #ifdef __cplusplus | |
5740 extern "C" | |
5741 #endif | |
5742 char $SV_MODULE_FUNC (); | |
5743 int | |
5744 main () | |
5745 { | |
5746 return $SV_MODULE_FUNC (); | |
5747 ; | |
5748 return 0; | |
5749 } | |
5750 _ACEOF | |
5751 if ac_fn_cxx_try_link "$LINENO"; then : | |
5752 eval "$as_ac_Lib=yes" | |
5753 else | |
5754 eval "$as_ac_Lib=no" | |
5755 fi | |
5756 rm -f core conftest.err conftest.$ac_objext \ | |
5757 conftest$ac_exeext conftest.$ac_ext | |
5758 LIBS=$ac_check_lib_save_LIBS | |
5759 fi | |
5760 eval ac_res=\$$as_ac_Lib | |
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5762 $as_echo "$ac_res" >&6; } | |
5763 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
5764 LIBS="$LIBS -l$SV_MODULE_LIB" | |
5765 else | |
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
5767 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
5768 fi | |
5769 | |
5770 fi | |
5771 fi | |
5772 fi | |
5773 | |
5774 | |
5775 SV_MODULE_MODULE=JACK | |
5776 SV_MODULE_VERSION_TEST="jack >= 0.100" | |
5777 SV_MODULE_HEADER=jack/jack.h | |
5778 SV_MODULE_LIB=jack | |
5779 SV_MODULE_FUNC=jack_client_open | |
5780 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') | |
5781 SV_MODULE_FAILED=1 | |
5782 if test -n "$JACK_LIBS" ; then | |
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
5784 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
5785 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" | |
5786 LIBS="$LIBS $JACK_LIBS" | |
5787 SV_MODULE_FAILED="" | |
5788 fi | |
5789 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
5790 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
5791 fi | |
5792 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
5793 | |
5794 pkg_failed=no | |
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 | |
5796 $as_echo_n "checking for JACK... " >&6; } | |
5797 | |
5798 if test -n "$JACK_CFLAGS"; then | |
5799 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" | |
5800 elif test -n "$PKG_CONFIG"; then | |
5801 if test -n "$PKG_CONFIG" && \ | |
5802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5803 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5804 ac_status=$? | |
5805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5806 test $ac_status = 0; }; then | |
5807 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5808 test "x$?" != "x0" && pkg_failed=yes | |
5809 else | |
5810 pkg_failed=yes | |
5811 fi | |
5812 else | |
5813 pkg_failed=untried | |
5814 fi | |
5815 if test -n "$JACK_LIBS"; then | |
5816 pkg_cv_JACK_LIBS="$JACK_LIBS" | |
5817 elif test -n "$PKG_CONFIG"; then | |
5818 if test -n "$PKG_CONFIG" && \ | |
5819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5820 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5821 ac_status=$? | |
5822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5823 test $ac_status = 0; }; then | |
5824 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5825 test "x$?" != "x0" && pkg_failed=yes | |
5826 else | |
5827 pkg_failed=yes | |
5828 fi | |
5829 else | |
5830 pkg_failed=untried | |
5831 fi | |
5832 | |
5833 | |
5834 | |
5835 if test $pkg_failed = yes; then | |
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5837 $as_echo "no" >&6; } | |
5838 | |
5839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
5840 _pkg_short_errors_supported=yes | |
5841 else | |
5842 _pkg_short_errors_supported=no | |
5843 fi | |
5844 if test $_pkg_short_errors_supported = yes; then | |
5845 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5846 else | |
5847 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5848 fi | |
5849 # Put the nasty error message in config.log where it belongs | |
5850 echo "$JACK_PKG_ERRORS" >&5 | |
5851 | |
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | |
5853 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5854 elif test $pkg_failed = untried; then | |
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5856 $as_echo "no" >&6; } | |
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | |
5858 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5859 else | |
5860 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS | |
5861 JACK_LIBS=$pkg_cv_JACK_LIBS | |
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
5863 $as_echo "yes" >&6; } | |
5864 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" | |
5865 fi | |
5866 fi | |
5867 if test -n "$SV_MODULE_FAILED"; then | |
5868 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
5869 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
5870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5871 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
5872 else | |
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
5874 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
5875 fi | |
5876 | |
5877 | |
5878 if test -z "$SV_MODULE_FAILED"; then | |
5879 if test -n "$SV_MODULE_LIB"; then | |
5880 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
5882 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
5883 if eval \${$as_ac_Lib+:} false; then : | |
5884 $as_echo_n "(cached) " >&6 | |
5885 else | |
5886 ac_check_lib_save_LIBS=$LIBS | |
5887 LIBS="-l$SV_MODULE_LIB $LIBS" | |
5888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5889 /* end confdefs.h. */ | |
5890 | |
5891 /* Override any GCC internal prototype to avoid an error. | |
5892 Use char because int might match the return type of a GCC | |
5893 builtin and then its argument prototype would still apply. */ | |
5894 #ifdef __cplusplus | |
5895 extern "C" | |
5896 #endif | |
5897 char $SV_MODULE_FUNC (); | |
5898 int | |
5899 main () | |
5900 { | |
5901 return $SV_MODULE_FUNC (); | |
5902 ; | |
5903 return 0; | |
5904 } | |
5905 _ACEOF | |
5906 if ac_fn_cxx_try_link "$LINENO"; then : | |
5907 eval "$as_ac_Lib=yes" | |
5908 else | |
5909 eval "$as_ac_Lib=no" | |
5910 fi | |
5911 rm -f core conftest.err conftest.$ac_objext \ | |
5912 conftest$ac_exeext conftest.$ac_ext | |
5913 LIBS=$ac_check_lib_save_LIBS | |
5914 fi | |
5915 eval ac_res=\$$as_ac_Lib | |
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5917 $as_echo "$ac_res" >&6; } | |
5918 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
5919 LIBS="$LIBS -l$SV_MODULE_LIB" | |
5920 else | |
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
5922 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
5923 fi | |
5924 | |
5925 fi | |
5926 fi | |
5927 fi | |
5928 | |
5929 | |
5930 SV_MODULE_MODULE=libpulse | |
5931 SV_MODULE_VERSION_TEST="libpulse >= 0.9" | |
5932 SV_MODULE_HEADER=pulse/pulseaudio.h | |
5933 SV_MODULE_LIB=pulse | |
5934 SV_MODULE_FUNC=pa_stream_new | |
5935 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') | |
5936 SV_MODULE_FAILED=1 | |
5937 if test -n "$libpulse_LIBS" ; then | |
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
5939 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
5940 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" | |
5941 LIBS="$LIBS $libpulse_LIBS" | |
5942 SV_MODULE_FAILED="" | |
5943 fi | |
5944 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
5945 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
5946 fi | |
5947 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
5948 | |
5949 pkg_failed=no | |
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 | |
5951 $as_echo_n "checking for libpulse... " >&6; } | |
5952 | |
5953 if test -n "$libpulse_CFLAGS"; then | |
5954 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" | |
5955 elif test -n "$PKG_CONFIG"; then | |
5956 if test -n "$PKG_CONFIG" && \ | |
5957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5958 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5959 ac_status=$? | |
5960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5961 test $ac_status = 0; }; then | |
5962 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5963 test "x$?" != "x0" && pkg_failed=yes | |
5964 else | |
5965 pkg_failed=yes | |
5966 fi | |
5967 else | |
5968 pkg_failed=untried | |
5969 fi | |
5970 if test -n "$libpulse_LIBS"; then | |
5971 pkg_cv_libpulse_LIBS="$libpulse_LIBS" | |
5972 elif test -n "$PKG_CONFIG"; then | |
5973 if test -n "$PKG_CONFIG" && \ | |
5974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5975 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5976 ac_status=$? | |
5977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5978 test $ac_status = 0; }; then | |
5979 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5980 test "x$?" != "x0" && pkg_failed=yes | |
5981 else | |
5982 pkg_failed=yes | |
5983 fi | |
5984 else | |
5985 pkg_failed=untried | |
5986 fi | |
5987 | |
5988 | |
5989 | |
5990 if test $pkg_failed = yes; then | |
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5992 $as_echo "no" >&6; } | |
5993 | |
5994 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
5995 _pkg_short_errors_supported=yes | |
5996 else | |
5997 _pkg_short_errors_supported=no | |
5998 fi | |
5999 if test $_pkg_short_errors_supported = yes; then | |
6000 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
6001 else | |
6002 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
6003 fi | |
6004 # Put the nasty error message in config.log where it belongs | |
6005 echo "$libpulse_PKG_ERRORS" >&5 | |
6006 | |
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | |
6008 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6009 elif test $pkg_failed = untried; then | |
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6011 $as_echo "no" >&6; } | |
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | |
6013 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6014 else | |
6015 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS | |
6016 libpulse_LIBS=$pkg_cv_libpulse_LIBS | |
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
6018 $as_echo "yes" >&6; } | |
6019 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" | |
6020 fi | |
6021 fi | |
6022 if test -n "$SV_MODULE_FAILED"; then | |
6023 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
6024 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
6025 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
6026 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
6027 else | |
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
6029 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
6030 fi | |
6031 | |
6032 | |
6033 if test -z "$SV_MODULE_FAILED"; then | |
6034 if test -n "$SV_MODULE_LIB"; then | |
6035 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
6037 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
6038 if eval \${$as_ac_Lib+:} false; then : | |
6039 $as_echo_n "(cached) " >&6 | |
6040 else | |
6041 ac_check_lib_save_LIBS=$LIBS | |
6042 LIBS="-l$SV_MODULE_LIB $LIBS" | |
6043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6044 /* end confdefs.h. */ | |
6045 | |
6046 /* Override any GCC internal prototype to avoid an error. | |
6047 Use char because int might match the return type of a GCC | |
6048 builtin and then its argument prototype would still apply. */ | |
6049 #ifdef __cplusplus | |
6050 extern "C" | |
6051 #endif | |
6052 char $SV_MODULE_FUNC (); | |
6053 int | |
6054 main () | |
6055 { | |
6056 return $SV_MODULE_FUNC (); | |
6057 ; | |
6058 return 0; | |
6059 } | |
6060 _ACEOF | |
6061 if ac_fn_cxx_try_link "$LINENO"; then : | |
6062 eval "$as_ac_Lib=yes" | |
6063 else | |
6064 eval "$as_ac_Lib=no" | |
6065 fi | |
6066 rm -f core conftest.err conftest.$ac_objext \ | |
6067 conftest$ac_exeext conftest.$ac_ext | |
6068 LIBS=$ac_check_lib_save_LIBS | |
6069 fi | |
6070 eval ac_res=\$$as_ac_Lib | |
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
6072 $as_echo "$ac_res" >&6; } | |
6073 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
6074 LIBS="$LIBS -l$SV_MODULE_LIB" | |
6075 else | |
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
6077 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
6078 fi | |
6079 | |
6080 fi | |
6081 fi | |
6082 fi | |
6083 | 5589 |
6084 | 5590 |
6085 SV_MODULE_MODULE=lrdf | 5591 SV_MODULE_MODULE=lrdf |
6086 SV_MODULE_VERSION_TEST="lrdf >= 0.2" | 5592 SV_MODULE_VERSION_TEST="lrdf >= 0.2" |
6087 SV_MODULE_HEADER=lrdf.h | 5593 SV_MODULE_HEADER=lrdf.h |