Mercurial > hg > sonic-visualiser
comparison configure @ 568:96a0e169b70f with-dependencies
Merge from default branch
author | Chris Cannam <chris.cannam@eecs.qmul.ac.uk> |
---|---|
date | Tue, 14 May 2013 14:47:30 +0100 |
parents | 358541da1cd8 |
children | f1dfe46ff85a |
comparison
equal
deleted
inserted
replaced
559:881a3f0dd268 | 568:96a0e169b70f |
---|---|
652 JACK_CFLAGS | 652 JACK_CFLAGS |
653 portaudio_2_0_LIBS | 653 portaudio_2_0_LIBS |
654 portaudio_2_0_CFLAGS | 654 portaudio_2_0_CFLAGS |
655 liblo_LIBS | 655 liblo_LIBS |
656 liblo_CFLAGS | 656 liblo_CFLAGS |
657 dataquay_LIBS | |
658 dataquay_CFLAGS | |
659 rubberband_LIBS | 657 rubberband_LIBS |
660 rubberband_CFLAGS | 658 rubberband_CFLAGS |
661 vamphostsdk_LIBS | 659 vamphostsdk_LIBS |
662 vamphostsdk_CFLAGS | 660 vamphostsdk_CFLAGS |
663 vamp_LIBS | 661 vamp_LIBS |
765 vamp_LIBS | 763 vamp_LIBS |
766 vamphostsdk_CFLAGS | 764 vamphostsdk_CFLAGS |
767 vamphostsdk_LIBS | 765 vamphostsdk_LIBS |
768 rubberband_CFLAGS | 766 rubberband_CFLAGS |
769 rubberband_LIBS | 767 rubberband_LIBS |
770 dataquay_CFLAGS | |
771 dataquay_LIBS | |
772 liblo_CFLAGS | 768 liblo_CFLAGS |
773 liblo_LIBS | 769 liblo_LIBS |
774 portaudio_2_0_CFLAGS | 770 portaudio_2_0_CFLAGS |
775 portaudio_2_0_LIBS | 771 portaudio_2_0_LIBS |
776 JACK_CFLAGS | 772 JACK_CFLAGS |
1441 linker flags for vamphostsdk, overriding pkg-config | 1437 linker flags for vamphostsdk, overriding pkg-config |
1442 rubberband_CFLAGS | 1438 rubberband_CFLAGS |
1443 C compiler flags for rubberband, overriding pkg-config | 1439 C compiler flags for rubberband, overriding pkg-config |
1444 rubberband_LIBS | 1440 rubberband_LIBS |
1445 linker flags for rubberband, overriding pkg-config | 1441 linker flags for rubberband, overriding pkg-config |
1446 dataquay_CFLAGS | |
1447 C compiler flags for dataquay, overriding pkg-config | |
1448 dataquay_LIBS | |
1449 linker flags for dataquay, overriding pkg-config | |
1450 liblo_CFLAGS | 1442 liblo_CFLAGS |
1451 C compiler flags for liblo, overriding pkg-config | 1443 C compiler flags for liblo, overriding pkg-config |
1452 liblo_LIBS linker flags for liblo, overriding pkg-config | 1444 liblo_LIBS linker flags for liblo, overriding pkg-config |
1453 portaudio_2_0_CFLAGS | 1445 portaudio_2_0_CFLAGS |
1454 C compiler flags for portaudio_2_0, overriding pkg-config | 1446 C compiler flags for portaudio_2_0, overriding pkg-config |
5173 fi | 5165 fi |
5174 fi | 5166 fi |
5175 | 5167 |
5176 | 5168 |
5177 SV_MODULE_MODULE=vamphostsdk | 5169 SV_MODULE_MODULE=vamphostsdk |
5178 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.3.1" | 5170 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.5" |
5179 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h | 5171 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h |
5180 SV_MODULE_LIB=vamp-hostsdk | 5172 SV_MODULE_LIB=vamp-hostsdk |
5181 SV_MODULE_FUNC=libvamphostsdk_v_2_3_1_present | 5173 SV_MODULE_FUNC=libvamphostsdk_v_2_5_present |
5182 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') | 5174 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') |
5183 SV_MODULE_FAILED=1 | 5175 SV_MODULE_FAILED=1 |
5184 if test -n "$vamphostsdk_LIBS" ; then | 5176 if test -n "$vamphostsdk_LIBS" ; then |
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5177 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5186 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5178 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5474 | 5466 |
5475 fi | 5467 fi |
5476 fi | 5468 fi |
5477 | 5469 |
5478 | 5470 |
5479 SV_MODULE_MODULE=dataquay | 5471 |
5480 SV_MODULE_VERSION_TEST="dataquay >= 0.9" | 5472 SV_MODULE_MODULE=liblo |
5481 SV_MODULE_HEADER=dataquay/Uri.h | 5473 SV_MODULE_VERSION_TEST="" |
5482 SV_MODULE_LIB=dataquay | 5474 SV_MODULE_HEADER=lo/lo.h |
5483 SV_MODULE_FUNC=dataquay_v_0_9_present | 5475 SV_MODULE_LIB=lo |
5484 SV_MODULE_HAVE=HAVE_$(echo dataquay | tr 'a-z' 'A-Z') | 5476 SV_MODULE_FUNC=lo_address_new |
5477 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5485 SV_MODULE_FAILED=1 | 5478 SV_MODULE_FAILED=1 |
5486 if test -n "$dataquay_LIBS" ; then | 5479 if test -n "$liblo_LIBS" ; then |
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5480 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5488 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5481 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5489 CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS" | 5482 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" |
5490 LIBS="$LIBS $dataquay_LIBS" | 5483 LIBS="$LIBS $liblo_LIBS" |
5491 SV_MODULE_FAILED="" | 5484 SV_MODULE_FAILED="" |
5492 fi | 5485 fi |
5493 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5486 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5494 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5487 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5495 fi | 5488 fi |
5496 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5489 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5497 | 5490 |
5498 pkg_failed=no | 5491 pkg_failed=no |
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dataquay" >&5 | 5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 |
5500 $as_echo_n "checking for dataquay... " >&6; } | 5493 $as_echo_n "checking for liblo... " >&6; } |
5501 | 5494 |
5502 if test -n "$dataquay_CFLAGS"; then | 5495 if test -n "$liblo_CFLAGS"; then |
5503 pkg_cv_dataquay_CFLAGS="$dataquay_CFLAGS" | 5496 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" |
5504 elif test -n "$PKG_CONFIG"; then | 5497 elif test -n "$PKG_CONFIG"; then |
5505 if test -n "$PKG_CONFIG" && \ | 5498 if test -n "$PKG_CONFIG" && \ |
5506 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5507 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5500 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5508 ac_status=$? | 5501 ac_status=$? |
5509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5510 test $ac_status = 0; }; then | 5503 test $ac_status = 0; }; then |
5511 pkg_cv_dataquay_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5504 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5512 test "x$?" != "x0" && pkg_failed=yes | 5505 test "x$?" != "x0" && pkg_failed=yes |
5513 else | 5506 else |
5514 pkg_failed=yes | 5507 pkg_failed=yes |
5515 fi | 5508 fi |
5516 else | 5509 else |
5517 pkg_failed=untried | 5510 pkg_failed=untried |
5518 fi | 5511 fi |
5519 if test -n "$dataquay_LIBS"; then | 5512 if test -n "$liblo_LIBS"; then |
5520 pkg_cv_dataquay_LIBS="$dataquay_LIBS" | 5513 pkg_cv_liblo_LIBS="$liblo_LIBS" |
5521 elif test -n "$PKG_CONFIG"; then | 5514 elif test -n "$PKG_CONFIG"; then |
5522 if test -n "$PKG_CONFIG" && \ | 5515 if test -n "$PKG_CONFIG" && \ |
5523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5524 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5517 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5525 ac_status=$? | 5518 ac_status=$? |
5526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5527 test $ac_status = 0; }; then | 5520 test $ac_status = 0; }; then |
5528 pkg_cv_dataquay_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5521 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5529 test "x$?" != "x0" && pkg_failed=yes | 5522 test "x$?" != "x0" && pkg_failed=yes |
5530 else | 5523 else |
5531 pkg_failed=yes | 5524 pkg_failed=yes |
5532 fi | 5525 fi |
5533 else | 5526 else |
5544 _pkg_short_errors_supported=yes | 5537 _pkg_short_errors_supported=yes |
5545 else | 5538 else |
5546 _pkg_short_errors_supported=no | 5539 _pkg_short_errors_supported=no |
5547 fi | 5540 fi |
5548 if test $_pkg_short_errors_supported = yes; then | 5541 if test $_pkg_short_errors_supported = yes; then |
5549 dataquay_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5542 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5550 else | 5543 else |
5551 dataquay_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5544 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5552 fi | 5545 fi |
5553 # Put the nasty error message in config.log where it belongs | 5546 # Put the nasty error message in config.log where it belongs |
5554 echo "$dataquay_PKG_ERRORS" >&5 | 5547 echo "$liblo_PKG_ERRORS" >&5 |
5555 | 5548 |
5556 { $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 | 5549 { $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 |
5557 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5550 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5558 elif test $pkg_failed = untried; then | 5551 elif test $pkg_failed = untried; then |
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5560 $as_echo "no" >&6; } | 5553 $as_echo "no" >&6; } |
5561 { $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 | 5554 { $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 |
5562 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5555 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5563 else | 5556 else |
5564 dataquay_CFLAGS=$pkg_cv_dataquay_CFLAGS | 5557 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS |
5565 dataquay_LIBS=$pkg_cv_dataquay_LIBS | 5558 liblo_LIBS=$pkg_cv_liblo_LIBS |
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5567 $as_echo "yes" >&6; } | 5560 $as_echo "yes" >&6; } |
5568 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS";LIBS="$LIBS $dataquay_LIBS";SV_MODULE_FAILED="" | 5561 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" |
5569 fi | 5562 fi |
5570 fi | 5563 fi |
5571 if test -n "$SV_MODULE_FAILED"; then | 5564 if test -n "$SV_MODULE_FAILED"; then |
5572 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5565 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5573 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5566 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5574 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5567 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5575 HAVES="$HAVES $SV_MODULE_HAVE" | 5568 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
5576 else | 5569 else |
5577 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
5578 fi | 5571 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
5579 | 5572 fi |
5580 | 5573 |
5581 if test -n "$SV_MODULE_LIB"; then | 5574 |
5582 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5575 if test -z "$SV_MODULE_FAILED"; then |
5576 if test -n "$SV_MODULE_LIB"; then | |
5577 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5584 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5579 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5585 if eval \${$as_ac_Lib+:} false; then : | 5580 if eval \${$as_ac_Lib+:} false; then : |
5586 $as_echo_n "(cached) " >&6 | 5581 $as_echo_n "(cached) " >&6 |
5587 else | 5582 else |
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5619 $as_echo "$ac_res" >&6; } | 5614 $as_echo "$ac_res" >&6; } |
5620 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5615 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
5621 LIBS="$LIBS -l$SV_MODULE_LIB" | 5616 LIBS="$LIBS -l$SV_MODULE_LIB" |
5622 else | 5617 else |
5623 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5618 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
5624 fi | 5619 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
5625 | 5620 fi |
5621 | |
5622 fi | |
5626 fi | 5623 fi |
5627 fi | 5624 fi |
5628 | 5625 |
5629 | 5626 |
5630 | 5627 SV_MODULE_MODULE=portaudio_2_0 |
5631 SV_MODULE_MODULE=liblo | 5628 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" |
5632 SV_MODULE_VERSION_TEST="" | 5629 SV_MODULE_HEADER=portaudio.h |
5633 SV_MODULE_HEADER=lo/lo.h | 5630 SV_MODULE_LIB=portaudio |
5634 SV_MODULE_LIB=lo | 5631 SV_MODULE_FUNC=Pa_IsFormatSupported |
5635 SV_MODULE_FUNC=lo_address_new | 5632 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') |
5636 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5637 SV_MODULE_FAILED=1 | 5633 SV_MODULE_FAILED=1 |
5638 if test -n "$liblo_LIBS" ; then | 5634 if test -n "$portaudio_2_0_LIBS" ; then |
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5635 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5640 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5636 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5641 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" | 5637 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" |
5642 LIBS="$LIBS $liblo_LIBS" | 5638 LIBS="$LIBS $portaudio_2_0_LIBS" |
5643 SV_MODULE_FAILED="" | 5639 SV_MODULE_FAILED="" |
5644 fi | 5640 fi |
5645 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5641 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5646 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5642 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5647 fi | 5643 fi |
5648 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5644 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5649 | 5645 |
5650 pkg_failed=no | 5646 pkg_failed=no |
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 | 5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 |
5652 $as_echo_n "checking for liblo... " >&6; } | 5648 $as_echo_n "checking for portaudio_2_0... " >&6; } |
5653 | 5649 |
5654 if test -n "$liblo_CFLAGS"; then | 5650 if test -n "$portaudio_2_0_CFLAGS"; then |
5655 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" | 5651 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" |
5656 elif test -n "$PKG_CONFIG"; then | 5652 elif test -n "$PKG_CONFIG"; then |
5657 if test -n "$PKG_CONFIG" && \ | 5653 if test -n "$PKG_CONFIG" && \ |
5658 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5654 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5659 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5655 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5660 ac_status=$? | 5656 ac_status=$? |
5661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5662 test $ac_status = 0; }; then | 5658 test $ac_status = 0; }; then |
5663 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5659 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5664 test "x$?" != "x0" && pkg_failed=yes | 5660 test "x$?" != "x0" && pkg_failed=yes |
5665 else | 5661 else |
5666 pkg_failed=yes | 5662 pkg_failed=yes |
5667 fi | 5663 fi |
5668 else | 5664 else |
5669 pkg_failed=untried | 5665 pkg_failed=untried |
5670 fi | 5666 fi |
5671 if test -n "$liblo_LIBS"; then | 5667 if test -n "$portaudio_2_0_LIBS"; then |
5672 pkg_cv_liblo_LIBS="$liblo_LIBS" | 5668 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" |
5673 elif test -n "$PKG_CONFIG"; then | 5669 elif test -n "$PKG_CONFIG"; then |
5674 if test -n "$PKG_CONFIG" && \ | 5670 if test -n "$PKG_CONFIG" && \ |
5675 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5676 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5672 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5677 ac_status=$? | 5673 ac_status=$? |
5678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5679 test $ac_status = 0; }; then | 5675 test $ac_status = 0; }; then |
5680 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5676 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5681 test "x$?" != "x0" && pkg_failed=yes | 5677 test "x$?" != "x0" && pkg_failed=yes |
5682 else | 5678 else |
5683 pkg_failed=yes | 5679 pkg_failed=yes |
5684 fi | 5680 fi |
5685 else | 5681 else |
5696 _pkg_short_errors_supported=yes | 5692 _pkg_short_errors_supported=yes |
5697 else | 5693 else |
5698 _pkg_short_errors_supported=no | 5694 _pkg_short_errors_supported=no |
5699 fi | 5695 fi |
5700 if test $_pkg_short_errors_supported = yes; then | 5696 if test $_pkg_short_errors_supported = yes; then |
5701 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5697 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5702 else | 5698 else |
5703 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5699 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5704 fi | 5700 fi |
5705 # Put the nasty error message in config.log where it belongs | 5701 # Put the nasty error message in config.log where it belongs |
5706 echo "$liblo_PKG_ERRORS" >&5 | 5702 echo "$portaudio_2_0_PKG_ERRORS" >&5 |
5707 | 5703 |
5708 { $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 | 5704 { $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 |
5709 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5705 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5710 elif test $pkg_failed = untried; then | 5706 elif test $pkg_failed = untried; then |
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5712 $as_echo "no" >&6; } | 5708 $as_echo "no" >&6; } |
5713 { $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 | 5709 { $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 |
5714 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5710 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5715 else | 5711 else |
5716 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS | 5712 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS |
5717 liblo_LIBS=$pkg_cv_liblo_LIBS | 5713 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS |
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5719 $as_echo "yes" >&6; } | 5715 $as_echo "yes" >&6; } |
5720 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" | 5716 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" |
5721 fi | 5717 fi |
5722 fi | 5718 fi |
5723 if test -n "$SV_MODULE_FAILED"; then | 5719 if test -n "$SV_MODULE_FAILED"; then |
5724 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5720 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5725 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5721 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5781 fi | 5777 fi |
5782 fi | 5778 fi |
5783 fi | 5779 fi |
5784 | 5780 |
5785 | 5781 |
5786 SV_MODULE_MODULE=portaudio_2_0 | 5782 SV_MODULE_MODULE=JACK |
5787 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" | 5783 SV_MODULE_VERSION_TEST="jack >= 0.100" |
5788 SV_MODULE_HEADER=portaudio.h | 5784 SV_MODULE_HEADER=jack/jack.h |
5789 SV_MODULE_LIB=portaudio | 5785 SV_MODULE_LIB=jack |
5790 SV_MODULE_FUNC=Pa_IsFormatSupported | 5786 SV_MODULE_FUNC=jack_client_open |
5791 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') | 5787 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') |
5792 SV_MODULE_FAILED=1 | 5788 SV_MODULE_FAILED=1 |
5793 if test -n "$portaudio_2_0_LIBS" ; then | 5789 if test -n "$JACK_LIBS" ; then |
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5790 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5795 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5791 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5796 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" | 5792 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" |
5797 LIBS="$LIBS $portaudio_2_0_LIBS" | 5793 LIBS="$LIBS $JACK_LIBS" |
5798 SV_MODULE_FAILED="" | 5794 SV_MODULE_FAILED="" |
5799 fi | 5795 fi |
5800 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5796 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5801 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5797 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5802 fi | 5798 fi |
5803 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5799 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5804 | 5800 |
5805 pkg_failed=no | 5801 pkg_failed=no |
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 | 5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 |
5807 $as_echo_n "checking for portaudio_2_0... " >&6; } | 5803 $as_echo_n "checking for JACK... " >&6; } |
5808 | 5804 |
5809 if test -n "$portaudio_2_0_CFLAGS"; then | 5805 if test -n "$JACK_CFLAGS"; then |
5810 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" | 5806 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" |
5811 elif test -n "$PKG_CONFIG"; then | 5807 elif test -n "$PKG_CONFIG"; then |
5812 if test -n "$PKG_CONFIG" && \ | 5808 if test -n "$PKG_CONFIG" && \ |
5813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5814 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5810 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5815 ac_status=$? | 5811 ac_status=$? |
5816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5817 test $ac_status = 0; }; then | 5813 test $ac_status = 0; }; then |
5818 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5814 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5819 test "x$?" != "x0" && pkg_failed=yes | 5815 test "x$?" != "x0" && pkg_failed=yes |
5820 else | 5816 else |
5821 pkg_failed=yes | 5817 pkg_failed=yes |
5822 fi | 5818 fi |
5823 else | 5819 else |
5824 pkg_failed=untried | 5820 pkg_failed=untried |
5825 fi | 5821 fi |
5826 if test -n "$portaudio_2_0_LIBS"; then | 5822 if test -n "$JACK_LIBS"; then |
5827 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" | 5823 pkg_cv_JACK_LIBS="$JACK_LIBS" |
5828 elif test -n "$PKG_CONFIG"; then | 5824 elif test -n "$PKG_CONFIG"; then |
5829 if test -n "$PKG_CONFIG" && \ | 5825 if test -n "$PKG_CONFIG" && \ |
5830 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5826 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5831 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5827 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5832 ac_status=$? | 5828 ac_status=$? |
5833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5834 test $ac_status = 0; }; then | 5830 test $ac_status = 0; }; then |
5835 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5831 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5836 test "x$?" != "x0" && pkg_failed=yes | 5832 test "x$?" != "x0" && pkg_failed=yes |
5837 else | 5833 else |
5838 pkg_failed=yes | 5834 pkg_failed=yes |
5839 fi | 5835 fi |
5840 else | 5836 else |
5851 _pkg_short_errors_supported=yes | 5847 _pkg_short_errors_supported=yes |
5852 else | 5848 else |
5853 _pkg_short_errors_supported=no | 5849 _pkg_short_errors_supported=no |
5854 fi | 5850 fi |
5855 if test $_pkg_short_errors_supported = yes; then | 5851 if test $_pkg_short_errors_supported = yes; then |
5856 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5852 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5857 else | 5853 else |
5858 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5854 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5859 fi | 5855 fi |
5860 # Put the nasty error message in config.log where it belongs | 5856 # Put the nasty error message in config.log where it belongs |
5861 echo "$portaudio_2_0_PKG_ERRORS" >&5 | 5857 echo "$JACK_PKG_ERRORS" >&5 |
5862 | 5858 |
5863 { $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 | 5859 { $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 |
5864 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5860 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5865 elif test $pkg_failed = untried; then | 5861 elif test $pkg_failed = untried; then |
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5867 $as_echo "no" >&6; } | 5863 $as_echo "no" >&6; } |
5868 { $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 | 5864 { $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 |
5869 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5865 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5870 else | 5866 else |
5871 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS | 5867 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS |
5872 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS | 5868 JACK_LIBS=$pkg_cv_JACK_LIBS |
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5874 $as_echo "yes" >&6; } | 5870 $as_echo "yes" >&6; } |
5875 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" | 5871 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" |
5876 fi | 5872 fi |
5877 fi | 5873 fi |
5878 if test -n "$SV_MODULE_FAILED"; then | 5874 if test -n "$SV_MODULE_FAILED"; then |
5879 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5875 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5880 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5876 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5936 fi | 5932 fi |
5937 fi | 5933 fi |
5938 fi | 5934 fi |
5939 | 5935 |
5940 | 5936 |
5941 SV_MODULE_MODULE=JACK | 5937 SV_MODULE_MODULE=libpulse |
5942 SV_MODULE_VERSION_TEST="jack >= 0.100" | 5938 SV_MODULE_VERSION_TEST="libpulse >= 0.9" |
5943 SV_MODULE_HEADER=jack/jack.h | 5939 SV_MODULE_HEADER=pulse/pulseaudio.h |
5944 SV_MODULE_LIB=jack | 5940 SV_MODULE_LIB=pulse |
5945 SV_MODULE_FUNC=jack_client_open | 5941 SV_MODULE_FUNC=pa_stream_new |
5946 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') | 5942 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') |
5947 SV_MODULE_FAILED=1 | 5943 SV_MODULE_FAILED=1 |
5948 if test -n "$JACK_LIBS" ; then | 5944 if test -n "$libpulse_LIBS" ; then |
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5945 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5950 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5946 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5951 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" | 5947 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" |
5952 LIBS="$LIBS $JACK_LIBS" | 5948 LIBS="$LIBS $libpulse_LIBS" |
5953 SV_MODULE_FAILED="" | 5949 SV_MODULE_FAILED="" |
5954 fi | 5950 fi |
5955 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5951 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5956 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5952 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5957 fi | 5953 fi |
5958 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5954 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5959 | 5955 |
5960 pkg_failed=no | 5956 pkg_failed=no |
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 | 5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 |
5962 $as_echo_n "checking for JACK... " >&6; } | 5958 $as_echo_n "checking for libpulse... " >&6; } |
5963 | 5959 |
5964 if test -n "$JACK_CFLAGS"; then | 5960 if test -n "$libpulse_CFLAGS"; then |
5965 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" | 5961 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" |
5966 elif test -n "$PKG_CONFIG"; then | 5962 elif test -n "$PKG_CONFIG"; then |
5967 if test -n "$PKG_CONFIG" && \ | 5963 if test -n "$PKG_CONFIG" && \ |
5968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5969 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5965 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5970 ac_status=$? | 5966 ac_status=$? |
5971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5972 test $ac_status = 0; }; then | 5968 test $ac_status = 0; }; then |
5973 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5969 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5974 test "x$?" != "x0" && pkg_failed=yes | 5970 test "x$?" != "x0" && pkg_failed=yes |
5975 else | 5971 else |
5976 pkg_failed=yes | 5972 pkg_failed=yes |
5977 fi | 5973 fi |
5978 else | 5974 else |
5979 pkg_failed=untried | 5975 pkg_failed=untried |
5980 fi | 5976 fi |
5981 if test -n "$JACK_LIBS"; then | 5977 if test -n "$libpulse_LIBS"; then |
5982 pkg_cv_JACK_LIBS="$JACK_LIBS" | 5978 pkg_cv_libpulse_LIBS="$libpulse_LIBS" |
5983 elif test -n "$PKG_CONFIG"; then | 5979 elif test -n "$PKG_CONFIG"; then |
5984 if test -n "$PKG_CONFIG" && \ | 5980 if test -n "$PKG_CONFIG" && \ |
5985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5986 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5982 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5987 ac_status=$? | 5983 ac_status=$? |
5988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5989 test $ac_status = 0; }; then | 5985 test $ac_status = 0; }; then |
5990 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5986 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5991 test "x$?" != "x0" && pkg_failed=yes | 5987 test "x$?" != "x0" && pkg_failed=yes |
5992 else | 5988 else |
5993 pkg_failed=yes | 5989 pkg_failed=yes |
5994 fi | 5990 fi |
5995 else | 5991 else |
6006 _pkg_short_errors_supported=yes | 6002 _pkg_short_errors_supported=yes |
6007 else | 6003 else |
6008 _pkg_short_errors_supported=no | 6004 _pkg_short_errors_supported=no |
6009 fi | 6005 fi |
6010 if test $_pkg_short_errors_supported = yes; then | 6006 if test $_pkg_short_errors_supported = yes; then |
6011 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6007 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6012 else | 6008 else |
6013 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6009 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6014 fi | 6010 fi |
6015 # Put the nasty error message in config.log where it belongs | 6011 # Put the nasty error message in config.log where it belongs |
6016 echo "$JACK_PKG_ERRORS" >&5 | 6012 echo "$libpulse_PKG_ERRORS" >&5 |
6017 | 6013 |
6018 { $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 | 6014 { $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 |
6019 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6015 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6020 elif test $pkg_failed = untried; then | 6016 elif test $pkg_failed = untried; then |
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6022 $as_echo "no" >&6; } | 6018 $as_echo "no" >&6; } |
6023 { $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 | 6019 { $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 |
6024 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6020 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6025 else | 6021 else |
6026 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS | 6022 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS |
6027 JACK_LIBS=$pkg_cv_JACK_LIBS | 6023 libpulse_LIBS=$pkg_cv_libpulse_LIBS |
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6029 $as_echo "yes" >&6; } | 6025 $as_echo "yes" >&6; } |
6030 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" | 6026 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" |
6031 fi | 6027 fi |
6032 fi | 6028 fi |
6033 if test -n "$SV_MODULE_FAILED"; then | 6029 if test -n "$SV_MODULE_FAILED"; then |
6034 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6030 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6035 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6031 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6091 fi | 6087 fi |
6092 fi | 6088 fi |
6093 fi | 6089 fi |
6094 | 6090 |
6095 | 6091 |
6096 SV_MODULE_MODULE=libpulse | 6092 SV_MODULE_MODULE=lrdf |
6097 SV_MODULE_VERSION_TEST="libpulse >= 0.9" | 6093 SV_MODULE_VERSION_TEST="lrdf >= 0.2" |
6098 SV_MODULE_HEADER=pulse/pulseaudio.h | 6094 SV_MODULE_HEADER=lrdf.h |
6099 SV_MODULE_LIB=pulse | 6095 SV_MODULE_LIB=lrdf |
6100 SV_MODULE_FUNC=pa_stream_new | 6096 SV_MODULE_FUNC=lrdf_init |
6101 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') | 6097 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') |
6102 SV_MODULE_FAILED=1 | 6098 SV_MODULE_FAILED=1 |
6103 if test -n "$libpulse_LIBS" ; then | 6099 if test -n "$lrdf_LIBS" ; then |
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6100 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6105 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6101 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6106 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" | 6102 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" |
6107 LIBS="$LIBS $libpulse_LIBS" | 6103 LIBS="$LIBS $lrdf_LIBS" |
6108 SV_MODULE_FAILED="" | 6104 SV_MODULE_FAILED="" |
6109 fi | 6105 fi |
6110 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6106 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6111 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6107 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6112 fi | 6108 fi |
6113 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6109 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6114 | 6110 |
6115 pkg_failed=no | 6111 pkg_failed=no |
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 | 6112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 |
6117 $as_echo_n "checking for libpulse... " >&6; } | 6113 $as_echo_n "checking for lrdf... " >&6; } |
6118 | 6114 |
6119 if test -n "$libpulse_CFLAGS"; then | 6115 if test -n "$lrdf_CFLAGS"; then |
6120 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" | 6116 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" |
6121 elif test -n "$PKG_CONFIG"; then | 6117 elif test -n "$PKG_CONFIG"; then |
6122 if test -n "$PKG_CONFIG" && \ | 6118 if test -n "$PKG_CONFIG" && \ |
6123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6124 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6120 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6125 ac_status=$? | 6121 ac_status=$? |
6126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6127 test $ac_status = 0; }; then | 6123 test $ac_status = 0; }; then |
6128 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6124 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6129 test "x$?" != "x0" && pkg_failed=yes | 6125 test "x$?" != "x0" && pkg_failed=yes |
6130 else | 6126 else |
6131 pkg_failed=yes | 6127 pkg_failed=yes |
6132 fi | 6128 fi |
6133 else | 6129 else |
6134 pkg_failed=untried | 6130 pkg_failed=untried |
6135 fi | 6131 fi |
6136 if test -n "$libpulse_LIBS"; then | 6132 if test -n "$lrdf_LIBS"; then |
6137 pkg_cv_libpulse_LIBS="$libpulse_LIBS" | 6133 pkg_cv_lrdf_LIBS="$lrdf_LIBS" |
6138 elif test -n "$PKG_CONFIG"; then | 6134 elif test -n "$PKG_CONFIG"; then |
6139 if test -n "$PKG_CONFIG" && \ | 6135 if test -n "$PKG_CONFIG" && \ |
6140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6141 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6137 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6142 ac_status=$? | 6138 ac_status=$? |
6143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6144 test $ac_status = 0; }; then | 6140 test $ac_status = 0; }; then |
6145 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6141 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6146 test "x$?" != "x0" && pkg_failed=yes | 6142 test "x$?" != "x0" && pkg_failed=yes |
6147 else | 6143 else |
6148 pkg_failed=yes | 6144 pkg_failed=yes |
6149 fi | 6145 fi |
6150 else | 6146 else |
6161 _pkg_short_errors_supported=yes | 6157 _pkg_short_errors_supported=yes |
6162 else | 6158 else |
6163 _pkg_short_errors_supported=no | 6159 _pkg_short_errors_supported=no |
6164 fi | 6160 fi |
6165 if test $_pkg_short_errors_supported = yes; then | 6161 if test $_pkg_short_errors_supported = yes; then |
6166 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6162 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6167 else | 6163 else |
6168 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6164 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6169 fi | 6165 fi |
6170 # Put the nasty error message in config.log where it belongs | 6166 # Put the nasty error message in config.log where it belongs |
6171 echo "$libpulse_PKG_ERRORS" >&5 | 6167 echo "$lrdf_PKG_ERRORS" >&5 |
6172 | 6168 |
6173 { $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 | 6169 { $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 |
6174 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6170 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6175 elif test $pkg_failed = untried; then | 6171 elif test $pkg_failed = untried; then |
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6177 $as_echo "no" >&6; } | 6173 $as_echo "no" >&6; } |
6178 { $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 | 6174 { $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 |
6179 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6175 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6180 else | 6176 else |
6181 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS | 6177 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS |
6182 libpulse_LIBS=$pkg_cv_libpulse_LIBS | 6178 lrdf_LIBS=$pkg_cv_lrdf_LIBS |
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6184 $as_echo "yes" >&6; } | 6180 $as_echo "yes" >&6; } |
6185 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" | 6181 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" |
6186 fi | 6182 fi |
6187 fi | 6183 fi |
6188 if test -n "$SV_MODULE_FAILED"; then | 6184 if test -n "$SV_MODULE_FAILED"; then |
6189 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6185 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6190 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6186 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6246 fi | 6242 fi |
6247 fi | 6243 fi |
6248 fi | 6244 fi |
6249 | 6245 |
6250 | 6246 |
6251 SV_MODULE_MODULE=lrdf | 6247 SV_MODULE_MODULE=oggz |
6252 SV_MODULE_VERSION_TEST="lrdf >= 0.2" | 6248 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" |
6253 SV_MODULE_HEADER=lrdf.h | 6249 SV_MODULE_HEADER=oggz/oggz.h |
6254 SV_MODULE_LIB=lrdf | 6250 SV_MODULE_LIB=oggz |
6255 SV_MODULE_FUNC=lrdf_init | 6251 SV_MODULE_FUNC=oggz_run |
6256 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') | 6252 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') |
6257 SV_MODULE_FAILED=1 | 6253 SV_MODULE_FAILED=1 |
6258 if test -n "$lrdf_LIBS" ; then | 6254 if test -n "$oggz_LIBS" ; then |
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6255 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6260 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6256 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6261 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" | 6257 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" |
6262 LIBS="$LIBS $lrdf_LIBS" | 6258 LIBS="$LIBS $oggz_LIBS" |
6263 SV_MODULE_FAILED="" | 6259 SV_MODULE_FAILED="" |
6264 fi | 6260 fi |
6265 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6261 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6266 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6262 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6267 fi | 6263 fi |
6268 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6264 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6269 | 6265 |
6270 pkg_failed=no | 6266 pkg_failed=no |
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 | 6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 |
6272 $as_echo_n "checking for lrdf... " >&6; } | 6268 $as_echo_n "checking for oggz... " >&6; } |
6273 | 6269 |
6274 if test -n "$lrdf_CFLAGS"; then | 6270 if test -n "$oggz_CFLAGS"; then |
6275 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" | 6271 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" |
6276 elif test -n "$PKG_CONFIG"; then | 6272 elif test -n "$PKG_CONFIG"; then |
6277 if test -n "$PKG_CONFIG" && \ | 6273 if test -n "$PKG_CONFIG" && \ |
6278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6274 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6279 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6275 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6280 ac_status=$? | 6276 ac_status=$? |
6281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6282 test $ac_status = 0; }; then | 6278 test $ac_status = 0; }; then |
6283 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6279 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6284 test "x$?" != "x0" && pkg_failed=yes | 6280 test "x$?" != "x0" && pkg_failed=yes |
6285 else | 6281 else |
6286 pkg_failed=yes | 6282 pkg_failed=yes |
6287 fi | 6283 fi |
6288 else | 6284 else |
6289 pkg_failed=untried | 6285 pkg_failed=untried |
6290 fi | 6286 fi |
6291 if test -n "$lrdf_LIBS"; then | 6287 if test -n "$oggz_LIBS"; then |
6292 pkg_cv_lrdf_LIBS="$lrdf_LIBS" | 6288 pkg_cv_oggz_LIBS="$oggz_LIBS" |
6293 elif test -n "$PKG_CONFIG"; then | 6289 elif test -n "$PKG_CONFIG"; then |
6294 if test -n "$PKG_CONFIG" && \ | 6290 if test -n "$PKG_CONFIG" && \ |
6295 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6296 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6292 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6297 ac_status=$? | 6293 ac_status=$? |
6298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6299 test $ac_status = 0; }; then | 6295 test $ac_status = 0; }; then |
6300 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6296 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6301 test "x$?" != "x0" && pkg_failed=yes | 6297 test "x$?" != "x0" && pkg_failed=yes |
6302 else | 6298 else |
6303 pkg_failed=yes | 6299 pkg_failed=yes |
6304 fi | 6300 fi |
6305 else | 6301 else |
6316 _pkg_short_errors_supported=yes | 6312 _pkg_short_errors_supported=yes |
6317 else | 6313 else |
6318 _pkg_short_errors_supported=no | 6314 _pkg_short_errors_supported=no |
6319 fi | 6315 fi |
6320 if test $_pkg_short_errors_supported = yes; then | 6316 if test $_pkg_short_errors_supported = yes; then |
6321 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6317 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6322 else | 6318 else |
6323 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6319 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6324 fi | 6320 fi |
6325 # Put the nasty error message in config.log where it belongs | 6321 # Put the nasty error message in config.log where it belongs |
6326 echo "$lrdf_PKG_ERRORS" >&5 | 6322 echo "$oggz_PKG_ERRORS" >&5 |
6327 | 6323 |
6328 { $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 | 6324 { $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 |
6329 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6325 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6330 elif test $pkg_failed = untried; then | 6326 elif test $pkg_failed = untried; then |
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6332 $as_echo "no" >&6; } | 6328 $as_echo "no" >&6; } |
6333 { $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 | 6329 { $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 |
6334 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6330 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6335 else | 6331 else |
6336 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS | 6332 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS |
6337 lrdf_LIBS=$pkg_cv_lrdf_LIBS | 6333 oggz_LIBS=$pkg_cv_oggz_LIBS |
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6339 $as_echo "yes" >&6; } | 6335 $as_echo "yes" >&6; } |
6340 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" | 6336 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" |
6341 fi | 6337 fi |
6342 fi | 6338 fi |
6343 if test -n "$SV_MODULE_FAILED"; then | 6339 if test -n "$SV_MODULE_FAILED"; then |
6344 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6340 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6345 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6341 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6401 fi | 6397 fi |
6402 fi | 6398 fi |
6403 fi | 6399 fi |
6404 | 6400 |
6405 | 6401 |
6406 SV_MODULE_MODULE=oggz | 6402 SV_MODULE_MODULE=fishsound |
6407 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" | 6403 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" |
6408 SV_MODULE_HEADER=oggz/oggz.h | 6404 SV_MODULE_HEADER=fishsound/fishsound.h |
6409 SV_MODULE_LIB=oggz | 6405 SV_MODULE_LIB=fishsound |
6410 SV_MODULE_FUNC=oggz_run | 6406 SV_MODULE_FUNC=fish_sound_new |
6411 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') | 6407 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') |
6412 SV_MODULE_FAILED=1 | 6408 SV_MODULE_FAILED=1 |
6413 if test -n "$oggz_LIBS" ; then | 6409 if test -n "$fishsound_LIBS" ; then |
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6410 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6415 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6411 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6416 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" | 6412 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" |
6417 LIBS="$LIBS $oggz_LIBS" | 6413 LIBS="$LIBS $fishsound_LIBS" |
6418 SV_MODULE_FAILED="" | 6414 SV_MODULE_FAILED="" |
6419 fi | 6415 fi |
6420 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6416 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6421 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6417 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6422 fi | 6418 fi |
6423 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6419 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6424 | 6420 |
6425 pkg_failed=no | 6421 pkg_failed=no |
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 | 6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 |
6427 $as_echo_n "checking for oggz... " >&6; } | 6423 $as_echo_n "checking for fishsound... " >&6; } |
6428 | 6424 |
6429 if test -n "$oggz_CFLAGS"; then | 6425 if test -n "$fishsound_CFLAGS"; then |
6430 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" | 6426 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" |
6431 elif test -n "$PKG_CONFIG"; then | 6427 elif test -n "$PKG_CONFIG"; then |
6432 if test -n "$PKG_CONFIG" && \ | 6428 if test -n "$PKG_CONFIG" && \ |
6433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6434 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6430 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6435 ac_status=$? | 6431 ac_status=$? |
6436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6437 test $ac_status = 0; }; then | 6433 test $ac_status = 0; }; then |
6438 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6434 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6439 test "x$?" != "x0" && pkg_failed=yes | 6435 test "x$?" != "x0" && pkg_failed=yes |
6440 else | 6436 else |
6441 pkg_failed=yes | 6437 pkg_failed=yes |
6442 fi | 6438 fi |
6443 else | 6439 else |
6444 pkg_failed=untried | 6440 pkg_failed=untried |
6445 fi | 6441 fi |
6446 if test -n "$oggz_LIBS"; then | 6442 if test -n "$fishsound_LIBS"; then |
6447 pkg_cv_oggz_LIBS="$oggz_LIBS" | 6443 pkg_cv_fishsound_LIBS="$fishsound_LIBS" |
6448 elif test -n "$PKG_CONFIG"; then | 6444 elif test -n "$PKG_CONFIG"; then |
6449 if test -n "$PKG_CONFIG" && \ | 6445 if test -n "$PKG_CONFIG" && \ |
6450 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6451 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6447 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6452 ac_status=$? | 6448 ac_status=$? |
6453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6454 test $ac_status = 0; }; then | 6450 test $ac_status = 0; }; then |
6455 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6451 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6456 test "x$?" != "x0" && pkg_failed=yes | 6452 test "x$?" != "x0" && pkg_failed=yes |
6457 else | 6453 else |
6458 pkg_failed=yes | 6454 pkg_failed=yes |
6459 fi | 6455 fi |
6460 else | 6456 else |
6471 _pkg_short_errors_supported=yes | 6467 _pkg_short_errors_supported=yes |
6472 else | 6468 else |
6473 _pkg_short_errors_supported=no | 6469 _pkg_short_errors_supported=no |
6474 fi | 6470 fi |
6475 if test $_pkg_short_errors_supported = yes; then | 6471 if test $_pkg_short_errors_supported = yes; then |
6476 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6472 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6477 else | 6473 else |
6478 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6474 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6479 fi | 6475 fi |
6480 # Put the nasty error message in config.log where it belongs | 6476 # Put the nasty error message in config.log where it belongs |
6481 echo "$oggz_PKG_ERRORS" >&5 | 6477 echo "$fishsound_PKG_ERRORS" >&5 |
6482 | 6478 |
6483 { $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 | 6479 { $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 |
6484 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6480 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6485 elif test $pkg_failed = untried; then | 6481 elif test $pkg_failed = untried; then |
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6487 $as_echo "no" >&6; } | 6483 $as_echo "no" >&6; } |
6488 { $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 | 6484 { $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 |
6489 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6485 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6490 else | 6486 else |
6491 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS | 6487 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS |
6492 oggz_LIBS=$pkg_cv_oggz_LIBS | 6488 fishsound_LIBS=$pkg_cv_fishsound_LIBS |
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6494 $as_echo "yes" >&6; } | 6490 $as_echo "yes" >&6; } |
6495 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" | 6491 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" |
6496 fi | 6492 fi |
6497 fi | 6493 fi |
6498 if test -n "$SV_MODULE_FAILED"; then | 6494 if test -n "$SV_MODULE_FAILED"; then |
6499 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6495 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6500 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6496 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6556 fi | 6552 fi |
6557 fi | 6553 fi |
6558 fi | 6554 fi |
6559 | 6555 |
6560 | 6556 |
6561 SV_MODULE_MODULE=fishsound | 6557 SV_MODULE_MODULE=mad |
6562 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" | 6558 SV_MODULE_VERSION_TEST="mad >= 0.15.0" |
6563 SV_MODULE_HEADER=fishsound/fishsound.h | 6559 SV_MODULE_HEADER=mad.h |
6564 SV_MODULE_LIB=fishsound | 6560 SV_MODULE_LIB=mad |
6565 SV_MODULE_FUNC=fish_sound_new | 6561 SV_MODULE_FUNC=mad_decoder_init |
6566 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') | 6562 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') |
6567 SV_MODULE_FAILED=1 | 6563 SV_MODULE_FAILED=1 |
6568 if test -n "$fishsound_LIBS" ; then | 6564 if test -n "$mad_LIBS" ; then |
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6565 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6570 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6566 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6571 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" | 6567 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" |
6572 LIBS="$LIBS $fishsound_LIBS" | 6568 LIBS="$LIBS $mad_LIBS" |
6573 SV_MODULE_FAILED="" | 6569 SV_MODULE_FAILED="" |
6574 fi | 6570 fi |
6575 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6571 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6576 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6572 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6577 fi | 6573 fi |
6578 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6574 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6579 | 6575 |
6580 pkg_failed=no | 6576 pkg_failed=no |
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 | 6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 |
6582 $as_echo_n "checking for fishsound... " >&6; } | 6578 $as_echo_n "checking for mad... " >&6; } |
6583 | 6579 |
6584 if test -n "$fishsound_CFLAGS"; then | 6580 if test -n "$mad_CFLAGS"; then |
6585 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" | 6581 pkg_cv_mad_CFLAGS="$mad_CFLAGS" |
6586 elif test -n "$PKG_CONFIG"; then | 6582 elif test -n "$PKG_CONFIG"; then |
6587 if test -n "$PKG_CONFIG" && \ | 6583 if test -n "$PKG_CONFIG" && \ |
6588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6584 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6589 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6585 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6590 ac_status=$? | 6586 ac_status=$? |
6591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6592 test $ac_status = 0; }; then | 6588 test $ac_status = 0; }; then |
6593 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6589 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6594 test "x$?" != "x0" && pkg_failed=yes | 6590 test "x$?" != "x0" && pkg_failed=yes |
6595 else | 6591 else |
6596 pkg_failed=yes | 6592 pkg_failed=yes |
6597 fi | 6593 fi |
6598 else | 6594 else |
6599 pkg_failed=untried | 6595 pkg_failed=untried |
6600 fi | 6596 fi |
6601 if test -n "$fishsound_LIBS"; then | 6597 if test -n "$mad_LIBS"; then |
6602 pkg_cv_fishsound_LIBS="$fishsound_LIBS" | 6598 pkg_cv_mad_LIBS="$mad_LIBS" |
6603 elif test -n "$PKG_CONFIG"; then | 6599 elif test -n "$PKG_CONFIG"; then |
6604 if test -n "$PKG_CONFIG" && \ | 6600 if test -n "$PKG_CONFIG" && \ |
6605 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6601 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6606 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6602 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6607 ac_status=$? | 6603 ac_status=$? |
6608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6609 test $ac_status = 0; }; then | 6605 test $ac_status = 0; }; then |
6610 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6606 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6611 test "x$?" != "x0" && pkg_failed=yes | 6607 test "x$?" != "x0" && pkg_failed=yes |
6612 else | 6608 else |
6613 pkg_failed=yes | 6609 pkg_failed=yes |
6614 fi | 6610 fi |
6615 else | 6611 else |
6626 _pkg_short_errors_supported=yes | 6622 _pkg_short_errors_supported=yes |
6627 else | 6623 else |
6628 _pkg_short_errors_supported=no | 6624 _pkg_short_errors_supported=no |
6629 fi | 6625 fi |
6630 if test $_pkg_short_errors_supported = yes; then | 6626 if test $_pkg_short_errors_supported = yes; then |
6631 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6627 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6632 else | 6628 else |
6633 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6629 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6634 fi | 6630 fi |
6635 # Put the nasty error message in config.log where it belongs | 6631 # Put the nasty error message in config.log where it belongs |
6636 echo "$fishsound_PKG_ERRORS" >&5 | 6632 echo "$mad_PKG_ERRORS" >&5 |
6637 | 6633 |
6638 { $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 | 6634 { $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 |
6639 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6635 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6640 elif test $pkg_failed = untried; then | 6636 elif test $pkg_failed = untried; then |
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6642 $as_echo "no" >&6; } | 6638 $as_echo "no" >&6; } |
6643 { $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 | 6639 { $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 |
6644 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6640 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6645 else | 6641 else |
6646 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS | 6642 mad_CFLAGS=$pkg_cv_mad_CFLAGS |
6647 fishsound_LIBS=$pkg_cv_fishsound_LIBS | 6643 mad_LIBS=$pkg_cv_mad_LIBS |
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6649 $as_echo "yes" >&6; } | 6645 $as_echo "yes" >&6; } |
6650 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" | 6646 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" |
6651 fi | 6647 fi |
6652 fi | 6648 fi |
6653 if test -n "$SV_MODULE_FAILED"; then | 6649 if test -n "$SV_MODULE_FAILED"; then |
6654 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6650 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6655 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6651 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6711 fi | 6707 fi |
6712 fi | 6708 fi |
6713 fi | 6709 fi |
6714 | 6710 |
6715 | 6711 |
6716 SV_MODULE_MODULE=mad | 6712 SV_MODULE_MODULE=id3tag |
6717 SV_MODULE_VERSION_TEST="mad >= 0.15.0" | 6713 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" |
6718 SV_MODULE_HEADER=mad.h | 6714 SV_MODULE_HEADER=id3tag.h |
6719 SV_MODULE_LIB=mad | 6715 SV_MODULE_LIB=id3tag |
6720 SV_MODULE_FUNC=mad_decoder_init | 6716 SV_MODULE_FUNC=id3_tag_new |
6721 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') | 6717 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') |
6722 SV_MODULE_FAILED=1 | 6718 SV_MODULE_FAILED=1 |
6723 if test -n "$mad_LIBS" ; then | 6719 if test -n "$id3tag_LIBS" ; then |
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6720 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6725 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6721 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6726 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" | 6722 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" |
6727 LIBS="$LIBS $mad_LIBS" | 6723 LIBS="$LIBS $id3tag_LIBS" |
6728 SV_MODULE_FAILED="" | 6724 SV_MODULE_FAILED="" |
6729 fi | 6725 fi |
6730 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6726 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6731 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6727 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6732 fi | 6728 fi |
6733 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6729 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6734 | 6730 |
6735 pkg_failed=no | 6731 pkg_failed=no |
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 | 6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 |
6737 $as_echo_n "checking for mad... " >&6; } | 6733 $as_echo_n "checking for id3tag... " >&6; } |
6738 | 6734 |
6739 if test -n "$mad_CFLAGS"; then | 6735 if test -n "$id3tag_CFLAGS"; then |
6740 pkg_cv_mad_CFLAGS="$mad_CFLAGS" | 6736 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" |
6741 elif test -n "$PKG_CONFIG"; then | 6737 elif test -n "$PKG_CONFIG"; then |
6742 if test -n "$PKG_CONFIG" && \ | 6738 if test -n "$PKG_CONFIG" && \ |
6743 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6744 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6740 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6745 ac_status=$? | 6741 ac_status=$? |
6746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6747 test $ac_status = 0; }; then | 6743 test $ac_status = 0; }; then |
6748 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6744 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6749 test "x$?" != "x0" && pkg_failed=yes | 6745 test "x$?" != "x0" && pkg_failed=yes |
6750 else | 6746 else |
6751 pkg_failed=yes | 6747 pkg_failed=yes |
6752 fi | 6748 fi |
6753 else | 6749 else |
6754 pkg_failed=untried | 6750 pkg_failed=untried |
6755 fi | 6751 fi |
6756 if test -n "$mad_LIBS"; then | 6752 if test -n "$id3tag_LIBS"; then |
6757 pkg_cv_mad_LIBS="$mad_LIBS" | 6753 pkg_cv_id3tag_LIBS="$id3tag_LIBS" |
6758 elif test -n "$PKG_CONFIG"; then | 6754 elif test -n "$PKG_CONFIG"; then |
6759 if test -n "$PKG_CONFIG" && \ | 6755 if test -n "$PKG_CONFIG" && \ |
6760 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6761 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6757 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6762 ac_status=$? | 6758 ac_status=$? |
6763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6764 test $ac_status = 0; }; then | 6760 test $ac_status = 0; }; then |
6765 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6761 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6766 test "x$?" != "x0" && pkg_failed=yes | 6762 test "x$?" != "x0" && pkg_failed=yes |
6767 else | 6763 else |
6768 pkg_failed=yes | 6764 pkg_failed=yes |
6769 fi | 6765 fi |
6770 else | 6766 else |
6781 _pkg_short_errors_supported=yes | 6777 _pkg_short_errors_supported=yes |
6782 else | 6778 else |
6783 _pkg_short_errors_supported=no | 6779 _pkg_short_errors_supported=no |
6784 fi | 6780 fi |
6785 if test $_pkg_short_errors_supported = yes; then | 6781 if test $_pkg_short_errors_supported = yes; then |
6786 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6782 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6787 else | 6783 else |
6788 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6784 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6789 fi | 6785 fi |
6790 # Put the nasty error message in config.log where it belongs | 6786 # Put the nasty error message in config.log where it belongs |
6791 echo "$mad_PKG_ERRORS" >&5 | 6787 echo "$id3tag_PKG_ERRORS" >&5 |
6792 | 6788 |
6793 { $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 | 6789 { $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 |
6794 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6790 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6795 elif test $pkg_failed = untried; then | 6791 elif test $pkg_failed = untried; then |
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6797 $as_echo "no" >&6; } | 6793 $as_echo "no" >&6; } |
6798 { $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 | 6794 { $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 |
6799 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6795 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6800 else | 6796 else |
6801 mad_CFLAGS=$pkg_cv_mad_CFLAGS | 6797 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS |
6802 mad_LIBS=$pkg_cv_mad_LIBS | 6798 id3tag_LIBS=$pkg_cv_id3tag_LIBS |
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6804 $as_echo "yes" >&6; } | 6800 $as_echo "yes" >&6; } |
6805 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" | 6801 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" |
6806 fi | 6802 fi |
6807 fi | 6803 fi |
6808 if test -n "$SV_MODULE_FAILED"; then | 6804 if test -n "$SV_MODULE_FAILED"; then |
6809 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6805 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6810 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6806 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6866 fi | 6862 fi |
6867 fi | 6863 fi |
6868 fi | 6864 fi |
6869 | 6865 |
6870 | 6866 |
6871 SV_MODULE_MODULE=id3tag | 6867 # Link in -lX11 if it exists -- this is for the X error handler |
6872 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" | 6868 |
6873 SV_MODULE_HEADER=id3tag.h | 6869 SV_MODULE_MODULE=X11 |
6874 SV_MODULE_LIB=id3tag | 6870 SV_MODULE_VERSION_TEST="x11 >= 1.0.0" |
6875 SV_MODULE_FUNC=id3_tag_new | 6871 SV_MODULE_HEADER=X11/X.h |
6876 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') | 6872 SV_MODULE_LIB=x11 |
6873 SV_MODULE_FUNC=XGetErrorText | |
6874 SV_MODULE_HAVE=HAVE_$(echo X11 | tr 'a-z' 'A-Z') | |
6877 SV_MODULE_FAILED=1 | 6875 SV_MODULE_FAILED=1 |
6878 if test -n "$id3tag_LIBS" ; then | 6876 if test -n "$X11_LIBS" ; then |
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6877 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6880 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6878 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6881 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" | 6879 CXXFLAGS="$CXXFLAGS $X11_CFLAGS" |
6882 LIBS="$LIBS $id3tag_LIBS" | 6880 LIBS="$LIBS $X11_LIBS" |
6883 SV_MODULE_FAILED="" | 6881 SV_MODULE_FAILED="" |
6884 fi | 6882 fi |
6885 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6883 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6886 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6884 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6887 fi | 6885 fi |
6888 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6886 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6889 | 6887 |
6890 pkg_failed=no | 6888 pkg_failed=no |
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 | 6889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 |
6892 $as_echo_n "checking for id3tag... " >&6; } | 6890 $as_echo_n "checking for X11... " >&6; } |
6893 | 6891 |
6894 if test -n "$id3tag_CFLAGS"; then | 6892 if test -n "$X11_CFLAGS"; then |
6895 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" | 6893 pkg_cv_X11_CFLAGS="$X11_CFLAGS" |
6896 elif test -n "$PKG_CONFIG"; then | 6894 elif test -n "$PKG_CONFIG"; then |
6897 if test -n "$PKG_CONFIG" && \ | 6895 if test -n "$PKG_CONFIG" && \ |
6898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6896 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6899 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6897 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6900 ac_status=$? | 6898 ac_status=$? |
6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6902 test $ac_status = 0; }; then | 6900 test $ac_status = 0; }; then |
6903 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6901 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6904 test "x$?" != "x0" && pkg_failed=yes | 6902 test "x$?" != "x0" && pkg_failed=yes |
6905 else | 6903 else |
6906 pkg_failed=yes | 6904 pkg_failed=yes |
6907 fi | 6905 fi |
6908 else | 6906 else |
6909 pkg_failed=untried | 6907 pkg_failed=untried |
6910 fi | 6908 fi |
6911 if test -n "$id3tag_LIBS"; then | 6909 if test -n "$X11_LIBS"; then |
6912 pkg_cv_id3tag_LIBS="$id3tag_LIBS" | 6910 pkg_cv_X11_LIBS="$X11_LIBS" |
6913 elif test -n "$PKG_CONFIG"; then | 6911 elif test -n "$PKG_CONFIG"; then |
6914 if test -n "$PKG_CONFIG" && \ | 6912 if test -n "$PKG_CONFIG" && \ |
6915 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6916 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6914 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6917 ac_status=$? | 6915 ac_status=$? |
6918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6919 test $ac_status = 0; }; then | 6917 test $ac_status = 0; }; then |
6920 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6918 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6921 test "x$?" != "x0" && pkg_failed=yes | 6919 test "x$?" != "x0" && pkg_failed=yes |
6922 else | 6920 else |
6923 pkg_failed=yes | 6921 pkg_failed=yes |
6924 fi | 6922 fi |
6925 else | 6923 else |
6936 _pkg_short_errors_supported=yes | 6934 _pkg_short_errors_supported=yes |
6937 else | 6935 else |
6938 _pkg_short_errors_supported=no | 6936 _pkg_short_errors_supported=no |
6939 fi | 6937 fi |
6940 if test $_pkg_short_errors_supported = yes; then | 6938 if test $_pkg_short_errors_supported = yes; then |
6941 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6939 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6942 else | 6940 else |
6943 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6941 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6944 fi | 6942 fi |
6945 # Put the nasty error message in config.log where it belongs | 6943 # Put the nasty error message in config.log where it belongs |
6946 echo "$id3tag_PKG_ERRORS" >&5 | 6944 echo "$X11_PKG_ERRORS" >&5 |
6947 | 6945 |
6948 { $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 | 6946 { $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 |
6949 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6947 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6950 elif test $pkg_failed = untried; then | 6948 elif test $pkg_failed = untried; then |
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6952 $as_echo "no" >&6; } | 6950 $as_echo "no" >&6; } |
6953 { $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 | 6951 { $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 |
6954 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6952 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6955 else | 6953 else |
6956 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS | 6954 X11_CFLAGS=$pkg_cv_X11_CFLAGS |
6957 id3tag_LIBS=$pkg_cv_id3tag_LIBS | 6955 X11_LIBS=$pkg_cv_X11_LIBS |
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6959 $as_echo "yes" >&6; } | 6957 $as_echo "yes" >&6; } |
6960 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" | 6958 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $X11_CFLAGS";LIBS="$LIBS $X11_LIBS";SV_MODULE_FAILED="" |
6961 fi | 6959 fi |
6962 fi | 6960 fi |
6963 if test -n "$SV_MODULE_FAILED"; then | 6961 if test -n "$SV_MODULE_FAILED"; then |
6964 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6962 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6965 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6963 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
7020 | 7018 |
7021 fi | 7019 fi |
7022 fi | 7020 fi |
7023 fi | 7021 fi |
7024 | 7022 |
7025 | |
7026 # Link in -lX11 if it exists -- this is for the X error handler | |
7027 | |
7028 SV_MODULE_MODULE=X11 | |
7029 SV_MODULE_VERSION_TEST="x11 >= 1.0.0" | |
7030 SV_MODULE_HEADER=X11/X.h | |
7031 SV_MODULE_LIB=x11 | |
7032 SV_MODULE_FUNC=XGetErrorText | |
7033 SV_MODULE_HAVE=HAVE_$(echo X11 | tr 'a-z' 'A-Z') | |
7034 SV_MODULE_FAILED=1 | |
7035 if test -n "$X11_LIBS" ; then | |
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
7037 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
7038 CXXFLAGS="$CXXFLAGS $X11_CFLAGS" | |
7039 LIBS="$LIBS $X11_LIBS" | |
7040 SV_MODULE_FAILED="" | |
7041 fi | |
7042 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
7043 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
7044 fi | |
7045 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
7046 | |
7047 pkg_failed=no | |
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 | |
7049 $as_echo_n "checking for X11... " >&6; } | |
7050 | |
7051 if test -n "$X11_CFLAGS"; then | |
7052 pkg_cv_X11_CFLAGS="$X11_CFLAGS" | |
7053 elif test -n "$PKG_CONFIG"; then | |
7054 if test -n "$PKG_CONFIG" && \ | |
7055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7056 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7057 ac_status=$? | |
7058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7059 test $ac_status = 0; }; then | |
7060 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7061 test "x$?" != "x0" && pkg_failed=yes | |
7062 else | |
7063 pkg_failed=yes | |
7064 fi | |
7065 else | |
7066 pkg_failed=untried | |
7067 fi | |
7068 if test -n "$X11_LIBS"; then | |
7069 pkg_cv_X11_LIBS="$X11_LIBS" | |
7070 elif test -n "$PKG_CONFIG"; then | |
7071 if test -n "$PKG_CONFIG" && \ | |
7072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7073 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7074 ac_status=$? | |
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7076 test $ac_status = 0; }; then | |
7077 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7078 test "x$?" != "x0" && pkg_failed=yes | |
7079 else | |
7080 pkg_failed=yes | |
7081 fi | |
7082 else | |
7083 pkg_failed=untried | |
7084 fi | |
7085 | |
7086 | |
7087 | |
7088 if test $pkg_failed = yes; then | |
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7090 $as_echo "no" >&6; } | |
7091 | |
7092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
7093 _pkg_short_errors_supported=yes | |
7094 else | |
7095 _pkg_short_errors_supported=no | |
7096 fi | |
7097 if test $_pkg_short_errors_supported = yes; then | |
7098 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
7099 else | |
7100 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
7101 fi | |
7102 # Put the nasty error message in config.log where it belongs | |
7103 echo "$X11_PKG_ERRORS" >&5 | |
7104 | |
7105 { $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 | |
7106 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7107 elif test $pkg_failed = untried; then | |
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7109 $as_echo "no" >&6; } | |
7110 { $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 | |
7111 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7112 else | |
7113 X11_CFLAGS=$pkg_cv_X11_CFLAGS | |
7114 X11_LIBS=$pkg_cv_X11_LIBS | |
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
7116 $as_echo "yes" >&6; } | |
7117 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $X11_CFLAGS";LIBS="$LIBS $X11_LIBS";SV_MODULE_FAILED="" | |
7118 fi | |
7119 fi | |
7120 if test -n "$SV_MODULE_FAILED"; then | |
7121 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
7122 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
7123 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
7124 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
7125 else | |
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
7127 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
7128 fi | |
7129 | |
7130 | |
7131 if test -z "$SV_MODULE_FAILED"; then | |
7132 if test -n "$SV_MODULE_LIB"; then | |
7133 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
7135 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
7136 if eval \${$as_ac_Lib+:} false; then : | |
7137 $as_echo_n "(cached) " >&6 | |
7138 else | |
7139 ac_check_lib_save_LIBS=$LIBS | |
7140 LIBS="-l$SV_MODULE_LIB $LIBS" | |
7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7142 /* end confdefs.h. */ | |
7143 | |
7144 /* Override any GCC internal prototype to avoid an error. | |
7145 Use char because int might match the return type of a GCC | |
7146 builtin and then its argument prototype would still apply. */ | |
7147 #ifdef __cplusplus | |
7148 extern "C" | |
7149 #endif | |
7150 char $SV_MODULE_FUNC (); | |
7151 int | |
7152 main () | |
7153 { | |
7154 return $SV_MODULE_FUNC (); | |
7155 ; | |
7156 return 0; | |
7157 } | |
7158 _ACEOF | |
7159 if ac_fn_cxx_try_link "$LINENO"; then : | |
7160 eval "$as_ac_Lib=yes" | |
7161 else | |
7162 eval "$as_ac_Lib=no" | |
7163 fi | |
7164 rm -f core conftest.err conftest.$ac_objext \ | |
7165 conftest$ac_exeext conftest.$ac_ext | |
7166 LIBS=$ac_check_lib_save_LIBS | |
7167 fi | |
7168 eval ac_res=\$$as_ac_Lib | |
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
7170 $as_echo "$ac_res" >&6; } | |
7171 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
7172 LIBS="$LIBS -l$SV_MODULE_LIB" | |
7173 else | |
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
7175 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
7176 fi | |
7177 | |
7178 fi | |
7179 fi | |
7180 fi | |
7181 | 7023 |
7182 | 7024 |
7183 | 7025 |
7184 | 7026 |
7185 | 7027 |