comparison configure @ 2008:55d9bbf1fe45 zoom

Merge from default branch
author Chris Cannam
date Mon, 17 Sep 2018 14:05:41 +0100
parents 810a0b8f5472
children 5ffcb4e10e1b
comparison
equal deleted inserted replaced
2007:246bdf94ef7b 2008:55d9bbf1fe45
622 622
623 ac_subst_vars='LTLIBOBJS 623 ac_subst_vars='LTLIBOBJS
624 LIBOBJS 624 LIBOBJS
625 QMAKE_CONFIG 625 QMAKE_CONFIG
626 HAVES 626 HAVES
627 CXXSTANDARD
627 CXXFLAGS_MINIMAL 628 CXXFLAGS_MINIMAL
628 CUT 629 CUT
629 SHA1SUM 630 SHA1SUM
630 MAKEDEPEND 631 MAKEDEPEND
631 XARGS 632 XARGS
648 JACK_CFLAGS 649 JACK_CFLAGS
649 portaudio_LIBS 650 portaudio_LIBS
650 portaudio_CFLAGS 651 portaudio_CFLAGS
651 liblo_LIBS 652 liblo_LIBS
652 liblo_CFLAGS 653 liblo_CFLAGS
653 kj_LIBS
654 kj_CFLAGS
655 capnp_LIBS 654 capnp_LIBS
656 capnp_CFLAGS 655 capnp_CFLAGS
657 serd_LIBS 656 serd_LIBS
658 serd_CFLAGS 657 serd_CFLAGS
659 sord_LIBS 658 sord_LIBS
766 sord_LIBS 765 sord_LIBS
767 serd_CFLAGS 766 serd_CFLAGS
768 serd_LIBS 767 serd_LIBS
769 capnp_CFLAGS 768 capnp_CFLAGS
770 capnp_LIBS 769 capnp_LIBS
771 kj_CFLAGS
772 kj_LIBS
773 liblo_CFLAGS 770 liblo_CFLAGS
774 liblo_LIBS 771 liblo_LIBS
775 portaudio_CFLAGS 772 portaudio_CFLAGS
776 portaudio_LIBS 773 portaudio_LIBS
777 JACK_CFLAGS 774 JACK_CFLAGS
1440 serd_CFLAGS C compiler flags for serd, overriding pkg-config 1437 serd_CFLAGS C compiler flags for serd, overriding pkg-config
1441 serd_LIBS linker flags for serd, overriding pkg-config 1438 serd_LIBS linker flags for serd, overriding pkg-config
1442 capnp_CFLAGS 1439 capnp_CFLAGS
1443 C compiler flags for capnp, overriding pkg-config 1440 C compiler flags for capnp, overriding pkg-config
1444 capnp_LIBS linker flags for capnp, overriding pkg-config 1441 capnp_LIBS linker flags for capnp, overriding pkg-config
1445 kj_CFLAGS C compiler flags for kj, overriding pkg-config
1446 kj_LIBS linker flags for kj, overriding pkg-config
1447 liblo_CFLAGS 1442 liblo_CFLAGS
1448 C compiler flags for liblo, overriding pkg-config 1443 C compiler flags for liblo, overriding pkg-config
1449 liblo_LIBS linker flags for liblo, overriding pkg-config 1444 liblo_LIBS linker flags for liblo, overriding pkg-config
1450 portaudio_CFLAGS 1445 portaudio_CFLAGS
1451 C compiler flags for portaudio, overriding pkg-config 1446 C compiler flags for portaudio, overriding pkg-config
4415 esac 4410 esac
4416 4411
4417 4412
4418 4413
4419 SV_DEFINES_DEBUG="-DDEBUG -DBUILD_DEBUG -DWANT_TIMING" 4414 SV_DEFINES_DEBUG="-DDEBUG -DBUILD_DEBUG -DWANT_TIMING"
4420 SV_DEFINES_RELEASE="-DNDEBUG -DBUILD_RELEASE -DWANT_TIMING" # -DNO_TIMING" 4415 SV_DEFINES_RELEASE="-DNDEBUG -DBUILD_RELEASE -DNO_TIMING -DNO_HIT_COUNTS"
4421 SV_DEFINES_MINIMAL="$SV_DEFINES_RELEASE" 4416 SV_DEFINES_MINIMAL="$SV_DEFINES_RELEASE"
4422 4417
4423 # Now we have: USER_CXXFLAGS contains any flags the user set 4418 # Now we have: USER_CXXFLAGS contains any flags the user set
4424 # explicitly; AUTOCONF_CXXFLAGS contains flags that Autoconf thought 4419 # explicitly; AUTOCONF_CXXFLAGS contains flags that Autoconf thought
4425 # we should use. If we have GCC, we override the latter but then 4420 # we should use. If we have GCC, we override the latter but then
4426 # allow ourselves to be overridden (later) by the former 4421 # allow ourselves to be overridden (later) by the former
4427 4422
4428 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS" 4423 CXXFLAGS_DEBUG="$AUTOCONF_CXXFLAGS"
4429 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS" 4424 CXXFLAGS_RELEASE="$AUTOCONF_CXXFLAGS"
4430 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" 4425 CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS"
4426 CXXSTANDARD=c++14
4431 4427
4432 if test "x$GCC" = "xyes"; then 4428 if test "x$GCC" = "xyes"; then
4433 CXXFLAGS_ANY="-Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" 4429 CXXFLAGS_ANY="-fpic -Wall -Wextra -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe"
4434 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -Werror" 4430 CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g -O2 -Werror"
4435 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" 4431 CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O3 -ffast-math"
4436 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" 4432 CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0"
4433 LIBS_DEBUG="$LIBS"
4434 as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags__--std=$CXXSTANDARD" | $as_tr_sh`
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts --std=$CXXSTANDARD" >&5
4436 $as_echo_n "checking whether C++ compiler accepts --std=$CXXSTANDARD... " >&6; }
4437 if eval \${$as_CACHEVAR+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440
4441 ax_check_save_flags=$CXXFLAGS
4442 CXXFLAGS="$CXXFLAGS --std=$CXXSTANDARD"
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4445
4446 int
4447 main ()
4448 {
4449
4450 ;
4451 return 0;
4452 }
4453 _ACEOF
4454 if ac_fn_cxx_try_compile "$LINENO"; then :
4455 eval "$as_CACHEVAR=yes"
4456 else
4457 eval "$as_CACHEVAR=no"
4458 fi
4459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4460 CXXFLAGS=$ax_check_save_flags
4461 fi
4462 eval ac_res=\$$as_CACHEVAR
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4464 $as_echo "$ac_res" >&6; }
4465 if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
4466 :
4467 else
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: Compiler does not appear to support $CXXSTANDARD, falling back to c++11" >&5
4469 $as_echo "$as_me: Compiler does not appear to support $CXXSTANDARD, falling back to c++11" >&6;}
4470 CXXSTANDARD=c++11
4471 fi
4472
4437 fi 4473 fi
4438 4474
4439 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE" 4475 CXXFLAGS_BUILD="$CXXFLAGS_RELEASE"
4440 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE" 4476 SV_DEFINES_BUILD="$SV_DEFINES_RELEASE"
4441 4477
4446 enableval=$enable_debug; { $as_echo "$as_me:${as_lineno-$LINENO}: enabling debug build" >&5 4482 enableval=$enable_debug; { $as_echo "$as_me:${as_lineno-$LINENO}: enabling debug build" >&5
4447 $as_echo "$as_me: enabling debug build" >&6;} 4483 $as_echo "$as_me: enabling debug build" >&6;}
4448 QMAKE_CONFIG="debug" 4484 QMAKE_CONFIG="debug"
4449 CXXFLAGS_BUILD="$CXXFLAGS_DEBUG" 4485 CXXFLAGS_BUILD="$CXXFLAGS_DEBUG"
4450 SV_DEFINES_BUILD="$SV_DEFINES_DEBUG" 4486 SV_DEFINES_BUILD="$SV_DEFINES_DEBUG"
4487 LIBS="$LIBS_DEBUG"
4451 fi 4488 fi
4452 4489
4453 4490
4454 if test x"$USER_CXXFLAGS" != x; then 4491 if test x"$USER_CXXFLAGS" != x; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: The CXXFLAGS environment variable is set to \"$USER_CXXFLAGS\"." >&5 4492 { $as_echo "$as_me:${as_lineno-$LINENO}: The CXXFLAGS environment variable is set to \"$USER_CXXFLAGS\"." >&5
5686 5723
5687 fi 5724 fi
5688 fi 5725 fi
5689 5726
5690 5727
5691 SV_MODULE_MODULE=capnp 5728 # We need a Cap'n Proto version with the expectedSizeInWordsFromPrefix
5692 SV_MODULE_VERSION_TEST="capnp >= 0.6" 5729 # function, which appeared in v0.6. If we can't find at least that
5693 SV_MODULE_HEADER=capnp/common.h 5730 # version with pkg-config, we check for the symbol with the compiler.
5694 SV_MODULE_LIB=capnp
5695 SV_MODULE_FUNC=
5696 SV_MODULE_HAVE=HAVE_$(echo capnp | tr 'a-z' 'A-Z')
5697 SV_MODULE_FAILED=1
5698 if test -n "$capnp_LIBS" ; then
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5700 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5701 CXXFLAGS="$CXXFLAGS $capnp_CFLAGS"
5702 LIBS="$LIBS $capnp_LIBS"
5703 SV_MODULE_FAILED=""
5704 fi
5705 if test -z "$SV_MODULE_VERSION_TEST" ; then
5706 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5707 fi
5708 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5709 5731
5710 pkg_failed=no 5732 pkg_failed=no
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capnp" >&5 5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capnp" >&5
5712 $as_echo_n "checking for capnp... " >&6; } 5734 $as_echo_n "checking for capnp... " >&6; }
5713 5735
5714 if test -n "$capnp_CFLAGS"; then 5736 if test -n "$capnp_CFLAGS"; then
5715 pkg_cv_capnp_CFLAGS="$capnp_CFLAGS" 5737 pkg_cv_capnp_CFLAGS="$capnp_CFLAGS"
5738 elif test -n "$PKG_CONFIG"; then
5739 if test -n "$PKG_CONFIG" && \
5740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"capnp >= 0.6\""; } >&5
5741 ($PKG_CONFIG --exists --print-errors "capnp >= 0.6") 2>&5
5742 ac_status=$?
5743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5744 test $ac_status = 0; }; then
5745 pkg_cv_capnp_CFLAGS=`$PKG_CONFIG --cflags "capnp >= 0.6" 2>/dev/null`
5746 test "x$?" != "x0" && pkg_failed=yes
5747 else
5748 pkg_failed=yes
5749 fi
5750 else
5751 pkg_failed=untried
5752 fi
5753 if test -n "$capnp_LIBS"; then
5754 pkg_cv_capnp_LIBS="$capnp_LIBS"
5755 elif test -n "$PKG_CONFIG"; then
5756 if test -n "$PKG_CONFIG" && \
5757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"capnp >= 0.6\""; } >&5
5758 ($PKG_CONFIG --exists --print-errors "capnp >= 0.6") 2>&5
5759 ac_status=$?
5760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5761 test $ac_status = 0; }; then
5762 pkg_cv_capnp_LIBS=`$PKG_CONFIG --libs "capnp >= 0.6" 2>/dev/null`
5763 test "x$?" != "x0" && pkg_failed=yes
5764 else
5765 pkg_failed=yes
5766 fi
5767 else
5768 pkg_failed=untried
5769 fi
5770
5771
5772
5773 if test $pkg_failed = yes; then
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }
5776
5777 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5778 _pkg_short_errors_supported=yes
5779 else
5780 _pkg_short_errors_supported=no
5781 fi
5782 if test $_pkg_short_errors_supported = yes; then
5783 capnp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "capnp >= 0.6" 2>&1`
5784 else
5785 capnp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "capnp >= 0.6" 2>&1`
5786 fi
5787 # Put the nasty error message in config.log where it belongs
5788 echo "$capnp_PKG_ERRORS" >&5
5789
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module capnp using pkg-config, trying again by old-fashioned means" >&5
5791 $as_echo "$as_me: Failed to find required module capnp using pkg-config, trying again by old-fashioned means" >&6;}
5792 elif test $pkg_failed = untried; then
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module capnp using pkg-config, trying again by old-fashioned means" >&5
5796 $as_echo "$as_me: Failed to find required module capnp using pkg-config, trying again by old-fashioned means" >&6;}
5797 else
5798 capnp_CFLAGS=$pkg_cv_capnp_CFLAGS
5799 capnp_LIBS=$pkg_cv_capnp_LIBS
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5801 $as_echo "yes" >&6; }
5802 HAVES="$HAVES HAVE_CAPNP";CXXFLAGS="$CXXFLAGS $capnp_CFLAGS";LIBS="$LIBS $capnp_LIBS"
5803 fi
5804 if test -z "$capnp_LIBS" ; then
5805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5806 /* end confdefs.h. */
5807
5808
5809 #include <capnp/serialize.h>
5810 int main() {
5811 kj::Array<capnp::word> prefix;
5812 return capnp::expectedSizeInWordsFromPrefix(prefix.asPtr());
5813 }
5814 _ACEOF
5815 if ac_fn_cxx_try_compile "$LINENO"; then :
5816 HAVES="$HAVES HAVE_CAPNP";LIBS="$LIBS -lcapnp -lkj"
5817 else
5818 as_fn_error $? "Failed to find appropriate capnp library" "$LINENO" 5
5819
5820 fi
5821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5822 fi
5823
5824
5825 SV_MODULE_MODULE=liblo
5826 SV_MODULE_VERSION_TEST=""
5827 SV_MODULE_HEADER=lo/lo.h
5828 SV_MODULE_LIB=lo
5829 SV_MODULE_FUNC=lo_address_new
5830 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z')
5831 SV_MODULE_FAILED=1
5832 if test -n "$liblo_LIBS" ; then
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5834 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5835 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS"
5836 LIBS="$LIBS $liblo_LIBS"
5837 SV_MODULE_FAILED=""
5838 fi
5839 if test -z "$SV_MODULE_VERSION_TEST" ; then
5840 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5841 fi
5842 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5843
5844 pkg_failed=no
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5
5846 $as_echo_n "checking for liblo... " >&6; }
5847
5848 if test -n "$liblo_CFLAGS"; then
5849 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS"
5716 elif test -n "$PKG_CONFIG"; then 5850 elif test -n "$PKG_CONFIG"; then
5717 if test -n "$PKG_CONFIG" && \ 5851 if test -n "$PKG_CONFIG" && \
5718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5719 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5853 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5720 ac_status=$? 5854 ac_status=$?
5721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5722 test $ac_status = 0; }; then 5856 test $ac_status = 0; }; then
5723 pkg_cv_capnp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5857 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5724 test "x$?" != "x0" && pkg_failed=yes 5858 test "x$?" != "x0" && pkg_failed=yes
5725 else 5859 else
5726 pkg_failed=yes 5860 pkg_failed=yes
5727 fi 5861 fi
5728 else 5862 else
5729 pkg_failed=untried 5863 pkg_failed=untried
5730 fi 5864 fi
5731 if test -n "$capnp_LIBS"; then 5865 if test -n "$liblo_LIBS"; then
5732 pkg_cv_capnp_LIBS="$capnp_LIBS" 5866 pkg_cv_liblo_LIBS="$liblo_LIBS"
5733 elif test -n "$PKG_CONFIG"; then 5867 elif test -n "$PKG_CONFIG"; then
5734 if test -n "$PKG_CONFIG" && \ 5868 if test -n "$PKG_CONFIG" && \
5735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5869 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5736 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5870 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5737 ac_status=$? 5871 ac_status=$?
5738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5739 test $ac_status = 0; }; then 5873 test $ac_status = 0; }; then
5740 pkg_cv_capnp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5874 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5741 test "x$?" != "x0" && pkg_failed=yes 5875 test "x$?" != "x0" && pkg_failed=yes
5742 else 5876 else
5743 pkg_failed=yes 5877 pkg_failed=yes
5744 fi 5878 fi
5745 else 5879 else
5756 _pkg_short_errors_supported=yes 5890 _pkg_short_errors_supported=yes
5757 else 5891 else
5758 _pkg_short_errors_supported=no 5892 _pkg_short_errors_supported=no
5759 fi 5893 fi
5760 if test $_pkg_short_errors_supported = yes; then 5894 if test $_pkg_short_errors_supported = yes; then
5761 capnp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 5895 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5762 else 5896 else
5763 capnp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 5897 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5764 fi 5898 fi
5765 # Put the nasty error message in config.log where it belongs 5899 # Put the nasty error message in config.log where it belongs
5766 echo "$capnp_PKG_ERRORS" >&5 5900 echo "$liblo_PKG_ERRORS" >&5
5767 5901
5768 { $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 5902 { $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
5769 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5903 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5770 elif test $pkg_failed = untried; then 5904 elif test $pkg_failed = untried; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; } 5906 $as_echo "no" >&6; }
5773 { $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 5907 { $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
5774 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5908 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5775 else 5909 else
5776 capnp_CFLAGS=$pkg_cv_capnp_CFLAGS 5910 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS
5777 capnp_LIBS=$pkg_cv_capnp_LIBS 5911 liblo_LIBS=$pkg_cv_liblo_LIBS
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5779 $as_echo "yes" >&6; } 5913 $as_echo "yes" >&6; }
5780 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $capnp_CFLAGS";LIBS="$LIBS $capnp_LIBS";SV_MODULE_FAILED="" 5914 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED=""
5781 fi 5915 fi
5782 fi 5916 fi
5783 if test -n "$SV_MODULE_FAILED"; then 5917 if test -n "$SV_MODULE_FAILED"; then
5784 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 5918 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5785 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 5919 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5786 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5920 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5787 HAVES="$HAVES $SV_MODULE_HAVE" 5921 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
5788 else 5922 else
5789 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 5923 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
5790 fi 5924 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
5791 5925 fi
5792 5926
5793 if test -n "$SV_MODULE_LIB"; then 5927
5794 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 5928 if test -z "$SV_MODULE_FAILED"; then
5929 if test -n "$SV_MODULE_LIB"; then
5930 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 5931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5796 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 5932 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5797 if eval \${$as_ac_Lib+:} false; then : 5933 if eval \${$as_ac_Lib+:} false; then :
5798 $as_echo_n "(cached) " >&6 5934 $as_echo_n "(cached) " >&6
5799 else 5935 else
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5831 $as_echo "$ac_res" >&6; } 5967 $as_echo "$ac_res" >&6; }
5832 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 5968 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5833 LIBS="$LIBS -l$SV_MODULE_LIB" 5969 LIBS="$LIBS -l$SV_MODULE_LIB"
5834 else 5970 else
5835 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 5971 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
5836 fi 5972 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
5837 5973 fi
5974
5975 fi
5838 fi 5976 fi
5839 fi 5977 fi
5840 5978
5841 5979
5842 SV_MODULE_MODULE=kj 5980 SV_MODULE_MODULE=portaudio
5843 SV_MODULE_VERSION_TEST="kj >= 0.6" 5981 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19"
5844 SV_MODULE_HEADER=kj/common.h 5982 SV_MODULE_HEADER=portaudio.h
5845 SV_MODULE_LIB=kj 5983 SV_MODULE_LIB=portaudio
5846 SV_MODULE_FUNC= 5984 SV_MODULE_FUNC=Pa_IsFormatSupported
5847 SV_MODULE_HAVE=HAVE_$(echo kj | tr 'a-z' 'A-Z') 5985 SV_MODULE_HAVE=HAVE_$(echo portaudio | tr 'a-z' 'A-Z')
5848 SV_MODULE_FAILED=1 5986 SV_MODULE_FAILED=1
5849 if test -n "$kj_LIBS" ; then 5987 if test -n "$portaudio_LIBS" ; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 5988 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5851 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 5989 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5852 CXXFLAGS="$CXXFLAGS $kj_CFLAGS" 5990 CXXFLAGS="$CXXFLAGS $portaudio_CFLAGS"
5853 LIBS="$LIBS $kj_LIBS" 5991 LIBS="$LIBS $portaudio_LIBS"
5854 SV_MODULE_FAILED="" 5992 SV_MODULE_FAILED=""
5855 fi 5993 fi
5856 if test -z "$SV_MODULE_VERSION_TEST" ; then 5994 if test -z "$SV_MODULE_VERSION_TEST" ; then
5857 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 5995 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5858 fi 5996 fi
5859 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 5997 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5860 5998
5861 pkg_failed=no 5999 pkg_failed=no
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kj" >&5 6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio" >&5
5863 $as_echo_n "checking for kj... " >&6; } 6001 $as_echo_n "checking for portaudio... " >&6; }
5864 6002
5865 if test -n "$kj_CFLAGS"; then 6003 if test -n "$portaudio_CFLAGS"; then
5866 pkg_cv_kj_CFLAGS="$kj_CFLAGS" 6004 pkg_cv_portaudio_CFLAGS="$portaudio_CFLAGS"
5867 elif test -n "$PKG_CONFIG"; then 6005 elif test -n "$PKG_CONFIG"; then
5868 if test -n "$PKG_CONFIG" && \ 6006 if test -n "$PKG_CONFIG" && \
5869 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5870 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6008 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5871 ac_status=$? 6009 ac_status=$?
5872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5873 test $ac_status = 0; }; then 6011 test $ac_status = 0; }; then
5874 pkg_cv_kj_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6012 pkg_cv_portaudio_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5875 test "x$?" != "x0" && pkg_failed=yes 6013 test "x$?" != "x0" && pkg_failed=yes
5876 else 6014 else
5877 pkg_failed=yes 6015 pkg_failed=yes
5878 fi 6016 fi
5879 else 6017 else
5880 pkg_failed=untried 6018 pkg_failed=untried
5881 fi 6019 fi
5882 if test -n "$kj_LIBS"; then 6020 if test -n "$portaudio_LIBS"; then
5883 pkg_cv_kj_LIBS="$kj_LIBS" 6021 pkg_cv_portaudio_LIBS="$portaudio_LIBS"
5884 elif test -n "$PKG_CONFIG"; then 6022 elif test -n "$PKG_CONFIG"; then
5885 if test -n "$PKG_CONFIG" && \ 6023 if test -n "$PKG_CONFIG" && \
5886 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6024 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5887 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6025 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5888 ac_status=$? 6026 ac_status=$?
5889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5890 test $ac_status = 0; }; then 6028 test $ac_status = 0; }; then
5891 pkg_cv_kj_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6029 pkg_cv_portaudio_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5892 test "x$?" != "x0" && pkg_failed=yes 6030 test "x$?" != "x0" && pkg_failed=yes
5893 else 6031 else
5894 pkg_failed=yes 6032 pkg_failed=yes
5895 fi 6033 fi
5896 else 6034 else
5907 _pkg_short_errors_supported=yes 6045 _pkg_short_errors_supported=yes
5908 else 6046 else
5909 _pkg_short_errors_supported=no 6047 _pkg_short_errors_supported=no
5910 fi 6048 fi
5911 if test $_pkg_short_errors_supported = yes; then 6049 if test $_pkg_short_errors_supported = yes; then
5912 kj_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6050 portaudio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5913 else 6051 else
5914 kj_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6052 portaudio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5915 fi 6053 fi
5916 # Put the nasty error message in config.log where it belongs 6054 # Put the nasty error message in config.log where it belongs
5917 echo "$kj_PKG_ERRORS" >&5 6055 echo "$portaudio_PKG_ERRORS" >&5
5918 6056
5919 { $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 6057 { $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
5920 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6058 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5921 elif test $pkg_failed = untried; then 6059 elif test $pkg_failed = untried; then
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; } 6061 $as_echo "no" >&6; }
5924 { $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 6062 { $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
5925 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6063 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5926 else 6064 else
5927 kj_CFLAGS=$pkg_cv_kj_CFLAGS 6065 portaudio_CFLAGS=$pkg_cv_portaudio_CFLAGS
5928 kj_LIBS=$pkg_cv_kj_LIBS 6066 portaudio_LIBS=$pkg_cv_portaudio_LIBS
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5930 $as_echo "yes" >&6; } 6068 $as_echo "yes" >&6; }
5931 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $kj_CFLAGS";LIBS="$LIBS $kj_LIBS";SV_MODULE_FAILED="" 6069 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_CFLAGS";LIBS="$LIBS $portaudio_LIBS";SV_MODULE_FAILED=""
5932 fi 6070 fi
5933 fi 6071 fi
5934 if test -n "$SV_MODULE_FAILED"; then 6072 if test -n "$SV_MODULE_FAILED"; then
5935 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6073 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5936 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6074 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5937 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5938 HAVES="$HAVES $SV_MODULE_HAVE" 6076 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
5939 else 6077 else
5940 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 6078 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
5941 fi 6079 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
5942 6080 fi
5943 6081
5944 if test -n "$SV_MODULE_LIB"; then 6082
5945 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 6083 if test -z "$SV_MODULE_FAILED"; then
6084 if test -n "$SV_MODULE_LIB"; then
6085 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5947 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6087 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5948 if eval \${$as_ac_Lib+:} false; then : 6088 if eval \${$as_ac_Lib+:} false; then :
5949 $as_echo_n "(cached) " >&6 6089 $as_echo_n "(cached) " >&6
5950 else 6090 else
5981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5982 $as_echo "$ac_res" >&6; } 6122 $as_echo "$ac_res" >&6; }
5983 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 6123 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5984 LIBS="$LIBS -l$SV_MODULE_LIB" 6124 LIBS="$LIBS -l$SV_MODULE_LIB"
5985 else 6125 else
5986 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 6126 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
5987 fi 6127 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
5988 6128 fi
6129
6130 fi
5989 fi 6131 fi
5990 fi 6132 fi
5991 6133
5992 6134
5993 6135 SV_MODULE_MODULE=JACK
5994 SV_MODULE_MODULE=liblo 6136 SV_MODULE_VERSION_TEST="jack >= 0.100"
5995 SV_MODULE_VERSION_TEST="" 6137 SV_MODULE_HEADER=jack/jack.h
5996 SV_MODULE_HEADER=lo/lo.h 6138 SV_MODULE_LIB=jack
5997 SV_MODULE_LIB=lo 6139 SV_MODULE_FUNC=jack_client_open
5998 SV_MODULE_FUNC=lo_address_new 6140 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z')
5999 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z')
6000 SV_MODULE_FAILED=1 6141 SV_MODULE_FAILED=1
6001 if test -n "$liblo_LIBS" ; then 6142 if test -n "$JACK_LIBS" ; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6143 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6003 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6144 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6004 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" 6145 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS"
6005 LIBS="$LIBS $liblo_LIBS" 6146 LIBS="$LIBS $JACK_LIBS"
6006 SV_MODULE_FAILED="" 6147 SV_MODULE_FAILED=""
6007 fi 6148 fi
6008 if test -z "$SV_MODULE_VERSION_TEST" ; then 6149 if test -z "$SV_MODULE_VERSION_TEST" ; then
6009 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6150 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6010 fi 6151 fi
6011 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6152 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6012 6153
6013 pkg_failed=no 6154 pkg_failed=no
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
6015 $as_echo_n "checking for liblo... " >&6; } 6156 $as_echo_n "checking for JACK... " >&6; }
6016 6157
6017 if test -n "$liblo_CFLAGS"; then 6158 if test -n "$JACK_CFLAGS"; then
6018 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" 6159 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
6019 elif test -n "$PKG_CONFIG"; then 6160 elif test -n "$PKG_CONFIG"; then
6020 if test -n "$PKG_CONFIG" && \ 6161 if test -n "$PKG_CONFIG" && \
6021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6022 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6163 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6023 ac_status=$? 6164 ac_status=$?
6024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6025 test $ac_status = 0; }; then 6166 test $ac_status = 0; }; then
6026 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6167 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6027 test "x$?" != "x0" && pkg_failed=yes 6168 test "x$?" != "x0" && pkg_failed=yes
6028 else 6169 else
6029 pkg_failed=yes 6170 pkg_failed=yes
6030 fi 6171 fi
6031 else 6172 else
6032 pkg_failed=untried 6173 pkg_failed=untried
6033 fi 6174 fi
6034 if test -n "$liblo_LIBS"; then 6175 if test -n "$JACK_LIBS"; then
6035 pkg_cv_liblo_LIBS="$liblo_LIBS" 6176 pkg_cv_JACK_LIBS="$JACK_LIBS"
6036 elif test -n "$PKG_CONFIG"; then 6177 elif test -n "$PKG_CONFIG"; then
6037 if test -n "$PKG_CONFIG" && \ 6178 if test -n "$PKG_CONFIG" && \
6038 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6039 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6180 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6040 ac_status=$? 6181 ac_status=$?
6041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6042 test $ac_status = 0; }; then 6183 test $ac_status = 0; }; then
6043 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6184 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6044 test "x$?" != "x0" && pkg_failed=yes 6185 test "x$?" != "x0" && pkg_failed=yes
6045 else 6186 else
6046 pkg_failed=yes 6187 pkg_failed=yes
6047 fi 6188 fi
6048 else 6189 else
6059 _pkg_short_errors_supported=yes 6200 _pkg_short_errors_supported=yes
6060 else 6201 else
6061 _pkg_short_errors_supported=no 6202 _pkg_short_errors_supported=no
6062 fi 6203 fi
6063 if test $_pkg_short_errors_supported = yes; then 6204 if test $_pkg_short_errors_supported = yes; then
6064 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6205 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6065 else 6206 else
6066 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6207 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6067 fi 6208 fi
6068 # Put the nasty error message in config.log where it belongs 6209 # Put the nasty error message in config.log where it belongs
6069 echo "$liblo_PKG_ERRORS" >&5 6210 echo "$JACK_PKG_ERRORS" >&5
6070 6211
6071 { $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 6212 { $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
6072 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6213 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6073 elif test $pkg_failed = untried; then 6214 elif test $pkg_failed = untried; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075 $as_echo "no" >&6; } 6216 $as_echo "no" >&6; }
6076 { $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 6217 { $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
6077 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6218 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6078 else 6219 else
6079 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS 6220 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
6080 liblo_LIBS=$pkg_cv_liblo_LIBS 6221 JACK_LIBS=$pkg_cv_JACK_LIBS
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6082 $as_echo "yes" >&6; } 6223 $as_echo "yes" >&6; }
6083 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" 6224 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED=""
6084 fi 6225 fi
6085 fi 6226 fi
6086 if test -n "$SV_MODULE_FAILED"; then 6227 if test -n "$SV_MODULE_FAILED"; then
6087 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6228 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6088 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6229 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6144 fi 6285 fi
6145 fi 6286 fi
6146 fi 6287 fi
6147 6288
6148 6289
6149 SV_MODULE_MODULE=portaudio 6290 SV_MODULE_MODULE=libpulse
6150 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" 6291 SV_MODULE_VERSION_TEST="libpulse >= 0.9"
6151 SV_MODULE_HEADER=portaudio.h 6292 SV_MODULE_HEADER=pulse/pulseaudio.h
6152 SV_MODULE_LIB=portaudio 6293 SV_MODULE_LIB=pulse
6153 SV_MODULE_FUNC=Pa_IsFormatSupported 6294 SV_MODULE_FUNC=pa_stream_new
6154 SV_MODULE_HAVE=HAVE_$(echo portaudio | tr 'a-z' 'A-Z') 6295 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z')
6155 SV_MODULE_FAILED=1 6296 SV_MODULE_FAILED=1
6156 if test -n "$portaudio_LIBS" ; then 6297 if test -n "$libpulse_LIBS" ; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6298 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6158 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6299 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6159 CXXFLAGS="$CXXFLAGS $portaudio_CFLAGS" 6300 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS"
6160 LIBS="$LIBS $portaudio_LIBS" 6301 LIBS="$LIBS $libpulse_LIBS"
6161 SV_MODULE_FAILED="" 6302 SV_MODULE_FAILED=""
6162 fi 6303 fi
6163 if test -z "$SV_MODULE_VERSION_TEST" ; then 6304 if test -z "$SV_MODULE_VERSION_TEST" ; then
6164 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6305 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6165 fi 6306 fi
6166 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6307 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6167 6308
6168 pkg_failed=no 6309 pkg_failed=no
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio" >&5 6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5
6170 $as_echo_n "checking for portaudio... " >&6; } 6311 $as_echo_n "checking for libpulse... " >&6; }
6171 6312
6172 if test -n "$portaudio_CFLAGS"; then 6313 if test -n "$libpulse_CFLAGS"; then
6173 pkg_cv_portaudio_CFLAGS="$portaudio_CFLAGS" 6314 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS"
6174 elif test -n "$PKG_CONFIG"; then 6315 elif test -n "$PKG_CONFIG"; then
6175 if test -n "$PKG_CONFIG" && \ 6316 if test -n "$PKG_CONFIG" && \
6176 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6177 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6318 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6178 ac_status=$? 6319 ac_status=$?
6179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6180 test $ac_status = 0; }; then 6321 test $ac_status = 0; }; then
6181 pkg_cv_portaudio_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6322 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6182 test "x$?" != "x0" && pkg_failed=yes 6323 test "x$?" != "x0" && pkg_failed=yes
6183 else 6324 else
6184 pkg_failed=yes 6325 pkg_failed=yes
6185 fi 6326 fi
6186 else 6327 else
6187 pkg_failed=untried 6328 pkg_failed=untried
6188 fi 6329 fi
6189 if test -n "$portaudio_LIBS"; then 6330 if test -n "$libpulse_LIBS"; then
6190 pkg_cv_portaudio_LIBS="$portaudio_LIBS" 6331 pkg_cv_libpulse_LIBS="$libpulse_LIBS"
6191 elif test -n "$PKG_CONFIG"; then 6332 elif test -n "$PKG_CONFIG"; then
6192 if test -n "$PKG_CONFIG" && \ 6333 if test -n "$PKG_CONFIG" && \
6193 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6194 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6335 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6195 ac_status=$? 6336 ac_status=$?
6196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6197 test $ac_status = 0; }; then 6338 test $ac_status = 0; }; then
6198 pkg_cv_portaudio_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6339 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6199 test "x$?" != "x0" && pkg_failed=yes 6340 test "x$?" != "x0" && pkg_failed=yes
6200 else 6341 else
6201 pkg_failed=yes 6342 pkg_failed=yes
6202 fi 6343 fi
6203 else 6344 else
6214 _pkg_short_errors_supported=yes 6355 _pkg_short_errors_supported=yes
6215 else 6356 else
6216 _pkg_short_errors_supported=no 6357 _pkg_short_errors_supported=no
6217 fi 6358 fi
6218 if test $_pkg_short_errors_supported = yes; then 6359 if test $_pkg_short_errors_supported = yes; then
6219 portaudio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6360 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6220 else 6361 else
6221 portaudio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6362 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6222 fi 6363 fi
6223 # Put the nasty error message in config.log where it belongs 6364 # Put the nasty error message in config.log where it belongs
6224 echo "$portaudio_PKG_ERRORS" >&5 6365 echo "$libpulse_PKG_ERRORS" >&5
6225 6366
6226 { $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 6367 { $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
6227 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6368 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6228 elif test $pkg_failed = untried; then 6369 elif test $pkg_failed = untried; then
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6230 $as_echo "no" >&6; } 6371 $as_echo "no" >&6; }
6231 { $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 6372 { $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
6232 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6373 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6233 else 6374 else
6234 portaudio_CFLAGS=$pkg_cv_portaudio_CFLAGS 6375 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS
6235 portaudio_LIBS=$pkg_cv_portaudio_LIBS 6376 libpulse_LIBS=$pkg_cv_libpulse_LIBS
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6237 $as_echo "yes" >&6; } 6378 $as_echo "yes" >&6; }
6238 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_CFLAGS";LIBS="$LIBS $portaudio_LIBS";SV_MODULE_FAILED="" 6379 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED=""
6239 fi 6380 fi
6240 fi 6381 fi
6241 if test -n "$SV_MODULE_FAILED"; then 6382 if test -n "$SV_MODULE_FAILED"; then
6242 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6383 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6243 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6384 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6299 fi 6440 fi
6300 fi 6441 fi
6301 fi 6442 fi
6302 6443
6303 6444
6304 SV_MODULE_MODULE=JACK 6445 SV_MODULE_MODULE=lrdf
6305 SV_MODULE_VERSION_TEST="jack >= 0.100" 6446 SV_MODULE_VERSION_TEST="lrdf >= 0.2"
6306 SV_MODULE_HEADER=jack/jack.h 6447 SV_MODULE_HEADER=lrdf.h
6307 SV_MODULE_LIB=jack 6448 SV_MODULE_LIB=lrdf
6308 SV_MODULE_FUNC=jack_client_open 6449 SV_MODULE_FUNC=lrdf_init
6309 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') 6450 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z')
6310 SV_MODULE_FAILED=1 6451 SV_MODULE_FAILED=1
6311 if test -n "$JACK_LIBS" ; then 6452 if test -n "$lrdf_LIBS" ; then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6453 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6313 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6454 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6314 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" 6455 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS"
6315 LIBS="$LIBS $JACK_LIBS" 6456 LIBS="$LIBS $lrdf_LIBS"
6316 SV_MODULE_FAILED="" 6457 SV_MODULE_FAILED=""
6317 fi 6458 fi
6318 if test -z "$SV_MODULE_VERSION_TEST" ; then 6459 if test -z "$SV_MODULE_VERSION_TEST" ; then
6319 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6460 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6320 fi 6461 fi
6321 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6462 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6322 6463
6323 pkg_failed=no 6464 pkg_failed=no
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5
6325 $as_echo_n "checking for JACK... " >&6; } 6466 $as_echo_n "checking for lrdf... " >&6; }
6326 6467
6327 if test -n "$JACK_CFLAGS"; then 6468 if test -n "$lrdf_CFLAGS"; then
6328 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" 6469 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS"
6329 elif test -n "$PKG_CONFIG"; then 6470 elif test -n "$PKG_CONFIG"; then
6330 if test -n "$PKG_CONFIG" && \ 6471 if test -n "$PKG_CONFIG" && \
6331 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6332 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6473 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6333 ac_status=$? 6474 ac_status=$?
6334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6335 test $ac_status = 0; }; then 6476 test $ac_status = 0; }; then
6336 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6477 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6337 test "x$?" != "x0" && pkg_failed=yes 6478 test "x$?" != "x0" && pkg_failed=yes
6338 else 6479 else
6339 pkg_failed=yes 6480 pkg_failed=yes
6340 fi 6481 fi
6341 else 6482 else
6342 pkg_failed=untried 6483 pkg_failed=untried
6343 fi 6484 fi
6344 if test -n "$JACK_LIBS"; then 6485 if test -n "$lrdf_LIBS"; then
6345 pkg_cv_JACK_LIBS="$JACK_LIBS" 6486 pkg_cv_lrdf_LIBS="$lrdf_LIBS"
6346 elif test -n "$PKG_CONFIG"; then 6487 elif test -n "$PKG_CONFIG"; then
6347 if test -n "$PKG_CONFIG" && \ 6488 if test -n "$PKG_CONFIG" && \
6348 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6489 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6349 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6490 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6350 ac_status=$? 6491 ac_status=$?
6351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6352 test $ac_status = 0; }; then 6493 test $ac_status = 0; }; then
6353 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6494 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6354 test "x$?" != "x0" && pkg_failed=yes 6495 test "x$?" != "x0" && pkg_failed=yes
6355 else 6496 else
6356 pkg_failed=yes 6497 pkg_failed=yes
6357 fi 6498 fi
6358 else 6499 else
6369 _pkg_short_errors_supported=yes 6510 _pkg_short_errors_supported=yes
6370 else 6511 else
6371 _pkg_short_errors_supported=no 6512 _pkg_short_errors_supported=no
6372 fi 6513 fi
6373 if test $_pkg_short_errors_supported = yes; then 6514 if test $_pkg_short_errors_supported = yes; then
6374 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6515 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6375 else 6516 else
6376 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6517 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6377 fi 6518 fi
6378 # Put the nasty error message in config.log where it belongs 6519 # Put the nasty error message in config.log where it belongs
6379 echo "$JACK_PKG_ERRORS" >&5 6520 echo "$lrdf_PKG_ERRORS" >&5
6380 6521
6381 { $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 6522 { $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
6382 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6523 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6383 elif test $pkg_failed = untried; then 6524 elif test $pkg_failed = untried; then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; } 6526 $as_echo "no" >&6; }
6386 { $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 6527 { $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
6387 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6528 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6388 else 6529 else
6389 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS 6530 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS
6390 JACK_LIBS=$pkg_cv_JACK_LIBS 6531 lrdf_LIBS=$pkg_cv_lrdf_LIBS
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6392 $as_echo "yes" >&6; } 6533 $as_echo "yes" >&6; }
6393 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" 6534 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED=""
6394 fi 6535 fi
6395 fi 6536 fi
6396 if test -n "$SV_MODULE_FAILED"; then 6537 if test -n "$SV_MODULE_FAILED"; then
6397 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6538 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6398 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6539 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6454 fi 6595 fi
6455 fi 6596 fi
6456 fi 6597 fi
6457 6598
6458 6599
6459 SV_MODULE_MODULE=libpulse 6600 SV_MODULE_MODULE=oggz
6460 SV_MODULE_VERSION_TEST="libpulse >= 0.9" 6601 SV_MODULE_VERSION_TEST="oggz >= 1.0.0"
6461 SV_MODULE_HEADER=pulse/pulseaudio.h 6602 SV_MODULE_HEADER=oggz/oggz.h
6462 SV_MODULE_LIB=pulse 6603 SV_MODULE_LIB=oggz
6463 SV_MODULE_FUNC=pa_stream_new 6604 SV_MODULE_FUNC=oggz_run
6464 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') 6605 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z')
6465 SV_MODULE_FAILED=1 6606 SV_MODULE_FAILED=1
6466 if test -n "$libpulse_LIBS" ; then 6607 if test -n "$oggz_LIBS" ; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6608 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6468 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6609 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6469 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" 6610 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS"
6470 LIBS="$LIBS $libpulse_LIBS" 6611 LIBS="$LIBS $oggz_LIBS"
6471 SV_MODULE_FAILED="" 6612 SV_MODULE_FAILED=""
6472 fi 6613 fi
6473 if test -z "$SV_MODULE_VERSION_TEST" ; then 6614 if test -z "$SV_MODULE_VERSION_TEST" ; then
6474 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6615 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6475 fi 6616 fi
6476 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6617 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6477 6618
6478 pkg_failed=no 6619 pkg_failed=no
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5
6480 $as_echo_n "checking for libpulse... " >&6; } 6621 $as_echo_n "checking for oggz... " >&6; }
6481 6622
6482 if test -n "$libpulse_CFLAGS"; then 6623 if test -n "$oggz_CFLAGS"; then
6483 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" 6624 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS"
6484 elif test -n "$PKG_CONFIG"; then 6625 elif test -n "$PKG_CONFIG"; then
6485 if test -n "$PKG_CONFIG" && \ 6626 if test -n "$PKG_CONFIG" && \
6486 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6487 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6628 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6488 ac_status=$? 6629 ac_status=$?
6489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6490 test $ac_status = 0; }; then 6631 test $ac_status = 0; }; then
6491 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6632 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6492 test "x$?" != "x0" && pkg_failed=yes 6633 test "x$?" != "x0" && pkg_failed=yes
6493 else 6634 else
6494 pkg_failed=yes 6635 pkg_failed=yes
6495 fi 6636 fi
6496 else 6637 else
6497 pkg_failed=untried 6638 pkg_failed=untried
6498 fi 6639 fi
6499 if test -n "$libpulse_LIBS"; then 6640 if test -n "$oggz_LIBS"; then
6500 pkg_cv_libpulse_LIBS="$libpulse_LIBS" 6641 pkg_cv_oggz_LIBS="$oggz_LIBS"
6501 elif test -n "$PKG_CONFIG"; then 6642 elif test -n "$PKG_CONFIG"; then
6502 if test -n "$PKG_CONFIG" && \ 6643 if test -n "$PKG_CONFIG" && \
6503 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6504 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6645 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6505 ac_status=$? 6646 ac_status=$?
6506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6507 test $ac_status = 0; }; then 6648 test $ac_status = 0; }; then
6508 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6649 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6509 test "x$?" != "x0" && pkg_failed=yes 6650 test "x$?" != "x0" && pkg_failed=yes
6510 else 6651 else
6511 pkg_failed=yes 6652 pkg_failed=yes
6512 fi 6653 fi
6513 else 6654 else
6524 _pkg_short_errors_supported=yes 6665 _pkg_short_errors_supported=yes
6525 else 6666 else
6526 _pkg_short_errors_supported=no 6667 _pkg_short_errors_supported=no
6527 fi 6668 fi
6528 if test $_pkg_short_errors_supported = yes; then 6669 if test $_pkg_short_errors_supported = yes; then
6529 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6670 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6530 else 6671 else
6531 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6672 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6532 fi 6673 fi
6533 # Put the nasty error message in config.log where it belongs 6674 # Put the nasty error message in config.log where it belongs
6534 echo "$libpulse_PKG_ERRORS" >&5 6675 echo "$oggz_PKG_ERRORS" >&5
6535 6676
6536 { $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 6677 { $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
6537 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6678 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6538 elif test $pkg_failed = untried; then 6679 elif test $pkg_failed = untried; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; } 6681 $as_echo "no" >&6; }
6541 { $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 6682 { $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
6542 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6683 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6543 else 6684 else
6544 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS 6685 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS
6545 libpulse_LIBS=$pkg_cv_libpulse_LIBS 6686 oggz_LIBS=$pkg_cv_oggz_LIBS
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6547 $as_echo "yes" >&6; } 6688 $as_echo "yes" >&6; }
6548 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" 6689 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED=""
6549 fi 6690 fi
6550 fi 6691 fi
6551 if test -n "$SV_MODULE_FAILED"; then 6692 if test -n "$SV_MODULE_FAILED"; then
6552 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6693 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6553 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6694 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6609 fi 6750 fi
6610 fi 6751 fi
6611 fi 6752 fi
6612 6753
6613 6754
6614 SV_MODULE_MODULE=lrdf 6755 SV_MODULE_MODULE=fishsound
6615 SV_MODULE_VERSION_TEST="lrdf >= 0.2" 6756 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0"
6616 SV_MODULE_HEADER=lrdf.h 6757 SV_MODULE_HEADER=fishsound/fishsound.h
6617 SV_MODULE_LIB=lrdf 6758 SV_MODULE_LIB=fishsound
6618 SV_MODULE_FUNC=lrdf_init 6759 SV_MODULE_FUNC=fish_sound_new
6619 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') 6760 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z')
6620 SV_MODULE_FAILED=1 6761 SV_MODULE_FAILED=1
6621 if test -n "$lrdf_LIBS" ; then 6762 if test -n "$fishsound_LIBS" ; then
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6763 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6623 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6764 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6624 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" 6765 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS"
6625 LIBS="$LIBS $lrdf_LIBS" 6766 LIBS="$LIBS $fishsound_LIBS"
6626 SV_MODULE_FAILED="" 6767 SV_MODULE_FAILED=""
6627 fi 6768 fi
6628 if test -z "$SV_MODULE_VERSION_TEST" ; then 6769 if test -z "$SV_MODULE_VERSION_TEST" ; then
6629 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6770 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6630 fi 6771 fi
6631 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6772 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6632 6773
6633 pkg_failed=no 6774 pkg_failed=no
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5
6635 $as_echo_n "checking for lrdf... " >&6; } 6776 $as_echo_n "checking for fishsound... " >&6; }
6636 6777
6637 if test -n "$lrdf_CFLAGS"; then 6778 if test -n "$fishsound_CFLAGS"; then
6638 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" 6779 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS"
6639 elif test -n "$PKG_CONFIG"; then 6780 elif test -n "$PKG_CONFIG"; then
6640 if test -n "$PKG_CONFIG" && \ 6781 if test -n "$PKG_CONFIG" && \
6641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6642 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6783 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6643 ac_status=$? 6784 ac_status=$?
6644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6645 test $ac_status = 0; }; then 6786 test $ac_status = 0; }; then
6646 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6787 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6647 test "x$?" != "x0" && pkg_failed=yes 6788 test "x$?" != "x0" && pkg_failed=yes
6648 else 6789 else
6649 pkg_failed=yes 6790 pkg_failed=yes
6650 fi 6791 fi
6651 else 6792 else
6652 pkg_failed=untried 6793 pkg_failed=untried
6653 fi 6794 fi
6654 if test -n "$lrdf_LIBS"; then 6795 if test -n "$fishsound_LIBS"; then
6655 pkg_cv_lrdf_LIBS="$lrdf_LIBS" 6796 pkg_cv_fishsound_LIBS="$fishsound_LIBS"
6656 elif test -n "$PKG_CONFIG"; then 6797 elif test -n "$PKG_CONFIG"; then
6657 if test -n "$PKG_CONFIG" && \ 6798 if test -n "$PKG_CONFIG" && \
6658 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6799 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6659 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6800 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6660 ac_status=$? 6801 ac_status=$?
6661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6662 test $ac_status = 0; }; then 6803 test $ac_status = 0; }; then
6663 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6804 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6664 test "x$?" != "x0" && pkg_failed=yes 6805 test "x$?" != "x0" && pkg_failed=yes
6665 else 6806 else
6666 pkg_failed=yes 6807 pkg_failed=yes
6667 fi 6808 fi
6668 else 6809 else
6679 _pkg_short_errors_supported=yes 6820 _pkg_short_errors_supported=yes
6680 else 6821 else
6681 _pkg_short_errors_supported=no 6822 _pkg_short_errors_supported=no
6682 fi 6823 fi
6683 if test $_pkg_short_errors_supported = yes; then 6824 if test $_pkg_short_errors_supported = yes; then
6684 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6825 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6685 else 6826 else
6686 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6827 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6687 fi 6828 fi
6688 # Put the nasty error message in config.log where it belongs 6829 # Put the nasty error message in config.log where it belongs
6689 echo "$lrdf_PKG_ERRORS" >&5 6830 echo "$fishsound_PKG_ERRORS" >&5
6690 6831
6691 { $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 6832 { $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
6692 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6833 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6693 elif test $pkg_failed = untried; then 6834 elif test $pkg_failed = untried; then
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; } 6836 $as_echo "no" >&6; }
6696 { $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 6837 { $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
6697 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6838 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6698 else 6839 else
6699 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS 6840 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS
6700 lrdf_LIBS=$pkg_cv_lrdf_LIBS 6841 fishsound_LIBS=$pkg_cv_fishsound_LIBS
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6702 $as_echo "yes" >&6; } 6843 $as_echo "yes" >&6; }
6703 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" 6844 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED=""
6704 fi 6845 fi
6705 fi 6846 fi
6706 if test -n "$SV_MODULE_FAILED"; then 6847 if test -n "$SV_MODULE_FAILED"; then
6707 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6848 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6708 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6849 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6764 fi 6905 fi
6765 fi 6906 fi
6766 fi 6907 fi
6767 6908
6768 6909
6769 SV_MODULE_MODULE=oggz 6910 SV_MODULE_MODULE=mad
6770 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" 6911 SV_MODULE_VERSION_TEST="mad >= 0.15.0"
6771 SV_MODULE_HEADER=oggz/oggz.h 6912 SV_MODULE_HEADER=mad.h
6772 SV_MODULE_LIB=oggz 6913 SV_MODULE_LIB=mad
6773 SV_MODULE_FUNC=oggz_run 6914 SV_MODULE_FUNC=mad_decoder_init
6774 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') 6915 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z')
6775 SV_MODULE_FAILED=1 6916 SV_MODULE_FAILED=1
6776 if test -n "$oggz_LIBS" ; then 6917 if test -n "$mad_LIBS" ; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6918 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6778 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6919 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6779 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" 6920 CXXFLAGS="$CXXFLAGS $mad_CFLAGS"
6780 LIBS="$LIBS $oggz_LIBS" 6921 LIBS="$LIBS $mad_LIBS"
6781 SV_MODULE_FAILED="" 6922 SV_MODULE_FAILED=""
6782 fi 6923 fi
6783 if test -z "$SV_MODULE_VERSION_TEST" ; then 6924 if test -z "$SV_MODULE_VERSION_TEST" ; then
6784 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6925 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6785 fi 6926 fi
6786 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6927 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6787 6928
6788 pkg_failed=no 6929 pkg_failed=no
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5
6790 $as_echo_n "checking for oggz... " >&6; } 6931 $as_echo_n "checking for mad... " >&6; }
6791 6932
6792 if test -n "$oggz_CFLAGS"; then 6933 if test -n "$mad_CFLAGS"; then
6793 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" 6934 pkg_cv_mad_CFLAGS="$mad_CFLAGS"
6794 elif test -n "$PKG_CONFIG"; then 6935 elif test -n "$PKG_CONFIG"; then
6795 if test -n "$PKG_CONFIG" && \ 6936 if test -n "$PKG_CONFIG" && \
6796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6937 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6797 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6938 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6798 ac_status=$? 6939 ac_status=$?
6799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6800 test $ac_status = 0; }; then 6941 test $ac_status = 0; }; then
6801 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6942 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6802 test "x$?" != "x0" && pkg_failed=yes 6943 test "x$?" != "x0" && pkg_failed=yes
6803 else 6944 else
6804 pkg_failed=yes 6945 pkg_failed=yes
6805 fi 6946 fi
6806 else 6947 else
6807 pkg_failed=untried 6948 pkg_failed=untried
6808 fi 6949 fi
6809 if test -n "$oggz_LIBS"; then 6950 if test -n "$mad_LIBS"; then
6810 pkg_cv_oggz_LIBS="$oggz_LIBS" 6951 pkg_cv_mad_LIBS="$mad_LIBS"
6811 elif test -n "$PKG_CONFIG"; then 6952 elif test -n "$PKG_CONFIG"; then
6812 if test -n "$PKG_CONFIG" && \ 6953 if test -n "$PKG_CONFIG" && \
6813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6954 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6814 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6955 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6815 ac_status=$? 6956 ac_status=$?
6816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6817 test $ac_status = 0; }; then 6958 test $ac_status = 0; }; then
6818 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6959 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6819 test "x$?" != "x0" && pkg_failed=yes 6960 test "x$?" != "x0" && pkg_failed=yes
6820 else 6961 else
6821 pkg_failed=yes 6962 pkg_failed=yes
6822 fi 6963 fi
6823 else 6964 else
6834 _pkg_short_errors_supported=yes 6975 _pkg_short_errors_supported=yes
6835 else 6976 else
6836 _pkg_short_errors_supported=no 6977 _pkg_short_errors_supported=no
6837 fi 6978 fi
6838 if test $_pkg_short_errors_supported = yes; then 6979 if test $_pkg_short_errors_supported = yes; then
6839 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6980 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6840 else 6981 else
6841 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6982 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6842 fi 6983 fi
6843 # Put the nasty error message in config.log where it belongs 6984 # Put the nasty error message in config.log where it belongs
6844 echo "$oggz_PKG_ERRORS" >&5 6985 echo "$mad_PKG_ERRORS" >&5
6845 6986
6846 { $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 6987 { $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
6847 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6988 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6848 elif test $pkg_failed = untried; then 6989 elif test $pkg_failed = untried; then
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6850 $as_echo "no" >&6; } 6991 $as_echo "no" >&6; }
6851 { $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 6992 { $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
6852 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6993 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6853 else 6994 else
6854 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS 6995 mad_CFLAGS=$pkg_cv_mad_CFLAGS
6855 oggz_LIBS=$pkg_cv_oggz_LIBS 6996 mad_LIBS=$pkg_cv_mad_LIBS
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6857 $as_echo "yes" >&6; } 6998 $as_echo "yes" >&6; }
6858 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" 6999 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED=""
6859 fi 7000 fi
6860 fi 7001 fi
6861 if test -n "$SV_MODULE_FAILED"; then 7002 if test -n "$SV_MODULE_FAILED"; then
6862 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 7003 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6863 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 7004 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6919 fi 7060 fi
6920 fi 7061 fi
6921 fi 7062 fi
6922 7063
6923 7064
6924 SV_MODULE_MODULE=fishsound 7065 SV_MODULE_MODULE=id3tag
6925 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" 7066 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0"
6926 SV_MODULE_HEADER=fishsound/fishsound.h 7067 SV_MODULE_HEADER=id3tag.h
6927 SV_MODULE_LIB=fishsound 7068 SV_MODULE_LIB=id3tag
6928 SV_MODULE_FUNC=fish_sound_new 7069 SV_MODULE_FUNC=id3_tag_new
6929 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') 7070 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z')
6930 SV_MODULE_FAILED=1 7071 SV_MODULE_FAILED=1
6931 if test -n "$fishsound_LIBS" ; then 7072 if test -n "$id3tag_LIBS" ; then
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 7073 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6933 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 7074 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6934 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" 7075 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS"
6935 LIBS="$LIBS $fishsound_LIBS" 7076 LIBS="$LIBS $id3tag_LIBS"
6936 SV_MODULE_FAILED="" 7077 SV_MODULE_FAILED=""
6937 fi 7078 fi
6938 if test -z "$SV_MODULE_VERSION_TEST" ; then 7079 if test -z "$SV_MODULE_VERSION_TEST" ; then
6939 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 7080 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6940 fi 7081 fi
6941 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 7082 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6942 7083
6943 pkg_failed=no 7084 pkg_failed=no
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5
6945 $as_echo_n "checking for fishsound... " >&6; } 7086 $as_echo_n "checking for id3tag... " >&6; }
6946 7087
6947 if test -n "$fishsound_CFLAGS"; then 7088 if test -n "$id3tag_CFLAGS"; then
6948 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" 7089 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS"
6949 elif test -n "$PKG_CONFIG"; then 7090 elif test -n "$PKG_CONFIG"; then
6950 if test -n "$PKG_CONFIG" && \ 7091 if test -n "$PKG_CONFIG" && \
6951 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 7092 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6952 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 7093 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6953 ac_status=$? 7094 ac_status=$?
6954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6955 test $ac_status = 0; }; then 7096 test $ac_status = 0; }; then
6956 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 7097 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6957 test "x$?" != "x0" && pkg_failed=yes 7098 test "x$?" != "x0" && pkg_failed=yes
6958 else 7099 else
6959 pkg_failed=yes 7100 pkg_failed=yes
6960 fi 7101 fi
6961 else 7102 else
6962 pkg_failed=untried 7103 pkg_failed=untried
6963 fi 7104 fi
6964 if test -n "$fishsound_LIBS"; then 7105 if test -n "$id3tag_LIBS"; then
6965 pkg_cv_fishsound_LIBS="$fishsound_LIBS" 7106 pkg_cv_id3tag_LIBS="$id3tag_LIBS"
6966 elif test -n "$PKG_CONFIG"; then 7107 elif test -n "$PKG_CONFIG"; then
6967 if test -n "$PKG_CONFIG" && \ 7108 if test -n "$PKG_CONFIG" && \
6968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 7109 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6969 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 7110 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6970 ac_status=$? 7111 ac_status=$?
6971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6972 test $ac_status = 0; }; then 7113 test $ac_status = 0; }; then
6973 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 7114 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6974 test "x$?" != "x0" && pkg_failed=yes 7115 test "x$?" != "x0" && pkg_failed=yes
6975 else 7116 else
6976 pkg_failed=yes 7117 pkg_failed=yes
6977 fi 7118 fi
6978 else 7119 else
6989 _pkg_short_errors_supported=yes 7130 _pkg_short_errors_supported=yes
6990 else 7131 else
6991 _pkg_short_errors_supported=no 7132 _pkg_short_errors_supported=no
6992 fi 7133 fi
6993 if test $_pkg_short_errors_supported = yes; then 7134 if test $_pkg_short_errors_supported = yes; then
6994 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 7135 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6995 else 7136 else
6996 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 7137 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6997 fi 7138 fi
6998 # Put the nasty error message in config.log where it belongs 7139 # Put the nasty error message in config.log where it belongs
6999 echo "$fishsound_PKG_ERRORS" >&5 7140 echo "$id3tag_PKG_ERRORS" >&5
7000 7141
7001 { $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 7142 { $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
7002 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7143 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7003 elif test $pkg_failed = untried; then 7144 elif test $pkg_failed = untried; then
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7005 $as_echo "no" >&6; } 7146 $as_echo "no" >&6; }
7006 { $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 7147 { $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
7007 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7148 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7008 else 7149 else
7009 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS 7150 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS
7010 fishsound_LIBS=$pkg_cv_fishsound_LIBS 7151 id3tag_LIBS=$pkg_cv_id3tag_LIBS
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7012 $as_echo "yes" >&6; } 7153 $as_echo "yes" >&6; }
7013 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" 7154 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED=""
7014 fi 7155 fi
7015 fi 7156 fi
7016 if test -n "$SV_MODULE_FAILED"; then 7157 if test -n "$SV_MODULE_FAILED"; then
7017 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 7158 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
7018 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 7159 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
7074 fi 7215 fi
7075 fi 7216 fi
7076 fi 7217 fi
7077 7218
7078 7219
7079 SV_MODULE_MODULE=mad 7220 # Link in -lX11 if it exists -- this is for the X error handler
7080 SV_MODULE_VERSION_TEST="mad >= 0.15.0" 7221
7081 SV_MODULE_HEADER=mad.h 7222 SV_MODULE_MODULE=X11
7082 SV_MODULE_LIB=mad 7223 SV_MODULE_VERSION_TEST="x11 >= 1.0.0"
7083 SV_MODULE_FUNC=mad_decoder_init 7224 SV_MODULE_HEADER=X11/X.h
7084 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') 7225 SV_MODULE_LIB=x11
7226 SV_MODULE_FUNC=XGetErrorText
7227 SV_MODULE_HAVE=HAVE_$(echo X11 | tr 'a-z' 'A-Z')
7085 SV_MODULE_FAILED=1 7228 SV_MODULE_FAILED=1
7086 if test -n "$mad_LIBS" ; then 7229 if test -n "$X11_LIBS" ; then
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 7230 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
7088 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 7231 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
7089 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" 7232 CXXFLAGS="$CXXFLAGS $X11_CFLAGS"
7090 LIBS="$LIBS $mad_LIBS" 7233 LIBS="$LIBS $X11_LIBS"
7091 SV_MODULE_FAILED="" 7234 SV_MODULE_FAILED=""
7092 fi 7235 fi
7093 if test -z "$SV_MODULE_VERSION_TEST" ; then 7236 if test -z "$SV_MODULE_VERSION_TEST" ; then
7094 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 7237 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
7095 fi 7238 fi
7096 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 7239 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
7097 7240
7098 pkg_failed=no 7241 pkg_failed=no
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7100 $as_echo_n "checking for mad... " >&6; } 7243 $as_echo_n "checking for X11... " >&6; }
7101 7244
7102 if test -n "$mad_CFLAGS"; then 7245 if test -n "$X11_CFLAGS"; then
7103 pkg_cv_mad_CFLAGS="$mad_CFLAGS" 7246 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7104 elif test -n "$PKG_CONFIG"; then 7247 elif test -n "$PKG_CONFIG"; then
7105 if test -n "$PKG_CONFIG" && \ 7248 if test -n "$PKG_CONFIG" && \
7106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 7249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7107 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 7250 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7108 ac_status=$? 7251 ac_status=$?
7109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7110 test $ac_status = 0; }; then 7253 test $ac_status = 0; }; then
7111 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 7254 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7112 test "x$?" != "x0" && pkg_failed=yes 7255 test "x$?" != "x0" && pkg_failed=yes
7113 else 7256 else
7114 pkg_failed=yes 7257 pkg_failed=yes
7115 fi 7258 fi
7116 else 7259 else
7117 pkg_failed=untried 7260 pkg_failed=untried
7118 fi 7261 fi
7119 if test -n "$mad_LIBS"; then 7262 if test -n "$X11_LIBS"; then
7120 pkg_cv_mad_LIBS="$mad_LIBS" 7263 pkg_cv_X11_LIBS="$X11_LIBS"
7121 elif test -n "$PKG_CONFIG"; then 7264 elif test -n "$PKG_CONFIG"; then
7122 if test -n "$PKG_CONFIG" && \ 7265 if test -n "$PKG_CONFIG" && \
7123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 7266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7124 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 7267 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7125 ac_status=$? 7268 ac_status=$?
7126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127 test $ac_status = 0; }; then 7270 test $ac_status = 0; }; then
7128 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 7271 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7129 test "x$?" != "x0" && pkg_failed=yes 7272 test "x$?" != "x0" && pkg_failed=yes
7130 else 7273 else
7131 pkg_failed=yes 7274 pkg_failed=yes
7132 fi 7275 fi
7133 else 7276 else
7144 _pkg_short_errors_supported=yes 7287 _pkg_short_errors_supported=yes
7145 else 7288 else
7146 _pkg_short_errors_supported=no 7289 _pkg_short_errors_supported=no
7147 fi 7290 fi
7148 if test $_pkg_short_errors_supported = yes; then 7291 if test $_pkg_short_errors_supported = yes; then
7149 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 7292 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7150 else 7293 else
7151 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 7294 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7152 fi 7295 fi
7153 # Put the nasty error message in config.log where it belongs 7296 # Put the nasty error message in config.log where it belongs
7154 echo "$mad_PKG_ERRORS" >&5 7297 echo "$X11_PKG_ERRORS" >&5
7155 7298
7156 { $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 7299 { $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
7157 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7300 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7158 elif test $pkg_failed = untried; then 7301 elif test $pkg_failed = untried; then
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160 $as_echo "no" >&6; } 7303 $as_echo "no" >&6; }
7161 { $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 7304 { $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
7162 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7305 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7163 else 7306 else
7164 mad_CFLAGS=$pkg_cv_mad_CFLAGS 7307 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7165 mad_LIBS=$pkg_cv_mad_LIBS 7308 X11_LIBS=$pkg_cv_X11_LIBS
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7167 $as_echo "yes" >&6; } 7310 $as_echo "yes" >&6; }
7168 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" 7311 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $X11_CFLAGS";LIBS="$LIBS $X11_LIBS";SV_MODULE_FAILED=""
7169 fi 7312 fi
7170 fi 7313 fi
7171 if test -n "$SV_MODULE_FAILED"; then 7314 if test -n "$SV_MODULE_FAILED"; then
7172 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 7315 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
7173 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 7316 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
7229 fi 7372 fi
7230 fi 7373 fi
7231 fi 7374 fi
7232 7375
7233 7376
7234 SV_MODULE_MODULE=id3tag 7377
7235 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0"
7236 SV_MODULE_HEADER=id3tag.h
7237 SV_MODULE_LIB=id3tag
7238 SV_MODULE_FUNC=id3_tag_new
7239 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z')
7240 SV_MODULE_FAILED=1
7241 if test -n "$id3tag_LIBS" ; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
7243 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
7244 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS"
7245 LIBS="$LIBS $id3tag_LIBS"
7246 SV_MODULE_FAILED=""
7247 fi
7248 if test -z "$SV_MODULE_VERSION_TEST" ; then
7249 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
7250 fi
7251 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
7252
7253 pkg_failed=no
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5
7255 $as_echo_n "checking for id3tag... " >&6; }
7256
7257 if test -n "$id3tag_CFLAGS"; then
7258 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS"
7259 elif test -n "$PKG_CONFIG"; then
7260 if test -n "$PKG_CONFIG" && \
7261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7262 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7263 ac_status=$?
7264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7265 test $ac_status = 0; }; then
7266 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7267 test "x$?" != "x0" && pkg_failed=yes
7268 else
7269 pkg_failed=yes
7270 fi
7271 else
7272 pkg_failed=untried
7273 fi
7274 if test -n "$id3tag_LIBS"; then
7275 pkg_cv_id3tag_LIBS="$id3tag_LIBS"
7276 elif test -n "$PKG_CONFIG"; then
7277 if test -n "$PKG_CONFIG" && \
7278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7279 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7280 ac_status=$?
7281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7282 test $ac_status = 0; }; then
7283 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7284 test "x$?" != "x0" && pkg_failed=yes
7285 else
7286 pkg_failed=yes
7287 fi
7288 else
7289 pkg_failed=untried
7290 fi
7291
7292
7293
7294 if test $pkg_failed = yes; then
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7296 $as_echo "no" >&6; }
7297
7298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7299 _pkg_short_errors_supported=yes
7300 else
7301 _pkg_short_errors_supported=no
7302 fi
7303 if test $_pkg_short_errors_supported = yes; then
7304 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7305 else
7306 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7307 fi
7308 # Put the nasty error message in config.log where it belongs
7309 echo "$id3tag_PKG_ERRORS" >&5
7310
7311 { $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
7312 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7313 elif test $pkg_failed = untried; then
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7316 { $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
7317 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7318 else
7319 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS
7320 id3tag_LIBS=$pkg_cv_id3tag_LIBS
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7322 $as_echo "yes" >&6; }
7323 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED=""
7324 fi
7325 fi
7326 if test -n "$SV_MODULE_FAILED"; then
7327 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
7328 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
7329 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7330 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
7331 else
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
7333 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
7334 fi
7335
7336
7337 if test -z "$SV_MODULE_FAILED"; then
7338 if test -n "$SV_MODULE_LIB"; then
7339 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
7341 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
7342 if eval \${$as_ac_Lib+:} false; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 ac_check_lib_save_LIBS=$LIBS
7346 LIBS="-l$SV_MODULE_LIB $LIBS"
7347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h. */
7349
7350 /* Override any GCC internal prototype to avoid an error.
7351 Use char because int might match the return type of a GCC
7352 builtin and then its argument prototype would still apply. */
7353 #ifdef __cplusplus
7354 extern "C"
7355 #endif
7356 char $SV_MODULE_FUNC ();
7357 int
7358 main ()
7359 {
7360 return $SV_MODULE_FUNC ();
7361 ;
7362 return 0;
7363 }
7364 _ACEOF
7365 if ac_fn_cxx_try_link "$LINENO"; then :
7366 eval "$as_ac_Lib=yes"
7367 else
7368 eval "$as_ac_Lib=no"
7369 fi
7370 rm -f core conftest.err conftest.$ac_objext \
7371 conftest$ac_exeext conftest.$ac_ext
7372 LIBS=$ac_check_lib_save_LIBS
7373 fi
7374 eval ac_res=\$$as_ac_Lib
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7376 $as_echo "$ac_res" >&6; }
7377 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
7378 LIBS="$LIBS -l$SV_MODULE_LIB"
7379 else
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
7381 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
7382 fi
7383
7384 fi
7385 fi
7386 fi
7387
7388
7389 # Link in -lX11 if it exists -- this is for the X error handler
7390
7391 SV_MODULE_MODULE=X11
7392 SV_MODULE_VERSION_TEST="x11 >= 1.0.0"
7393 SV_MODULE_HEADER=X11/X.h
7394 SV_MODULE_LIB=x11
7395 SV_MODULE_FUNC=XGetErrorText
7396 SV_MODULE_HAVE=HAVE_$(echo X11 | tr 'a-z' 'A-Z')
7397 SV_MODULE_FAILED=1
7398 if test -n "$X11_LIBS" ; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
7400 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
7401 CXXFLAGS="$CXXFLAGS $X11_CFLAGS"
7402 LIBS="$LIBS $X11_LIBS"
7403 SV_MODULE_FAILED=""
7404 fi
7405 if test -z "$SV_MODULE_VERSION_TEST" ; then
7406 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
7407 fi
7408 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
7409
7410 pkg_failed=no
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
7412 $as_echo_n "checking for X11... " >&6; }
7413
7414 if test -n "$X11_CFLAGS"; then
7415 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
7416 elif test -n "$PKG_CONFIG"; then
7417 if test -n "$PKG_CONFIG" && \
7418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7419 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7420 ac_status=$?
7421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7422 test $ac_status = 0; }; then
7423 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7424 test "x$?" != "x0" && pkg_failed=yes
7425 else
7426 pkg_failed=yes
7427 fi
7428 else
7429 pkg_failed=untried
7430 fi
7431 if test -n "$X11_LIBS"; then
7432 pkg_cv_X11_LIBS="$X11_LIBS"
7433 elif test -n "$PKG_CONFIG"; then
7434 if test -n "$PKG_CONFIG" && \
7435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7436 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7437 ac_status=$?
7438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7439 test $ac_status = 0; }; then
7440 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7441 test "x$?" != "x0" && pkg_failed=yes
7442 else
7443 pkg_failed=yes
7444 fi
7445 else
7446 pkg_failed=untried
7447 fi
7448
7449
7450
7451 if test $pkg_failed = yes; then
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7454
7455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7456 _pkg_short_errors_supported=yes
7457 else
7458 _pkg_short_errors_supported=no
7459 fi
7460 if test $_pkg_short_errors_supported = yes; then
7461 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7462 else
7463 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7464 fi
7465 # Put the nasty error message in config.log where it belongs
7466 echo "$X11_PKG_ERRORS" >&5
7467
7468 { $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
7469 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7470 elif test $pkg_failed = untried; then
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7473 { $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
7474 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7475 else
7476 X11_CFLAGS=$pkg_cv_X11_CFLAGS
7477 X11_LIBS=$pkg_cv_X11_LIBS
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7479 $as_echo "yes" >&6; }
7480 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $X11_CFLAGS";LIBS="$LIBS $X11_LIBS";SV_MODULE_FAILED=""
7481 fi
7482 fi
7483 if test -n "$SV_MODULE_FAILED"; then
7484 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
7485 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
7486 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7487 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
7490 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
7491 fi
7492
7493
7494 if test -z "$SV_MODULE_FAILED"; then
7495 if test -n "$SV_MODULE_LIB"; then
7496 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
7498 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
7499 if eval \${$as_ac_Lib+:} false; then :
7500 $as_echo_n "(cached) " >&6
7501 else
7502 ac_check_lib_save_LIBS=$LIBS
7503 LIBS="-l$SV_MODULE_LIB $LIBS"
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7506
7507 /* Override any GCC internal prototype to avoid an error.
7508 Use char because int might match the return type of a GCC
7509 builtin and then its argument prototype would still apply. */
7510 #ifdef __cplusplus
7511 extern "C"
7512 #endif
7513 char $SV_MODULE_FUNC ();
7514 int
7515 main ()
7516 {
7517 return $SV_MODULE_FUNC ();
7518 ;
7519 return 0;
7520 }
7521 _ACEOF
7522 if ac_fn_cxx_try_link "$LINENO"; then :
7523 eval "$as_ac_Lib=yes"
7524 else
7525 eval "$as_ac_Lib=no"
7526 fi
7527 rm -f core conftest.err conftest.$ac_objext \
7528 conftest$ac_exeext conftest.$ac_ext
7529 LIBS=$ac_check_lib_save_LIBS
7530 fi
7531 eval ac_res=\$$as_ac_Lib
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7533 $as_echo "$ac_res" >&6; }
7534 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
7535 LIBS="$LIBS -l$SV_MODULE_LIB"
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
7538 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
7539 fi
7540
7541 fi
7542 fi
7543 fi
7544 7378
7545 7379
7546 7380
7547 7381
7548 7382
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8732 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8566 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8733 fi 8567 fi
8734 8568
8735 8569
8570 if test -x repoint ; then
8571 if test -d .hg -o -d .git ; then
8572 if ! ./repoint install; then
8573 as_fn_error $? "Repoint failed; please fix any reported errors and try again" "$LINENO" 5
8574 fi
8575 else
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: Repoint executable found but not in an Hg or Git working-copy: not running it" >&5
8577 $as_echo "$as_me: Repoint executable found but not in an Hg or Git working-copy: not running it" >&6;}
8578 if ! test -d vamp-plugin-sdk ; then
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No vamp-plugin-sdk directory present, so external libraries might not have been updated" >&5
8580 $as_echo "$as_me: WARNING: No vamp-plugin-sdk directory present, so external libraries might not have been updated" >&2;}
8581 fi
8582 fi
8583 else
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: No Repoint executable found: assuming external libraries are already here" >&5
8585 $as_echo "$as_me: No Repoint executable found: assuming external libraries are already here" >&6;}
8586 if ! test -d vamp-plugin-sdk ; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No vamp-plugin-sdk directory present, so external libraries might not have been updated" >&5
8588 $as_echo "$as_me: WARNING: No vamp-plugin-sdk directory present, so external libraries might not have been updated" >&2;}
8589 fi
8590 fi
8591
8736 if ! $QMAKE -r sonic-visualiser.pro; then 8592 if ! $QMAKE -r sonic-visualiser.pro; then
8737 as_fn_error $? "qmake failed: Command was \"$QMAKE -r\"" "$LINENO" 5 8593 as_fn_error $? "qmake failed: Command was \"$QMAKE -r\"" "$LINENO" 5
8738 fi 8594 fi
8739 8595
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: 8596 { $as_echo "$as_me:${as_lineno-$LINENO}: