comparison configure @ 568:21c4b4c4963b

Make audio decoder libraries mandatory
author Chris Cannam
date Tue, 30 Apr 2019 10:27:35 +0100
parents aec36277d870
children f52766aa747b
comparison
equal deleted inserted replaced
567:dd344309667f 568:21c4b4c4963b
6347 fi 6347 fi
6348 fi 6348 fi
6349 fi 6349 fi
6350 6350
6351 6351
6352
6352 SV_MODULE_MODULE=lrdf 6353 SV_MODULE_MODULE=lrdf
6353 SV_MODULE_VERSION_TEST="lrdf >= 0.2" 6354 SV_MODULE_VERSION_TEST="lrdf >= 0.2"
6354 SV_MODULE_HEADER=lrdf.h 6355 SV_MODULE_HEADER=lrdf.h
6355 SV_MODULE_LIB=lrdf 6356 SV_MODULE_LIB=lrdf
6356 SV_MODULE_FUNC=lrdf_init 6357 SV_MODULE_FUNC=lrdf_init
6424 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6425 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6425 fi 6426 fi
6426 # Put the nasty error message in config.log where it belongs 6427 # Put the nasty error message in config.log where it belongs
6427 echo "$lrdf_PKG_ERRORS" >&5 6428 echo "$lrdf_PKG_ERRORS" >&5
6428 6429
6429 { $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 6430 { $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
6430 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6431 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6431 elif test $pkg_failed = untried; then 6432 elif test $pkg_failed = untried; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6433 $as_echo "no" >&6; } 6434 $as_echo "no" >&6; }
6434 { $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 6435 { $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
6435 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6436 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6436 else 6437 else
6437 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS 6438 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS
6438 lrdf_LIBS=$pkg_cv_lrdf_LIBS 6439 lrdf_LIBS=$pkg_cv_lrdf_LIBS
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6440 $as_echo "yes" >&6; } 6441 $as_echo "yes" >&6; }
6443 fi 6444 fi
6444 if test -n "$SV_MODULE_FAILED"; then 6445 if test -n "$SV_MODULE_FAILED"; then
6445 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6446 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6446 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6447 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6447 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6448 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6448 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" 6449 HAVES="$HAVES $SV_MODULE_HAVE"
6449 else 6450 else
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 6451 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
6451 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} 6452 fi
6452 fi 6453
6453 6454
6454 6455 if test -n "$SV_MODULE_LIB"; then
6455 if test -z "$SV_MODULE_FAILED"; then 6456 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6456 if test -n "$SV_MODULE_LIB"; then
6457 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6459 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6458 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6460 if eval \${$as_ac_Lib+:} false; then : 6459 if eval \${$as_ac_Lib+:} false; then :
6461 $as_echo_n "(cached) " >&6 6460 $as_echo_n "(cached) " >&6
6462 else 6461 else
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6494 $as_echo "$ac_res" >&6; } 6493 $as_echo "$ac_res" >&6; }
6495 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 6494 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6496 LIBS="$LIBS -l$SV_MODULE_LIB" 6495 LIBS="$LIBS -l$SV_MODULE_LIB"
6497 else 6496 else
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 6497 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
6499 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} 6498 fi
6500 fi 6499
6501
6502 fi
6503 fi 6500 fi
6504 fi 6501 fi
6505 6502
6506 6503
6507 SV_MODULE_MODULE=oggz 6504 SV_MODULE_MODULE=oggz
6579 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6576 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6580 fi 6577 fi
6581 # Put the nasty error message in config.log where it belongs 6578 # Put the nasty error message in config.log where it belongs
6582 echo "$oggz_PKG_ERRORS" >&5 6579 echo "$oggz_PKG_ERRORS" >&5
6583 6580
6584 { $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 6581 { $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
6585 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6582 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6586 elif test $pkg_failed = untried; then 6583 elif test $pkg_failed = untried; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588 $as_echo "no" >&6; } 6585 $as_echo "no" >&6; }
6589 { $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 6586 { $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
6590 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6587 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6591 else 6588 else
6592 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS 6589 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS
6593 oggz_LIBS=$pkg_cv_oggz_LIBS 6590 oggz_LIBS=$pkg_cv_oggz_LIBS
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6595 $as_echo "yes" >&6; } 6592 $as_echo "yes" >&6; }
6598 fi 6595 fi
6599 if test -n "$SV_MODULE_FAILED"; then 6596 if test -n "$SV_MODULE_FAILED"; then
6600 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6597 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6601 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6598 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6602 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6603 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" 6600 HAVES="$HAVES $SV_MODULE_HAVE"
6604 else 6601 else
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 6602 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
6606 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} 6603 fi
6607 fi 6604
6608 6605
6609 6606 if test -n "$SV_MODULE_LIB"; then
6610 if test -z "$SV_MODULE_FAILED"; then 6607 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6611 if test -n "$SV_MODULE_LIB"; then
6612 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6614 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6609 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6615 if eval \${$as_ac_Lib+:} false; then : 6610 if eval \${$as_ac_Lib+:} false; then :
6616 $as_echo_n "(cached) " >&6 6611 $as_echo_n "(cached) " >&6
6617 else 6612 else
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6649 $as_echo "$ac_res" >&6; } 6644 $as_echo "$ac_res" >&6; }
6650 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 6645 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6651 LIBS="$LIBS -l$SV_MODULE_LIB" 6646 LIBS="$LIBS -l$SV_MODULE_LIB"
6652 else 6647 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 6648 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
6654 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} 6649 fi
6655 fi 6650
6656
6657 fi
6658 fi 6651 fi
6659 fi 6652 fi
6660 6653
6661 6654
6662 SV_MODULE_MODULE=fishsound 6655 SV_MODULE_MODULE=fishsound
6734 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6727 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6735 fi 6728 fi
6736 # Put the nasty error message in config.log where it belongs 6729 # Put the nasty error message in config.log where it belongs
6737 echo "$fishsound_PKG_ERRORS" >&5 6730 echo "$fishsound_PKG_ERRORS" >&5
6738 6731
6739 { $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 6732 { $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
6740 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6733 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6741 elif test $pkg_failed = untried; then 6734 elif test $pkg_failed = untried; then
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743 $as_echo "no" >&6; } 6736 $as_echo "no" >&6; }
6744 { $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 6737 { $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
6745 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6738 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6746 else 6739 else
6747 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS 6740 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS
6748 fishsound_LIBS=$pkg_cv_fishsound_LIBS 6741 fishsound_LIBS=$pkg_cv_fishsound_LIBS
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6750 $as_echo "yes" >&6; } 6743 $as_echo "yes" >&6; }
6753 fi 6746 fi
6754 if test -n "$SV_MODULE_FAILED"; then 6747 if test -n "$SV_MODULE_FAILED"; then
6755 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6748 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6756 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6749 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6757 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6750 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6758 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" 6751 HAVES="$HAVES $SV_MODULE_HAVE"
6759 else 6752 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 6753 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
6761 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} 6754 fi
6762 fi 6755
6763 6756
6764 6757 if test -n "$SV_MODULE_LIB"; then
6765 if test -z "$SV_MODULE_FAILED"; then 6758 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6766 if test -n "$SV_MODULE_LIB"; then
6767 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6769 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6760 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6770 if eval \${$as_ac_Lib+:} false; then : 6761 if eval \${$as_ac_Lib+:} false; then :
6771 $as_echo_n "(cached) " >&6 6762 $as_echo_n "(cached) " >&6
6772 else 6763 else
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6804 $as_echo "$ac_res" >&6; } 6795 $as_echo "$ac_res" >&6; }
6805 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 6796 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6806 LIBS="$LIBS -l$SV_MODULE_LIB" 6797 LIBS="$LIBS -l$SV_MODULE_LIB"
6807 else 6798 else
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 6799 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
6809 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} 6800 fi
6810 fi 6801
6811
6812 fi
6813 fi 6802 fi
6814 fi 6803 fi
6815 6804
6816 6805
6817 SV_MODULE_MODULE=mad 6806 SV_MODULE_MODULE=mad
6889 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 6878 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6890 fi 6879 fi
6891 # Put the nasty error message in config.log where it belongs 6880 # Put the nasty error message in config.log where it belongs
6892 echo "$mad_PKG_ERRORS" >&5 6881 echo "$mad_PKG_ERRORS" >&5
6893 6882
6894 { $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 6883 { $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
6895 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6884 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6896 elif test $pkg_failed = untried; then 6885 elif test $pkg_failed = untried; then
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6898 $as_echo "no" >&6; } 6887 $as_echo "no" >&6; }
6899 { $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 6888 { $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
6900 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6889 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6901 else 6890 else
6902 mad_CFLAGS=$pkg_cv_mad_CFLAGS 6891 mad_CFLAGS=$pkg_cv_mad_CFLAGS
6903 mad_LIBS=$pkg_cv_mad_LIBS 6892 mad_LIBS=$pkg_cv_mad_LIBS
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6905 $as_echo "yes" >&6; } 6894 $as_echo "yes" >&6; }
6908 fi 6897 fi
6909 if test -n "$SV_MODULE_FAILED"; then 6898 if test -n "$SV_MODULE_FAILED"; then
6910 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6899 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6911 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6900 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6912 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 6901 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6913 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" 6902 HAVES="$HAVES $SV_MODULE_HAVE"
6914 else 6903 else
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 6904 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
6916 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} 6905 fi
6917 fi 6906
6918 6907
6919 6908 if test -n "$SV_MODULE_LIB"; then
6920 if test -z "$SV_MODULE_FAILED"; then 6909 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6921 if test -n "$SV_MODULE_LIB"; then
6922 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6924 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6911 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6925 if eval \${$as_ac_Lib+:} false; then : 6912 if eval \${$as_ac_Lib+:} false; then :
6926 $as_echo_n "(cached) " >&6 6913 $as_echo_n "(cached) " >&6
6927 else 6914 else
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6959 $as_echo "$ac_res" >&6; } 6946 $as_echo "$ac_res" >&6; }
6960 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 6947 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
6961 LIBS="$LIBS -l$SV_MODULE_LIB" 6948 LIBS="$LIBS -l$SV_MODULE_LIB"
6962 else 6949 else
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 6950 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
6964 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} 6951 fi
6965 fi 6952
6966
6967 fi
6968 fi 6953 fi
6969 fi 6954 fi
6970 6955
6971 6956
6972 SV_MODULE_MODULE=id3tag 6957 SV_MODULE_MODULE=id3tag
7044 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 7029 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7045 fi 7030 fi
7046 # Put the nasty error message in config.log where it belongs 7031 # Put the nasty error message in config.log where it belongs
7047 echo "$id3tag_PKG_ERRORS" >&5 7032 echo "$id3tag_PKG_ERRORS" >&5
7048 7033
7049 { $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 7034 { $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
7050 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7035 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7051 elif test $pkg_failed = untried; then 7036 elif test $pkg_failed = untried; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053 $as_echo "no" >&6; } 7038 $as_echo "no" >&6; }
7054 { $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 7039 { $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
7055 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7040 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7056 else 7041 else
7057 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS 7042 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS
7058 id3tag_LIBS=$pkg_cv_id3tag_LIBS 7043 id3tag_LIBS=$pkg_cv_id3tag_LIBS
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7060 $as_echo "yes" >&6; } 7045 $as_echo "yes" >&6; }
7063 fi 7048 fi
7064 if test -n "$SV_MODULE_FAILED"; then 7049 if test -n "$SV_MODULE_FAILED"; then
7065 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 7050 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
7066 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 7051 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
7067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7052 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7068 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" 7053 HAVES="$HAVES $SV_MODULE_HAVE"
7069 else 7054 else
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 7055 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
7071 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} 7056 fi
7072 fi 7057
7073 7058
7074 7059 if test -n "$SV_MODULE_LIB"; then
7075 if test -z "$SV_MODULE_FAILED"; then 7060 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7076 if test -n "$SV_MODULE_LIB"; then
7077 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 7061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
7079 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 7062 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
7080 if eval \${$as_ac_Lib+:} false; then : 7063 if eval \${$as_ac_Lib+:} false; then :
7081 $as_echo_n "(cached) " >&6 7064 $as_echo_n "(cached) " >&6
7082 else 7065 else
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7114 $as_echo "$ac_res" >&6; } 7097 $as_echo "$ac_res" >&6; }
7115 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 7098 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
7116 LIBS="$LIBS -l$SV_MODULE_LIB" 7099 LIBS="$LIBS -l$SV_MODULE_LIB"
7117 else 7100 else
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 7101 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
7119 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} 7102 fi
7120 fi 7103
7121
7122 fi
7123 fi 7104 fi
7124 fi 7105 fi
7125 7106
7126 7107
7127 SV_MODULE_MODULE=opus 7108 SV_MODULE_MODULE=opus
7199 opus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 7180 opus_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7200 fi 7181 fi
7201 # Put the nasty error message in config.log where it belongs 7182 # Put the nasty error message in config.log where it belongs
7202 echo "$opus_PKG_ERRORS" >&5 7183 echo "$opus_PKG_ERRORS" >&5
7203 7184
7204 { $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 7185 { $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
7205 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7186 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7206 elif test $pkg_failed = untried; then 7187 elif test $pkg_failed = untried; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7208 $as_echo "no" >&6; } 7189 $as_echo "no" >&6; }
7209 { $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 7190 { $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
7210 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7191 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7211 else 7192 else
7212 opus_CFLAGS=$pkg_cv_opus_CFLAGS 7193 opus_CFLAGS=$pkg_cv_opus_CFLAGS
7213 opus_LIBS=$pkg_cv_opus_LIBS 7194 opus_LIBS=$pkg_cv_opus_LIBS
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7215 $as_echo "yes" >&6; } 7196 $as_echo "yes" >&6; }
7218 fi 7199 fi
7219 if test -n "$SV_MODULE_FAILED"; then 7200 if test -n "$SV_MODULE_FAILED"; then
7220 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 7201 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
7221 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 7202 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
7222 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 7203 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7223 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" 7204 HAVES="$HAVES $SV_MODULE_HAVE"
7224 else 7205 else
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 7206 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
7226 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} 7207 fi
7227 fi 7208
7228 7209
7229 7210 if test -n "$SV_MODULE_LIB"; then
7230 if test -z "$SV_MODULE_FAILED"; then 7211 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7231 if test -n "$SV_MODULE_LIB"; then
7232 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
7234 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 7213 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
7235 if eval \${$as_ac_Lib+:} false; then : 7214 if eval \${$as_ac_Lib+:} false; then :
7236 $as_echo_n "(cached) " >&6 7215 $as_echo_n "(cached) " >&6
7237 else 7216 else
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7269 $as_echo "$ac_res" >&6; } 7248 $as_echo "$ac_res" >&6; }
7270 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 7249 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
7271 LIBS="$LIBS -l$SV_MODULE_LIB" 7250 LIBS="$LIBS -l$SV_MODULE_LIB"
7272 else 7251 else
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 7252 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
7274 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} 7253 fi
7275 fi 7254
7276
7277 fi
7278 fi 7255 fi
7279 fi 7256 fi
7280 7257
7281 7258
7282 # Link in -lX11 if it exists -- this is for the X error handler 7259 # Link in -lX11 if it exists -- this is for the X error handler