Mercurial > hg > sonic-annotator
comparison configure @ 90:5fe1f2efd407 sonic-annotator-1.0
Ah, we do need this library after all
author | Chris Cannam |
---|---|
date | Thu, 09 May 2013 14:51:26 +0100 |
parents | 52e5e2c03792 |
children | ee56e3e9eeb5 |
comparison
equal
deleted
inserted
replaced
89:6de99d209e32 | 90:5fe1f2efd407 |
---|---|
642 fishsound_CFLAGS | 642 fishsound_CFLAGS |
643 oggz_LIBS | 643 oggz_LIBS |
644 oggz_CFLAGS | 644 oggz_CFLAGS |
645 lrdf_LIBS | 645 lrdf_LIBS |
646 lrdf_CFLAGS | 646 lrdf_CFLAGS |
647 liblo_LIBS | |
648 liblo_CFLAGS | |
647 serd_LIBS | 649 serd_LIBS |
648 serd_CFLAGS | 650 serd_CFLAGS |
649 sord_LIBS | 651 sord_LIBS |
650 sord_CFLAGS | 652 sord_CFLAGS |
651 vamphostsdk_LIBS | 653 vamphostsdk_LIBS |
757 vamphostsdk_LIBS | 759 vamphostsdk_LIBS |
758 sord_CFLAGS | 760 sord_CFLAGS |
759 sord_LIBS | 761 sord_LIBS |
760 serd_CFLAGS | 762 serd_CFLAGS |
761 serd_LIBS | 763 serd_LIBS |
764 liblo_CFLAGS | |
765 liblo_LIBS | |
762 lrdf_CFLAGS | 766 lrdf_CFLAGS |
763 lrdf_LIBS | 767 lrdf_LIBS |
764 oggz_CFLAGS | 768 oggz_CFLAGS |
765 oggz_LIBS | 769 oggz_LIBS |
766 fishsound_CFLAGS | 770 fishsound_CFLAGS |
1420 linker flags for vamphostsdk, overriding pkg-config | 1424 linker flags for vamphostsdk, overriding pkg-config |
1421 sord_CFLAGS C compiler flags for sord, overriding pkg-config | 1425 sord_CFLAGS C compiler flags for sord, overriding pkg-config |
1422 sord_LIBS linker flags for sord, overriding pkg-config | 1426 sord_LIBS linker flags for sord, overriding pkg-config |
1423 serd_CFLAGS C compiler flags for serd, overriding pkg-config | 1427 serd_CFLAGS C compiler flags for serd, overriding pkg-config |
1424 serd_LIBS linker flags for serd, overriding pkg-config | 1428 serd_LIBS linker flags for serd, overriding pkg-config |
1429 liblo_CFLAGS | |
1430 C compiler flags for liblo, overriding pkg-config | |
1431 liblo_LIBS linker flags for liblo, overriding pkg-config | |
1425 lrdf_CFLAGS C compiler flags for lrdf, overriding pkg-config | 1432 lrdf_CFLAGS C compiler flags for lrdf, overriding pkg-config |
1426 lrdf_LIBS linker flags for lrdf, overriding pkg-config | 1433 lrdf_LIBS linker flags for lrdf, overriding pkg-config |
1427 oggz_CFLAGS C compiler flags for oggz, overriding pkg-config | 1434 oggz_CFLAGS C compiler flags for oggz, overriding pkg-config |
1428 oggz_LIBS linker flags for oggz, overriding pkg-config | 1435 oggz_LIBS linker flags for oggz, overriding pkg-config |
1429 fishsound_CFLAGS | 1436 fishsound_CFLAGS |
5586 fi | 5593 fi |
5587 fi | 5594 fi |
5588 | 5595 |
5589 | 5596 |
5590 | 5597 |
5598 SV_MODULE_MODULE=liblo | |
5599 SV_MODULE_VERSION_TEST="" | |
5600 SV_MODULE_HEADER=lo/lo.h | |
5601 SV_MODULE_LIB=lo | |
5602 SV_MODULE_FUNC=lo_address_new | |
5603 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5604 SV_MODULE_FAILED=1 | |
5605 if test -n "$liblo_LIBS" ; then | |
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
5607 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
5608 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" | |
5609 LIBS="$LIBS $liblo_LIBS" | |
5610 SV_MODULE_FAILED="" | |
5611 fi | |
5612 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
5613 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
5614 fi | |
5615 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
5616 | |
5617 pkg_failed=no | |
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 | |
5619 $as_echo_n "checking for liblo... " >&6; } | |
5620 | |
5621 if test -n "$liblo_CFLAGS"; then | |
5622 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" | |
5623 elif test -n "$PKG_CONFIG"; then | |
5624 if test -n "$PKG_CONFIG" && \ | |
5625 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5626 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5627 ac_status=$? | |
5628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5629 test $ac_status = 0; }; then | |
5630 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5631 test "x$?" != "x0" && pkg_failed=yes | |
5632 else | |
5633 pkg_failed=yes | |
5634 fi | |
5635 else | |
5636 pkg_failed=untried | |
5637 fi | |
5638 if test -n "$liblo_LIBS"; then | |
5639 pkg_cv_liblo_LIBS="$liblo_LIBS" | |
5640 elif test -n "$PKG_CONFIG"; then | |
5641 if test -n "$PKG_CONFIG" && \ | |
5642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5643 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5644 ac_status=$? | |
5645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5646 test $ac_status = 0; }; then | |
5647 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5648 test "x$?" != "x0" && pkg_failed=yes | |
5649 else | |
5650 pkg_failed=yes | |
5651 fi | |
5652 else | |
5653 pkg_failed=untried | |
5654 fi | |
5655 | |
5656 | |
5657 | |
5658 if test $pkg_failed = yes; then | |
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5660 $as_echo "no" >&6; } | |
5661 | |
5662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
5663 _pkg_short_errors_supported=yes | |
5664 else | |
5665 _pkg_short_errors_supported=no | |
5666 fi | |
5667 if test $_pkg_short_errors_supported = yes; then | |
5668 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5669 else | |
5670 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5671 fi | |
5672 # Put the nasty error message in config.log where it belongs | |
5673 echo "$liblo_PKG_ERRORS" >&5 | |
5674 | |
5675 { $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 | |
5676 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5677 elif test $pkg_failed = untried; then | |
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5679 $as_echo "no" >&6; } | |
5680 { $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 | |
5681 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5682 else | |
5683 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS | |
5684 liblo_LIBS=$pkg_cv_liblo_LIBS | |
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
5686 $as_echo "yes" >&6; } | |
5687 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" | |
5688 fi | |
5689 fi | |
5690 if test -n "$SV_MODULE_FAILED"; then | |
5691 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
5692 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
5693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5694 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
5695 else | |
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
5697 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
5698 fi | |
5699 | |
5700 | |
5701 if test -z "$SV_MODULE_FAILED"; then | |
5702 if test -n "$SV_MODULE_LIB"; then | |
5703 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
5705 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
5706 if eval \${$as_ac_Lib+:} false; then : | |
5707 $as_echo_n "(cached) " >&6 | |
5708 else | |
5709 ac_check_lib_save_LIBS=$LIBS | |
5710 LIBS="-l$SV_MODULE_LIB $LIBS" | |
5711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5712 /* end confdefs.h. */ | |
5713 | |
5714 /* Override any GCC internal prototype to avoid an error. | |
5715 Use char because int might match the return type of a GCC | |
5716 builtin and then its argument prototype would still apply. */ | |
5717 #ifdef __cplusplus | |
5718 extern "C" | |
5719 #endif | |
5720 char $SV_MODULE_FUNC (); | |
5721 int | |
5722 main () | |
5723 { | |
5724 return $SV_MODULE_FUNC (); | |
5725 ; | |
5726 return 0; | |
5727 } | |
5728 _ACEOF | |
5729 if ac_fn_cxx_try_link "$LINENO"; then : | |
5730 eval "$as_ac_Lib=yes" | |
5731 else | |
5732 eval "$as_ac_Lib=no" | |
5733 fi | |
5734 rm -f core conftest.err conftest.$ac_objext \ | |
5735 conftest$ac_exeext conftest.$ac_ext | |
5736 LIBS=$ac_check_lib_save_LIBS | |
5737 fi | |
5738 eval ac_res=\$$as_ac_Lib | |
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5740 $as_echo "$ac_res" >&6; } | |
5741 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
5742 LIBS="$LIBS -l$SV_MODULE_LIB" | |
5743 else | |
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
5745 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
5746 fi | |
5747 | |
5748 fi | |
5749 fi | |
5750 fi | |
5751 | |
5752 | |
5591 SV_MODULE_MODULE=lrdf | 5753 SV_MODULE_MODULE=lrdf |
5592 SV_MODULE_VERSION_TEST="lrdf >= 0.2" | 5754 SV_MODULE_VERSION_TEST="lrdf >= 0.2" |
5593 SV_MODULE_HEADER=lrdf.h | 5755 SV_MODULE_HEADER=lrdf.h |
5594 SV_MODULE_LIB=lrdf | 5756 SV_MODULE_LIB=lrdf |
5595 SV_MODULE_FUNC=lrdf_init | 5757 SV_MODULE_FUNC=lrdf_init |