Mercurial > hg > sonic-annotator
comparison configure @ 81:9f78c80c80f1
Merge from qt5 branch. We now require qt5 for Sonic Annotator
author | Chris Cannam |
---|---|
date | Wed, 08 May 2013 16:52:37 +0100 |
parents | da8b125f606a |
children | 03f33b0cbcfd |
comparison
equal
deleted
inserted
replaced
73:b9b145d3013c | 81:9f78c80c80f1 |
---|---|
650 JACK_CFLAGS | 650 JACK_CFLAGS |
651 portaudio_2_0_LIBS | 651 portaudio_2_0_LIBS |
652 portaudio_2_0_CFLAGS | 652 portaudio_2_0_CFLAGS |
653 liblo_LIBS | 653 liblo_LIBS |
654 liblo_CFLAGS | 654 liblo_CFLAGS |
655 dataquay_LIBS | |
656 dataquay_CFLAGS | |
657 rubberband_LIBS | 655 rubberband_LIBS |
658 rubberband_CFLAGS | 656 rubberband_CFLAGS |
659 vamphostsdk_LIBS | 657 vamphostsdk_LIBS |
660 vamphostsdk_CFLAGS | 658 vamphostsdk_CFLAGS |
661 vamp_LIBS | 659 vamp_LIBS |
763 vamp_LIBS | 761 vamp_LIBS |
764 vamphostsdk_CFLAGS | 762 vamphostsdk_CFLAGS |
765 vamphostsdk_LIBS | 763 vamphostsdk_LIBS |
766 rubberband_CFLAGS | 764 rubberband_CFLAGS |
767 rubberband_LIBS | 765 rubberband_LIBS |
768 dataquay_CFLAGS | |
769 dataquay_LIBS | |
770 liblo_CFLAGS | 766 liblo_CFLAGS |
771 liblo_LIBS | 767 liblo_LIBS |
772 portaudio_2_0_CFLAGS | 768 portaudio_2_0_CFLAGS |
773 portaudio_2_0_LIBS | 769 portaudio_2_0_LIBS |
774 JACK_CFLAGS | 770 JACK_CFLAGS |
1436 linker flags for vamphostsdk, overriding pkg-config | 1432 linker flags for vamphostsdk, overriding pkg-config |
1437 rubberband_CFLAGS | 1433 rubberband_CFLAGS |
1438 C compiler flags for rubberband, overriding pkg-config | 1434 C compiler flags for rubberband, overriding pkg-config |
1439 rubberband_LIBS | 1435 rubberband_LIBS |
1440 linker flags for rubberband, overriding pkg-config | 1436 linker flags for rubberband, overriding pkg-config |
1441 dataquay_CFLAGS | |
1442 C compiler flags for dataquay, overriding pkg-config | |
1443 dataquay_LIBS | |
1444 linker flags for dataquay, overriding pkg-config | |
1445 liblo_CFLAGS | 1437 liblo_CFLAGS |
1446 C compiler flags for liblo, overriding pkg-config | 1438 C compiler flags for liblo, overriding pkg-config |
1447 liblo_LIBS linker flags for liblo, overriding pkg-config | 1439 liblo_LIBS linker flags for liblo, overriding pkg-config |
1448 portaudio_2_0_CFLAGS | 1440 portaudio_2_0_CFLAGS |
1449 C compiler flags for portaudio_2_0, overriding pkg-config | 1441 C compiler flags for portaudio_2_0, overriding pkg-config |
3965 | 3957 |
3966 | 3958 |
3967 | 3959 |
3968 | 3960 |
3969 if test x$QMAKE = x ; then | 3961 if test x$QMAKE = x ; then |
3970 # Extract the first word of "qmake-qt4", so it can be a program name with args. | 3962 # Extract the first word of "qmake-qt5", so it can be a program name with args. |
3971 set dummy qmake-qt4; ac_word=$2 | 3963 set dummy qmake-qt5; ac_word=$2 |
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3973 $as_echo_n "checking for $ac_word... " >&6; } | 3965 $as_echo_n "checking for $ac_word... " >&6; } |
3974 if ${ac_cv_prog_QMAKE+:} false; then : | 3966 if ${ac_cv_prog_QMAKE+:} false; then : |
3975 $as_echo_n "(cached) " >&6 | 3967 $as_echo_n "(cached) " >&6 |
3976 else | 3968 else |
3982 do | 3974 do |
3983 IFS=$as_save_IFS | 3975 IFS=$as_save_IFS |
3984 test -z "$as_dir" && as_dir=. | 3976 test -z "$as_dir" && as_dir=. |
3985 for ac_exec_ext in '' $ac_executable_extensions; do | 3977 for ac_exec_ext in '' $ac_executable_extensions; do |
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 3978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3987 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt4" | 3979 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt5" |
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3989 break 2 | 3981 break 2 |
3990 fi | 3982 fi |
3991 done | 3983 done |
3992 done | 3984 done |
4082 fi | 4074 fi |
4083 | 4075 |
4084 | 4076 |
4085 fi | 4077 fi |
4086 if test x$QMAKE = x ; then | 4078 if test x$QMAKE = x ; then |
4087 # Extract the first word of "qmake-qt4", so it can be a program name with args. | 4079 # Extract the first word of "qmake-qt5", so it can be a program name with args. |
4088 set dummy qmake-qt4; ac_word=$2 | 4080 set dummy qmake-qt5; ac_word=$2 |
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4090 $as_echo_n "checking for $ac_word... " >&6; } | 4082 $as_echo_n "checking for $ac_word... " >&6; } |
4091 if ${ac_cv_prog_QMAKE+:} false; then : | 4083 if ${ac_cv_prog_QMAKE+:} false; then : |
4092 $as_echo_n "(cached) " >&6 | 4084 $as_echo_n "(cached) " >&6 |
4093 else | 4085 else |
4099 do | 4091 do |
4100 IFS=$as_save_IFS | 4092 IFS=$as_save_IFS |
4101 test -z "$as_dir" && as_dir=. | 4093 test -z "$as_dir" && as_dir=. |
4102 for ac_exec_ext in '' $ac_executable_extensions; do | 4094 for ac_exec_ext in '' $ac_executable_extensions; do |
4103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4104 ac_cv_prog_QMAKE="qmake-qt4" | 4096 ac_cv_prog_QMAKE="qmake-qt5" |
4105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4106 break 2 | 4098 break 2 |
4107 fi | 4099 fi |
4108 done | 4100 done |
4109 done | 4101 done |
4161 | 4153 |
4162 | 4154 |
4163 fi | 4155 fi |
4164 if test x$QMAKE = x ; then | 4156 if test x$QMAKE = x ; then |
4165 as_fn_error $? " | 4157 as_fn_error $? " |
4166 Failed to find the required qmake-qt4 or qmake program. Please | 4158 Failed to find the required qmake-qt5 or qmake program. Please |
4167 ensure you have the necessary Qt4 development files installed, and | 4159 ensure you have the necessary Qt5 development files installed, and |
4168 if necessary set QTDIR to the location of your Qt4 installation. | 4160 if necessary set QTDIR to the location of your Qt5 installation. |
4169 " "$LINENO" 5 | 4161 " "$LINENO" 5 |
4170 fi | 4162 fi |
4171 | 4163 |
4172 # Suitable versions of qmake should print out something like: | 4164 # Suitable versions of qmake should print out something like: |
4173 # | 4165 # |
4177 # This may be translated, so we check only for the numbers (2.x and 4.x | 4169 # This may be translated, so we check only for the numbers (2.x and 4.x |
4178 # in that order). | 4170 # in that order). |
4179 # | 4171 # |
4180 QMAKE_VERSION_OUTPUT=`$QMAKE -v` | 4172 QMAKE_VERSION_OUTPUT=`$QMAKE -v` |
4181 case "$QMAKE_VERSION_OUTPUT" in | 4173 case "$QMAKE_VERSION_OUTPUT" in |
4182 *2.*4.*) ;; | 4174 *5.*) ;; |
4183 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: | 4175 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: |
4184 *** The version of qmake found in \"$QMAKE\" looks like it might be | 4176 *** The version of qmake found in \"$QMAKE\" looks like it might be |
4185 from the wrong version of Qt (Qt4 is required). Please check | 4177 from the wrong version of Qt (Qt5 is required). Please check |
4186 that this is the correct version of qmake for Qt4 builds. | 4178 that this is the correct version of qmake for Qt5 builds. |
4187 " >&5 | 4179 " >&5 |
4188 $as_echo "$as_me: WARNING: | 4180 $as_echo "$as_me: WARNING: |
4189 *** The version of qmake found in \"$QMAKE\" looks like it might be | 4181 *** The version of qmake found in \"$QMAKE\" looks like it might be |
4190 from the wrong version of Qt (Qt4 is required). Please check | 4182 from the wrong version of Qt (Qt5 is required). Please check |
4191 that this is the correct version of qmake for Qt4 builds. | 4183 that this is the correct version of qmake for Qt5 builds. |
4192 " >&2;} | 4184 " >&2;} |
4193 esac | 4185 esac |
4194 | 4186 |
4195 case "`uname`" in | 4187 case "`uname`" in |
4196 *Darwin*) QMAKE="$QMAKE -spec macx-g++";; | 4188 *Darwin*) QMAKE="$QMAKE -spec macx-g++";; |
5166 fi | 5158 fi |
5167 fi | 5159 fi |
5168 | 5160 |
5169 | 5161 |
5170 SV_MODULE_MODULE=vamphostsdk | 5162 SV_MODULE_MODULE=vamphostsdk |
5171 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.3.1" | 5163 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.5" |
5172 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h | 5164 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h |
5173 SV_MODULE_LIB=vamp-hostsdk | 5165 SV_MODULE_LIB=vamp-hostsdk |
5174 SV_MODULE_FUNC=libvamphostsdk_v_2_3_1_present | 5166 SV_MODULE_FUNC=libvamphostsdk_v_2_5_present |
5175 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') | 5167 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') |
5176 SV_MODULE_FAILED=1 | 5168 SV_MODULE_FAILED=1 |
5177 if test -n "$vamphostsdk_LIBS" ; then | 5169 if test -n "$vamphostsdk_LIBS" ; then |
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5170 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5179 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5171 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5467 | 5459 |
5468 fi | 5460 fi |
5469 fi | 5461 fi |
5470 | 5462 |
5471 | 5463 |
5472 SV_MODULE_MODULE=dataquay | 5464 |
5473 SV_MODULE_VERSION_TEST="dataquay >= 0.9" | 5465 SV_MODULE_MODULE=liblo |
5474 SV_MODULE_HEADER=dataquay/Uri.h | 5466 SV_MODULE_VERSION_TEST="" |
5475 SV_MODULE_LIB=dataquay | 5467 SV_MODULE_HEADER=lo/lo.h |
5476 SV_MODULE_FUNC=dataquay_v_0_9_present | 5468 SV_MODULE_LIB=lo |
5477 SV_MODULE_HAVE=HAVE_$(echo dataquay | tr 'a-z' 'A-Z') | 5469 SV_MODULE_FUNC=lo_address_new |
5470 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5478 SV_MODULE_FAILED=1 | 5471 SV_MODULE_FAILED=1 |
5479 if test -n "$dataquay_LIBS" ; then | 5472 if test -n "$liblo_LIBS" ; then |
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5473 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5481 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5474 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5482 CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS" | 5475 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" |
5483 LIBS="$LIBS $dataquay_LIBS" | 5476 LIBS="$LIBS $liblo_LIBS" |
5484 SV_MODULE_FAILED="" | 5477 SV_MODULE_FAILED="" |
5485 fi | 5478 fi |
5486 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5479 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5487 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5480 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5488 fi | 5481 fi |
5489 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5482 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5490 | 5483 |
5491 pkg_failed=no | 5484 pkg_failed=no |
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dataquay" >&5 | 5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 |
5493 $as_echo_n "checking for dataquay... " >&6; } | 5486 $as_echo_n "checking for liblo... " >&6; } |
5494 | 5487 |
5495 if test -n "$dataquay_CFLAGS"; then | 5488 if test -n "$liblo_CFLAGS"; then |
5496 pkg_cv_dataquay_CFLAGS="$dataquay_CFLAGS" | 5489 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" |
5497 elif test -n "$PKG_CONFIG"; then | 5490 elif test -n "$PKG_CONFIG"; then |
5498 if test -n "$PKG_CONFIG" && \ | 5491 if test -n "$PKG_CONFIG" && \ |
5499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5500 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5493 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5501 ac_status=$? | 5494 ac_status=$? |
5502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5503 test $ac_status = 0; }; then | 5496 test $ac_status = 0; }; then |
5504 pkg_cv_dataquay_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5497 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5505 test "x$?" != "x0" && pkg_failed=yes | 5498 test "x$?" != "x0" && pkg_failed=yes |
5506 else | 5499 else |
5507 pkg_failed=yes | 5500 pkg_failed=yes |
5508 fi | 5501 fi |
5509 else | 5502 else |
5510 pkg_failed=untried | 5503 pkg_failed=untried |
5511 fi | 5504 fi |
5512 if test -n "$dataquay_LIBS"; then | 5505 if test -n "$liblo_LIBS"; then |
5513 pkg_cv_dataquay_LIBS="$dataquay_LIBS" | 5506 pkg_cv_liblo_LIBS="$liblo_LIBS" |
5514 elif test -n "$PKG_CONFIG"; then | 5507 elif test -n "$PKG_CONFIG"; then |
5515 if test -n "$PKG_CONFIG" && \ | 5508 if test -n "$PKG_CONFIG" && \ |
5516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5517 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5510 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5518 ac_status=$? | 5511 ac_status=$? |
5519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5520 test $ac_status = 0; }; then | 5513 test $ac_status = 0; }; then |
5521 pkg_cv_dataquay_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5514 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5522 test "x$?" != "x0" && pkg_failed=yes | 5515 test "x$?" != "x0" && pkg_failed=yes |
5523 else | 5516 else |
5524 pkg_failed=yes | 5517 pkg_failed=yes |
5525 fi | 5518 fi |
5526 else | 5519 else |
5537 _pkg_short_errors_supported=yes | 5530 _pkg_short_errors_supported=yes |
5538 else | 5531 else |
5539 _pkg_short_errors_supported=no | 5532 _pkg_short_errors_supported=no |
5540 fi | 5533 fi |
5541 if test $_pkg_short_errors_supported = yes; then | 5534 if test $_pkg_short_errors_supported = yes; then |
5542 dataquay_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5535 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5543 else | 5536 else |
5544 dataquay_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5537 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5545 fi | 5538 fi |
5546 # Put the nasty error message in config.log where it belongs | 5539 # Put the nasty error message in config.log where it belongs |
5547 echo "$dataquay_PKG_ERRORS" >&5 | 5540 echo "$liblo_PKG_ERRORS" >&5 |
5548 | 5541 |
5549 { $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 | 5542 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5550 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5543 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5551 elif test $pkg_failed = untried; then | 5544 elif test $pkg_failed = untried; then |
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5553 $as_echo "no" >&6; } | 5546 $as_echo "no" >&6; } |
5554 { $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 | 5547 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5555 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5548 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5556 else | 5549 else |
5557 dataquay_CFLAGS=$pkg_cv_dataquay_CFLAGS | 5550 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS |
5558 dataquay_LIBS=$pkg_cv_dataquay_LIBS | 5551 liblo_LIBS=$pkg_cv_liblo_LIBS |
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5560 $as_echo "yes" >&6; } | 5553 $as_echo "yes" >&6; } |
5561 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS";LIBS="$LIBS $dataquay_LIBS";SV_MODULE_FAILED="" | 5554 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" |
5562 fi | 5555 fi |
5563 fi | 5556 fi |
5564 if test -n "$SV_MODULE_FAILED"; then | 5557 if test -n "$SV_MODULE_FAILED"; then |
5565 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5558 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5566 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5559 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5567 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5560 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5568 HAVES="$HAVES $SV_MODULE_HAVE" | 5561 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" |
5569 else | 5562 else |
5570 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5563 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 |
5571 fi | 5564 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} |
5572 | 5565 fi |
5573 | 5566 |
5574 if test -n "$SV_MODULE_LIB"; then | 5567 |
5575 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | 5568 if test -z "$SV_MODULE_FAILED"; then |
5569 if test -n "$SV_MODULE_LIB"; then | |
5570 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5577 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5572 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5578 if eval \${$as_ac_Lib+:} false; then : | 5573 if eval \${$as_ac_Lib+:} false; then : |
5579 $as_echo_n "(cached) " >&6 | 5574 $as_echo_n "(cached) " >&6 |
5580 else | 5575 else |
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5612 $as_echo "$ac_res" >&6; } | 5607 $as_echo "$ac_res" >&6; } |
5613 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5608 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
5614 LIBS="$LIBS -l$SV_MODULE_LIB" | 5609 LIBS="$LIBS -l$SV_MODULE_LIB" |
5615 else | 5610 else |
5616 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | 5611 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 |
5617 fi | 5612 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} |
5618 | 5613 fi |
5614 | |
5615 fi | |
5619 fi | 5616 fi |
5620 fi | 5617 fi |
5621 | 5618 |
5622 | 5619 |
5623 | 5620 SV_MODULE_MODULE=portaudio_2_0 |
5624 SV_MODULE_MODULE=liblo | 5621 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" |
5625 SV_MODULE_VERSION_TEST="" | 5622 SV_MODULE_HEADER=portaudio.h |
5626 SV_MODULE_HEADER=lo/lo.h | 5623 SV_MODULE_LIB=portaudio |
5627 SV_MODULE_LIB=lo | 5624 SV_MODULE_FUNC=Pa_IsFormatSupported |
5628 SV_MODULE_FUNC=lo_address_new | 5625 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') |
5629 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5630 SV_MODULE_FAILED=1 | 5626 SV_MODULE_FAILED=1 |
5631 if test -n "$liblo_LIBS" ; then | 5627 if test -n "$portaudio_2_0_LIBS" ; then |
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5628 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5633 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5629 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5634 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" | 5630 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" |
5635 LIBS="$LIBS $liblo_LIBS" | 5631 LIBS="$LIBS $portaudio_2_0_LIBS" |
5636 SV_MODULE_FAILED="" | 5632 SV_MODULE_FAILED="" |
5637 fi | 5633 fi |
5638 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5634 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5639 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5635 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5640 fi | 5636 fi |
5641 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5637 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5642 | 5638 |
5643 pkg_failed=no | 5639 pkg_failed=no |
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 | 5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 |
5645 $as_echo_n "checking for liblo... " >&6; } | 5641 $as_echo_n "checking for portaudio_2_0... " >&6; } |
5646 | 5642 |
5647 if test -n "$liblo_CFLAGS"; then | 5643 if test -n "$portaudio_2_0_CFLAGS"; then |
5648 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" | 5644 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" |
5649 elif test -n "$PKG_CONFIG"; then | 5645 elif test -n "$PKG_CONFIG"; then |
5650 if test -n "$PKG_CONFIG" && \ | 5646 if test -n "$PKG_CONFIG" && \ |
5651 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5652 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5648 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5653 ac_status=$? | 5649 ac_status=$? |
5654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5655 test $ac_status = 0; }; then | 5651 test $ac_status = 0; }; then |
5656 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5652 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5657 test "x$?" != "x0" && pkg_failed=yes | 5653 test "x$?" != "x0" && pkg_failed=yes |
5658 else | 5654 else |
5659 pkg_failed=yes | 5655 pkg_failed=yes |
5660 fi | 5656 fi |
5661 else | 5657 else |
5662 pkg_failed=untried | 5658 pkg_failed=untried |
5663 fi | 5659 fi |
5664 if test -n "$liblo_LIBS"; then | 5660 if test -n "$portaudio_2_0_LIBS"; then |
5665 pkg_cv_liblo_LIBS="$liblo_LIBS" | 5661 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" |
5666 elif test -n "$PKG_CONFIG"; then | 5662 elif test -n "$PKG_CONFIG"; then |
5667 if test -n "$PKG_CONFIG" && \ | 5663 if test -n "$PKG_CONFIG" && \ |
5668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5664 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5669 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5665 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5670 ac_status=$? | 5666 ac_status=$? |
5671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5672 test $ac_status = 0; }; then | 5668 test $ac_status = 0; }; then |
5673 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5669 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5674 test "x$?" != "x0" && pkg_failed=yes | 5670 test "x$?" != "x0" && pkg_failed=yes |
5675 else | 5671 else |
5676 pkg_failed=yes | 5672 pkg_failed=yes |
5677 fi | 5673 fi |
5678 else | 5674 else |
5689 _pkg_short_errors_supported=yes | 5685 _pkg_short_errors_supported=yes |
5690 else | 5686 else |
5691 _pkg_short_errors_supported=no | 5687 _pkg_short_errors_supported=no |
5692 fi | 5688 fi |
5693 if test $_pkg_short_errors_supported = yes; then | 5689 if test $_pkg_short_errors_supported = yes; then |
5694 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5690 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5695 else | 5691 else |
5696 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5692 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5697 fi | 5693 fi |
5698 # Put the nasty error message in config.log where it belongs | 5694 # Put the nasty error message in config.log where it belongs |
5699 echo "$liblo_PKG_ERRORS" >&5 | 5695 echo "$portaudio_2_0_PKG_ERRORS" >&5 |
5700 | 5696 |
5701 { $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 | 5697 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5702 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5698 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5703 elif test $pkg_failed = untried; then | 5699 elif test $pkg_failed = untried; then |
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5705 $as_echo "no" >&6; } | 5701 $as_echo "no" >&6; } |
5706 { $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 | 5702 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5707 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5703 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5708 else | 5704 else |
5709 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS | 5705 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS |
5710 liblo_LIBS=$pkg_cv_liblo_LIBS | 5706 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS |
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5712 $as_echo "yes" >&6; } | 5708 $as_echo "yes" >&6; } |
5713 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" | 5709 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" |
5714 fi | 5710 fi |
5715 fi | 5711 fi |
5716 if test -n "$SV_MODULE_FAILED"; then | 5712 if test -n "$SV_MODULE_FAILED"; then |
5717 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5713 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5718 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5714 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5774 fi | 5770 fi |
5775 fi | 5771 fi |
5776 fi | 5772 fi |
5777 | 5773 |
5778 | 5774 |
5779 SV_MODULE_MODULE=portaudio_2_0 | 5775 SV_MODULE_MODULE=JACK |
5780 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" | 5776 SV_MODULE_VERSION_TEST="jack >= 0.100" |
5781 SV_MODULE_HEADER=portaudio.h | 5777 SV_MODULE_HEADER=jack/jack.h |
5782 SV_MODULE_LIB=portaudio | 5778 SV_MODULE_LIB=jack |
5783 SV_MODULE_FUNC=Pa_IsFormatSupported | 5779 SV_MODULE_FUNC=jack_client_open |
5784 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') | 5780 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') |
5785 SV_MODULE_FAILED=1 | 5781 SV_MODULE_FAILED=1 |
5786 if test -n "$portaudio_2_0_LIBS" ; then | 5782 if test -n "$JACK_LIBS" ; then |
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5783 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5788 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5784 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5789 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" | 5785 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" |
5790 LIBS="$LIBS $portaudio_2_0_LIBS" | 5786 LIBS="$LIBS $JACK_LIBS" |
5791 SV_MODULE_FAILED="" | 5787 SV_MODULE_FAILED="" |
5792 fi | 5788 fi |
5793 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5789 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5794 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5790 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5795 fi | 5791 fi |
5796 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5792 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5797 | 5793 |
5798 pkg_failed=no | 5794 pkg_failed=no |
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 | 5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 |
5800 $as_echo_n "checking for portaudio_2_0... " >&6; } | 5796 $as_echo_n "checking for JACK... " >&6; } |
5801 | 5797 |
5802 if test -n "$portaudio_2_0_CFLAGS"; then | 5798 if test -n "$JACK_CFLAGS"; then |
5803 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" | 5799 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" |
5804 elif test -n "$PKG_CONFIG"; then | 5800 elif test -n "$PKG_CONFIG"; then |
5805 if test -n "$PKG_CONFIG" && \ | 5801 if test -n "$PKG_CONFIG" && \ |
5806 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5807 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5803 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5808 ac_status=$? | 5804 ac_status=$? |
5809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5810 test $ac_status = 0; }; then | 5806 test $ac_status = 0; }; then |
5811 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5807 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5812 test "x$?" != "x0" && pkg_failed=yes | 5808 test "x$?" != "x0" && pkg_failed=yes |
5813 else | 5809 else |
5814 pkg_failed=yes | 5810 pkg_failed=yes |
5815 fi | 5811 fi |
5816 else | 5812 else |
5817 pkg_failed=untried | 5813 pkg_failed=untried |
5818 fi | 5814 fi |
5819 if test -n "$portaudio_2_0_LIBS"; then | 5815 if test -n "$JACK_LIBS"; then |
5820 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" | 5816 pkg_cv_JACK_LIBS="$JACK_LIBS" |
5821 elif test -n "$PKG_CONFIG"; then | 5817 elif test -n "$PKG_CONFIG"; then |
5822 if test -n "$PKG_CONFIG" && \ | 5818 if test -n "$PKG_CONFIG" && \ |
5823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5824 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5820 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5825 ac_status=$? | 5821 ac_status=$? |
5826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5827 test $ac_status = 0; }; then | 5823 test $ac_status = 0; }; then |
5828 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5824 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5829 test "x$?" != "x0" && pkg_failed=yes | 5825 test "x$?" != "x0" && pkg_failed=yes |
5830 else | 5826 else |
5831 pkg_failed=yes | 5827 pkg_failed=yes |
5832 fi | 5828 fi |
5833 else | 5829 else |
5844 _pkg_short_errors_supported=yes | 5840 _pkg_short_errors_supported=yes |
5845 else | 5841 else |
5846 _pkg_short_errors_supported=no | 5842 _pkg_short_errors_supported=no |
5847 fi | 5843 fi |
5848 if test $_pkg_short_errors_supported = yes; then | 5844 if test $_pkg_short_errors_supported = yes; then |
5849 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5845 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5850 else | 5846 else |
5851 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5847 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5852 fi | 5848 fi |
5853 # Put the nasty error message in config.log where it belongs | 5849 # Put the nasty error message in config.log where it belongs |
5854 echo "$portaudio_2_0_PKG_ERRORS" >&5 | 5850 echo "$JACK_PKG_ERRORS" >&5 |
5855 | 5851 |
5856 { $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 | 5852 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5857 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5853 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5858 elif test $pkg_failed = untried; then | 5854 elif test $pkg_failed = untried; then |
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5860 $as_echo "no" >&6; } | 5856 $as_echo "no" >&6; } |
5861 { $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 | 5857 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5862 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5858 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5863 else | 5859 else |
5864 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS | 5860 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS |
5865 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS | 5861 JACK_LIBS=$pkg_cv_JACK_LIBS |
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5867 $as_echo "yes" >&6; } | 5863 $as_echo "yes" >&6; } |
5868 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" | 5864 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" |
5869 fi | 5865 fi |
5870 fi | 5866 fi |
5871 if test -n "$SV_MODULE_FAILED"; then | 5867 if test -n "$SV_MODULE_FAILED"; then |
5872 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5868 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5873 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5869 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5929 fi | 5925 fi |
5930 fi | 5926 fi |
5931 fi | 5927 fi |
5932 | 5928 |
5933 | 5929 |
5934 SV_MODULE_MODULE=JACK | 5930 SV_MODULE_MODULE=libpulse |
5935 SV_MODULE_VERSION_TEST="jack >= 0.100" | 5931 SV_MODULE_VERSION_TEST="libpulse >= 0.9" |
5936 SV_MODULE_HEADER=jack/jack.h | 5932 SV_MODULE_HEADER=pulse/pulseaudio.h |
5937 SV_MODULE_LIB=jack | 5933 SV_MODULE_LIB=pulse |
5938 SV_MODULE_FUNC=jack_client_open | 5934 SV_MODULE_FUNC=pa_stream_new |
5939 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') | 5935 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') |
5940 SV_MODULE_FAILED=1 | 5936 SV_MODULE_FAILED=1 |
5941 if test -n "$JACK_LIBS" ; then | 5937 if test -n "$libpulse_LIBS" ; then |
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5938 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5943 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5939 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5944 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" | 5940 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" |
5945 LIBS="$LIBS $JACK_LIBS" | 5941 LIBS="$LIBS $libpulse_LIBS" |
5946 SV_MODULE_FAILED="" | 5942 SV_MODULE_FAILED="" |
5947 fi | 5943 fi |
5948 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5944 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5949 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5945 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5950 fi | 5946 fi |
5951 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5947 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5952 | 5948 |
5953 pkg_failed=no | 5949 pkg_failed=no |
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 | 5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 |
5955 $as_echo_n "checking for JACK... " >&6; } | 5951 $as_echo_n "checking for libpulse... " >&6; } |
5956 | 5952 |
5957 if test -n "$JACK_CFLAGS"; then | 5953 if test -n "$libpulse_CFLAGS"; then |
5958 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" | 5954 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" |
5959 elif test -n "$PKG_CONFIG"; then | 5955 elif test -n "$PKG_CONFIG"; then |
5960 if test -n "$PKG_CONFIG" && \ | 5956 if test -n "$PKG_CONFIG" && \ |
5961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5957 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5962 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5958 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5963 ac_status=$? | 5959 ac_status=$? |
5964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5965 test $ac_status = 0; }; then | 5961 test $ac_status = 0; }; then |
5966 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5962 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5967 test "x$?" != "x0" && pkg_failed=yes | 5963 test "x$?" != "x0" && pkg_failed=yes |
5968 else | 5964 else |
5969 pkg_failed=yes | 5965 pkg_failed=yes |
5970 fi | 5966 fi |
5971 else | 5967 else |
5972 pkg_failed=untried | 5968 pkg_failed=untried |
5973 fi | 5969 fi |
5974 if test -n "$JACK_LIBS"; then | 5970 if test -n "$libpulse_LIBS"; then |
5975 pkg_cv_JACK_LIBS="$JACK_LIBS" | 5971 pkg_cv_libpulse_LIBS="$libpulse_LIBS" |
5976 elif test -n "$PKG_CONFIG"; then | 5972 elif test -n "$PKG_CONFIG"; then |
5977 if test -n "$PKG_CONFIG" && \ | 5973 if test -n "$PKG_CONFIG" && \ |
5978 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5979 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5975 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5980 ac_status=$? | 5976 ac_status=$? |
5981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5982 test $ac_status = 0; }; then | 5978 test $ac_status = 0; }; then |
5983 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5979 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5984 test "x$?" != "x0" && pkg_failed=yes | 5980 test "x$?" != "x0" && pkg_failed=yes |
5985 else | 5981 else |
5986 pkg_failed=yes | 5982 pkg_failed=yes |
5987 fi | 5983 fi |
5988 else | 5984 else |
5999 _pkg_short_errors_supported=yes | 5995 _pkg_short_errors_supported=yes |
6000 else | 5996 else |
6001 _pkg_short_errors_supported=no | 5997 _pkg_short_errors_supported=no |
6002 fi | 5998 fi |
6003 if test $_pkg_short_errors_supported = yes; then | 5999 if test $_pkg_short_errors_supported = yes; then |
6004 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6000 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6005 else | 6001 else |
6006 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6002 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6007 fi | 6003 fi |
6008 # Put the nasty error message in config.log where it belongs | 6004 # Put the nasty error message in config.log where it belongs |
6009 echo "$JACK_PKG_ERRORS" >&5 | 6005 echo "$libpulse_PKG_ERRORS" >&5 |
6010 | 6006 |
6011 { $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 | 6007 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6012 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6008 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6013 elif test $pkg_failed = untried; then | 6009 elif test $pkg_failed = untried; then |
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6015 $as_echo "no" >&6; } | 6011 $as_echo "no" >&6; } |
6016 { $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 | 6012 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6017 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6013 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6018 else | 6014 else |
6019 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS | 6015 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS |
6020 JACK_LIBS=$pkg_cv_JACK_LIBS | 6016 libpulse_LIBS=$pkg_cv_libpulse_LIBS |
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6022 $as_echo "yes" >&6; } | 6018 $as_echo "yes" >&6; } |
6023 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" | 6019 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" |
6024 fi | 6020 fi |
6025 fi | 6021 fi |
6026 if test -n "$SV_MODULE_FAILED"; then | 6022 if test -n "$SV_MODULE_FAILED"; then |
6027 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6023 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6028 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6024 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6084 fi | 6080 fi |
6085 fi | 6081 fi |
6086 fi | 6082 fi |
6087 | 6083 |
6088 | 6084 |
6089 SV_MODULE_MODULE=libpulse | 6085 SV_MODULE_MODULE=lrdf |
6090 SV_MODULE_VERSION_TEST="libpulse >= 0.9" | 6086 SV_MODULE_VERSION_TEST="lrdf >= 0.2" |
6091 SV_MODULE_HEADER=pulse/pulseaudio.h | 6087 SV_MODULE_HEADER=lrdf.h |
6092 SV_MODULE_LIB=pulse | 6088 SV_MODULE_LIB=lrdf |
6093 SV_MODULE_FUNC=pa_stream_new | 6089 SV_MODULE_FUNC=lrdf_init |
6094 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') | 6090 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') |
6095 SV_MODULE_FAILED=1 | 6091 SV_MODULE_FAILED=1 |
6096 if test -n "$libpulse_LIBS" ; then | 6092 if test -n "$lrdf_LIBS" ; then |
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6093 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6098 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6094 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6099 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" | 6095 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" |
6100 LIBS="$LIBS $libpulse_LIBS" | 6096 LIBS="$LIBS $lrdf_LIBS" |
6101 SV_MODULE_FAILED="" | 6097 SV_MODULE_FAILED="" |
6102 fi | 6098 fi |
6103 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6099 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6104 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6100 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6105 fi | 6101 fi |
6106 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6102 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6107 | 6103 |
6108 pkg_failed=no | 6104 pkg_failed=no |
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 | 6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 |
6110 $as_echo_n "checking for libpulse... " >&6; } | 6106 $as_echo_n "checking for lrdf... " >&6; } |
6111 | 6107 |
6112 if test -n "$libpulse_CFLAGS"; then | 6108 if test -n "$lrdf_CFLAGS"; then |
6113 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" | 6109 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" |
6114 elif test -n "$PKG_CONFIG"; then | 6110 elif test -n "$PKG_CONFIG"; then |
6115 if test -n "$PKG_CONFIG" && \ | 6111 if test -n "$PKG_CONFIG" && \ |
6116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6112 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6117 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6113 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6118 ac_status=$? | 6114 ac_status=$? |
6119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6120 test $ac_status = 0; }; then | 6116 test $ac_status = 0; }; then |
6121 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6117 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6122 test "x$?" != "x0" && pkg_failed=yes | 6118 test "x$?" != "x0" && pkg_failed=yes |
6123 else | 6119 else |
6124 pkg_failed=yes | 6120 pkg_failed=yes |
6125 fi | 6121 fi |
6126 else | 6122 else |
6127 pkg_failed=untried | 6123 pkg_failed=untried |
6128 fi | 6124 fi |
6129 if test -n "$libpulse_LIBS"; then | 6125 if test -n "$lrdf_LIBS"; then |
6130 pkg_cv_libpulse_LIBS="$libpulse_LIBS" | 6126 pkg_cv_lrdf_LIBS="$lrdf_LIBS" |
6131 elif test -n "$PKG_CONFIG"; then | 6127 elif test -n "$PKG_CONFIG"; then |
6132 if test -n "$PKG_CONFIG" && \ | 6128 if test -n "$PKG_CONFIG" && \ |
6133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6129 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6134 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6130 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6135 ac_status=$? | 6131 ac_status=$? |
6136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6137 test $ac_status = 0; }; then | 6133 test $ac_status = 0; }; then |
6138 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6134 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6139 test "x$?" != "x0" && pkg_failed=yes | 6135 test "x$?" != "x0" && pkg_failed=yes |
6140 else | 6136 else |
6141 pkg_failed=yes | 6137 pkg_failed=yes |
6142 fi | 6138 fi |
6143 else | 6139 else |
6154 _pkg_short_errors_supported=yes | 6150 _pkg_short_errors_supported=yes |
6155 else | 6151 else |
6156 _pkg_short_errors_supported=no | 6152 _pkg_short_errors_supported=no |
6157 fi | 6153 fi |
6158 if test $_pkg_short_errors_supported = yes; then | 6154 if test $_pkg_short_errors_supported = yes; then |
6159 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6155 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6160 else | 6156 else |
6161 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6157 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6162 fi | 6158 fi |
6163 # Put the nasty error message in config.log where it belongs | 6159 # Put the nasty error message in config.log where it belongs |
6164 echo "$libpulse_PKG_ERRORS" >&5 | 6160 echo "$lrdf_PKG_ERRORS" >&5 |
6165 | 6161 |
6166 { $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 | 6162 { $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 |
6167 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6163 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6168 elif test $pkg_failed = untried; then | 6164 elif test $pkg_failed = untried; then |
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6170 $as_echo "no" >&6; } | 6166 $as_echo "no" >&6; } |
6171 { $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 | 6167 { $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 |
6172 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6168 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6173 else | 6169 else |
6174 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS | 6170 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS |
6175 libpulse_LIBS=$pkg_cv_libpulse_LIBS | 6171 lrdf_LIBS=$pkg_cv_lrdf_LIBS |
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6177 $as_echo "yes" >&6; } | 6173 $as_echo "yes" >&6; } |
6178 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" | 6174 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" |
6179 fi | 6175 fi |
6180 fi | 6176 fi |
6181 if test -n "$SV_MODULE_FAILED"; then | 6177 if test -n "$SV_MODULE_FAILED"; then |
6182 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6178 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6183 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6179 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6239 fi | 6235 fi |
6240 fi | 6236 fi |
6241 fi | 6237 fi |
6242 | 6238 |
6243 | 6239 |
6244 SV_MODULE_MODULE=lrdf | 6240 SV_MODULE_MODULE=oggz |
6245 SV_MODULE_VERSION_TEST="lrdf >= 0.2" | 6241 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" |
6246 SV_MODULE_HEADER=lrdf.h | 6242 SV_MODULE_HEADER=oggz/oggz.h |
6247 SV_MODULE_LIB=lrdf | 6243 SV_MODULE_LIB=oggz |
6248 SV_MODULE_FUNC=lrdf_init | 6244 SV_MODULE_FUNC=oggz_run |
6249 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') | 6245 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') |
6250 SV_MODULE_FAILED=1 | 6246 SV_MODULE_FAILED=1 |
6251 if test -n "$lrdf_LIBS" ; then | 6247 if test -n "$oggz_LIBS" ; then |
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6248 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6253 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6249 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6254 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" | 6250 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" |
6255 LIBS="$LIBS $lrdf_LIBS" | 6251 LIBS="$LIBS $oggz_LIBS" |
6256 SV_MODULE_FAILED="" | 6252 SV_MODULE_FAILED="" |
6257 fi | 6253 fi |
6258 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6254 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6259 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6255 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6260 fi | 6256 fi |
6261 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6257 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6262 | 6258 |
6263 pkg_failed=no | 6259 pkg_failed=no |
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 | 6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 |
6265 $as_echo_n "checking for lrdf... " >&6; } | 6261 $as_echo_n "checking for oggz... " >&6; } |
6266 | 6262 |
6267 if test -n "$lrdf_CFLAGS"; then | 6263 if test -n "$oggz_CFLAGS"; then |
6268 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" | 6264 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" |
6269 elif test -n "$PKG_CONFIG"; then | 6265 elif test -n "$PKG_CONFIG"; then |
6270 if test -n "$PKG_CONFIG" && \ | 6266 if test -n "$PKG_CONFIG" && \ |
6271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6272 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6268 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6273 ac_status=$? | 6269 ac_status=$? |
6274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6275 test $ac_status = 0; }; then | 6271 test $ac_status = 0; }; then |
6276 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6272 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6277 test "x$?" != "x0" && pkg_failed=yes | 6273 test "x$?" != "x0" && pkg_failed=yes |
6278 else | 6274 else |
6279 pkg_failed=yes | 6275 pkg_failed=yes |
6280 fi | 6276 fi |
6281 else | 6277 else |
6282 pkg_failed=untried | 6278 pkg_failed=untried |
6283 fi | 6279 fi |
6284 if test -n "$lrdf_LIBS"; then | 6280 if test -n "$oggz_LIBS"; then |
6285 pkg_cv_lrdf_LIBS="$lrdf_LIBS" | 6281 pkg_cv_oggz_LIBS="$oggz_LIBS" |
6286 elif test -n "$PKG_CONFIG"; then | 6282 elif test -n "$PKG_CONFIG"; then |
6287 if test -n "$PKG_CONFIG" && \ | 6283 if test -n "$PKG_CONFIG" && \ |
6288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6284 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6289 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6285 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6290 ac_status=$? | 6286 ac_status=$? |
6291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6287 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6292 test $ac_status = 0; }; then | 6288 test $ac_status = 0; }; then |
6293 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6289 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6294 test "x$?" != "x0" && pkg_failed=yes | 6290 test "x$?" != "x0" && pkg_failed=yes |
6295 else | 6291 else |
6296 pkg_failed=yes | 6292 pkg_failed=yes |
6297 fi | 6293 fi |
6298 else | 6294 else |
6309 _pkg_short_errors_supported=yes | 6305 _pkg_short_errors_supported=yes |
6310 else | 6306 else |
6311 _pkg_short_errors_supported=no | 6307 _pkg_short_errors_supported=no |
6312 fi | 6308 fi |
6313 if test $_pkg_short_errors_supported = yes; then | 6309 if test $_pkg_short_errors_supported = yes; then |
6314 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6310 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6315 else | 6311 else |
6316 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6312 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6317 fi | 6313 fi |
6318 # Put the nasty error message in config.log where it belongs | 6314 # Put the nasty error message in config.log where it belongs |
6319 echo "$lrdf_PKG_ERRORS" >&5 | 6315 echo "$oggz_PKG_ERRORS" >&5 |
6320 | 6316 |
6321 { $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 | 6317 { $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 |
6322 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6318 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6323 elif test $pkg_failed = untried; then | 6319 elif test $pkg_failed = untried; then |
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6325 $as_echo "no" >&6; } | 6321 $as_echo "no" >&6; } |
6326 { $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 | 6322 { $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 |
6327 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6323 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6328 else | 6324 else |
6329 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS | 6325 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS |
6330 lrdf_LIBS=$pkg_cv_lrdf_LIBS | 6326 oggz_LIBS=$pkg_cv_oggz_LIBS |
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6332 $as_echo "yes" >&6; } | 6328 $as_echo "yes" >&6; } |
6333 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" | 6329 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" |
6334 fi | 6330 fi |
6335 fi | 6331 fi |
6336 if test -n "$SV_MODULE_FAILED"; then | 6332 if test -n "$SV_MODULE_FAILED"; then |
6337 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6333 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6338 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6334 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6394 fi | 6390 fi |
6395 fi | 6391 fi |
6396 fi | 6392 fi |
6397 | 6393 |
6398 | 6394 |
6399 SV_MODULE_MODULE=oggz | 6395 SV_MODULE_MODULE=fishsound |
6400 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" | 6396 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" |
6401 SV_MODULE_HEADER=oggz/oggz.h | 6397 SV_MODULE_HEADER=fishsound/fishsound.h |
6402 SV_MODULE_LIB=oggz | 6398 SV_MODULE_LIB=fishsound |
6403 SV_MODULE_FUNC=oggz_run | 6399 SV_MODULE_FUNC=fish_sound_new |
6404 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') | 6400 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') |
6405 SV_MODULE_FAILED=1 | 6401 SV_MODULE_FAILED=1 |
6406 if test -n "$oggz_LIBS" ; then | 6402 if test -n "$fishsound_LIBS" ; then |
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6403 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6408 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6404 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6409 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" | 6405 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" |
6410 LIBS="$LIBS $oggz_LIBS" | 6406 LIBS="$LIBS $fishsound_LIBS" |
6411 SV_MODULE_FAILED="" | 6407 SV_MODULE_FAILED="" |
6412 fi | 6408 fi |
6413 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6409 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6414 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6410 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6415 fi | 6411 fi |
6416 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6412 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6417 | 6413 |
6418 pkg_failed=no | 6414 pkg_failed=no |
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 | 6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 |
6420 $as_echo_n "checking for oggz... " >&6; } | 6416 $as_echo_n "checking for fishsound... " >&6; } |
6421 | 6417 |
6422 if test -n "$oggz_CFLAGS"; then | 6418 if test -n "$fishsound_CFLAGS"; then |
6423 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" | 6419 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" |
6424 elif test -n "$PKG_CONFIG"; then | 6420 elif test -n "$PKG_CONFIG"; then |
6425 if test -n "$PKG_CONFIG" && \ | 6421 if test -n "$PKG_CONFIG" && \ |
6426 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6427 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6423 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6428 ac_status=$? | 6424 ac_status=$? |
6429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6430 test $ac_status = 0; }; then | 6426 test $ac_status = 0; }; then |
6431 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6427 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6432 test "x$?" != "x0" && pkg_failed=yes | 6428 test "x$?" != "x0" && pkg_failed=yes |
6433 else | 6429 else |
6434 pkg_failed=yes | 6430 pkg_failed=yes |
6435 fi | 6431 fi |
6436 else | 6432 else |
6437 pkg_failed=untried | 6433 pkg_failed=untried |
6438 fi | 6434 fi |
6439 if test -n "$oggz_LIBS"; then | 6435 if test -n "$fishsound_LIBS"; then |
6440 pkg_cv_oggz_LIBS="$oggz_LIBS" | 6436 pkg_cv_fishsound_LIBS="$fishsound_LIBS" |
6441 elif test -n "$PKG_CONFIG"; then | 6437 elif test -n "$PKG_CONFIG"; then |
6442 if test -n "$PKG_CONFIG" && \ | 6438 if test -n "$PKG_CONFIG" && \ |
6443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6439 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6444 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6440 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6445 ac_status=$? | 6441 ac_status=$? |
6446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6447 test $ac_status = 0; }; then | 6443 test $ac_status = 0; }; then |
6448 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6444 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6449 test "x$?" != "x0" && pkg_failed=yes | 6445 test "x$?" != "x0" && pkg_failed=yes |
6450 else | 6446 else |
6451 pkg_failed=yes | 6447 pkg_failed=yes |
6452 fi | 6448 fi |
6453 else | 6449 else |
6464 _pkg_short_errors_supported=yes | 6460 _pkg_short_errors_supported=yes |
6465 else | 6461 else |
6466 _pkg_short_errors_supported=no | 6462 _pkg_short_errors_supported=no |
6467 fi | 6463 fi |
6468 if test $_pkg_short_errors_supported = yes; then | 6464 if test $_pkg_short_errors_supported = yes; then |
6469 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6465 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6470 else | 6466 else |
6471 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6467 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6472 fi | 6468 fi |
6473 # Put the nasty error message in config.log where it belongs | 6469 # Put the nasty error message in config.log where it belongs |
6474 echo "$oggz_PKG_ERRORS" >&5 | 6470 echo "$fishsound_PKG_ERRORS" >&5 |
6475 | 6471 |
6476 { $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 | 6472 { $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 |
6477 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6473 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6478 elif test $pkg_failed = untried; then | 6474 elif test $pkg_failed = untried; then |
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6480 $as_echo "no" >&6; } | 6476 $as_echo "no" >&6; } |
6481 { $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 | 6477 { $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 |
6482 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6478 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6483 else | 6479 else |
6484 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS | 6480 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS |
6485 oggz_LIBS=$pkg_cv_oggz_LIBS | 6481 fishsound_LIBS=$pkg_cv_fishsound_LIBS |
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6487 $as_echo "yes" >&6; } | 6483 $as_echo "yes" >&6; } |
6488 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" | 6484 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" |
6489 fi | 6485 fi |
6490 fi | 6486 fi |
6491 if test -n "$SV_MODULE_FAILED"; then | 6487 if test -n "$SV_MODULE_FAILED"; then |
6492 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6488 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6493 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6489 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6549 fi | 6545 fi |
6550 fi | 6546 fi |
6551 fi | 6547 fi |
6552 | 6548 |
6553 | 6549 |
6554 SV_MODULE_MODULE=fishsound | 6550 SV_MODULE_MODULE=mad |
6555 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" | 6551 SV_MODULE_VERSION_TEST="mad >= 0.15.0" |
6556 SV_MODULE_HEADER=fishsound/fishsound.h | 6552 SV_MODULE_HEADER=mad.h |
6557 SV_MODULE_LIB=fishsound | 6553 SV_MODULE_LIB=mad |
6558 SV_MODULE_FUNC=fish_sound_new | 6554 SV_MODULE_FUNC=mad_decoder_init |
6559 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') | 6555 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') |
6560 SV_MODULE_FAILED=1 | 6556 SV_MODULE_FAILED=1 |
6561 if test -n "$fishsound_LIBS" ; then | 6557 if test -n "$mad_LIBS" ; then |
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6558 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6563 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6559 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6564 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" | 6560 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" |
6565 LIBS="$LIBS $fishsound_LIBS" | 6561 LIBS="$LIBS $mad_LIBS" |
6566 SV_MODULE_FAILED="" | 6562 SV_MODULE_FAILED="" |
6567 fi | 6563 fi |
6568 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6564 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6569 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6565 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6570 fi | 6566 fi |
6571 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6567 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6572 | 6568 |
6573 pkg_failed=no | 6569 pkg_failed=no |
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 | 6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 |
6575 $as_echo_n "checking for fishsound... " >&6; } | 6571 $as_echo_n "checking for mad... " >&6; } |
6576 | 6572 |
6577 if test -n "$fishsound_CFLAGS"; then | 6573 if test -n "$mad_CFLAGS"; then |
6578 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" | 6574 pkg_cv_mad_CFLAGS="$mad_CFLAGS" |
6579 elif test -n "$PKG_CONFIG"; then | 6575 elif test -n "$PKG_CONFIG"; then |
6580 if test -n "$PKG_CONFIG" && \ | 6576 if test -n "$PKG_CONFIG" && \ |
6581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6577 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6582 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6578 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6583 ac_status=$? | 6579 ac_status=$? |
6584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6585 test $ac_status = 0; }; then | 6581 test $ac_status = 0; }; then |
6586 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6582 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6587 test "x$?" != "x0" && pkg_failed=yes | 6583 test "x$?" != "x0" && pkg_failed=yes |
6588 else | 6584 else |
6589 pkg_failed=yes | 6585 pkg_failed=yes |
6590 fi | 6586 fi |
6591 else | 6587 else |
6592 pkg_failed=untried | 6588 pkg_failed=untried |
6593 fi | 6589 fi |
6594 if test -n "$fishsound_LIBS"; then | 6590 if test -n "$mad_LIBS"; then |
6595 pkg_cv_fishsound_LIBS="$fishsound_LIBS" | 6591 pkg_cv_mad_LIBS="$mad_LIBS" |
6596 elif test -n "$PKG_CONFIG"; then | 6592 elif test -n "$PKG_CONFIG"; then |
6597 if test -n "$PKG_CONFIG" && \ | 6593 if test -n "$PKG_CONFIG" && \ |
6598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6594 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6599 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6595 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6600 ac_status=$? | 6596 ac_status=$? |
6601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6602 test $ac_status = 0; }; then | 6598 test $ac_status = 0; }; then |
6603 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6599 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6604 test "x$?" != "x0" && pkg_failed=yes | 6600 test "x$?" != "x0" && pkg_failed=yes |
6605 else | 6601 else |
6606 pkg_failed=yes | 6602 pkg_failed=yes |
6607 fi | 6603 fi |
6608 else | 6604 else |
6619 _pkg_short_errors_supported=yes | 6615 _pkg_short_errors_supported=yes |
6620 else | 6616 else |
6621 _pkg_short_errors_supported=no | 6617 _pkg_short_errors_supported=no |
6622 fi | 6618 fi |
6623 if test $_pkg_short_errors_supported = yes; then | 6619 if test $_pkg_short_errors_supported = yes; then |
6624 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6620 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6625 else | 6621 else |
6626 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6622 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6627 fi | 6623 fi |
6628 # Put the nasty error message in config.log where it belongs | 6624 # Put the nasty error message in config.log where it belongs |
6629 echo "$fishsound_PKG_ERRORS" >&5 | 6625 echo "$mad_PKG_ERRORS" >&5 |
6630 | 6626 |
6631 { $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 | 6627 { $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 |
6632 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6628 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6633 elif test $pkg_failed = untried; then | 6629 elif test $pkg_failed = untried; then |
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6635 $as_echo "no" >&6; } | 6631 $as_echo "no" >&6; } |
6636 { $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 | 6632 { $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 |
6637 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6633 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6638 else | 6634 else |
6639 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS | 6635 mad_CFLAGS=$pkg_cv_mad_CFLAGS |
6640 fishsound_LIBS=$pkg_cv_fishsound_LIBS | 6636 mad_LIBS=$pkg_cv_mad_LIBS |
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6642 $as_echo "yes" >&6; } | 6638 $as_echo "yes" >&6; } |
6643 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" | 6639 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" |
6644 fi | 6640 fi |
6645 fi | 6641 fi |
6646 if test -n "$SV_MODULE_FAILED"; then | 6642 if test -n "$SV_MODULE_FAILED"; then |
6647 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6643 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6648 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6644 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6704 fi | 6700 fi |
6705 fi | 6701 fi |
6706 fi | 6702 fi |
6707 | 6703 |
6708 | 6704 |
6709 SV_MODULE_MODULE=mad | 6705 SV_MODULE_MODULE=id3tag |
6710 SV_MODULE_VERSION_TEST="mad >= 0.15.0" | 6706 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" |
6711 SV_MODULE_HEADER=mad.h | 6707 SV_MODULE_HEADER=id3tag.h |
6712 SV_MODULE_LIB=mad | 6708 SV_MODULE_LIB=id3tag |
6713 SV_MODULE_FUNC=mad_decoder_init | 6709 SV_MODULE_FUNC=id3_tag_new |
6714 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') | 6710 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') |
6715 SV_MODULE_FAILED=1 | 6711 SV_MODULE_FAILED=1 |
6716 if test -n "$mad_LIBS" ; then | 6712 if test -n "$id3tag_LIBS" ; then |
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6713 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6718 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6714 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6719 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" | 6715 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" |
6720 LIBS="$LIBS $mad_LIBS" | 6716 LIBS="$LIBS $id3tag_LIBS" |
6721 SV_MODULE_FAILED="" | 6717 SV_MODULE_FAILED="" |
6722 fi | 6718 fi |
6723 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6719 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6724 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6720 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6725 fi | 6721 fi |
6726 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6722 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6727 | 6723 |
6728 pkg_failed=no | 6724 pkg_failed=no |
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 | 6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 |
6730 $as_echo_n "checking for mad... " >&6; } | 6726 $as_echo_n "checking for id3tag... " >&6; } |
6731 | 6727 |
6732 if test -n "$mad_CFLAGS"; then | 6728 if test -n "$id3tag_CFLAGS"; then |
6733 pkg_cv_mad_CFLAGS="$mad_CFLAGS" | 6729 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" |
6734 elif test -n "$PKG_CONFIG"; then | 6730 elif test -n "$PKG_CONFIG"; then |
6735 if test -n "$PKG_CONFIG" && \ | 6731 if test -n "$PKG_CONFIG" && \ |
6736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6732 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6737 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6733 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6738 ac_status=$? | 6734 ac_status=$? |
6739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6740 test $ac_status = 0; }; then | 6736 test $ac_status = 0; }; then |
6741 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6737 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6742 test "x$?" != "x0" && pkg_failed=yes | 6738 test "x$?" != "x0" && pkg_failed=yes |
6743 else | 6739 else |
6744 pkg_failed=yes | 6740 pkg_failed=yes |
6745 fi | 6741 fi |
6746 else | 6742 else |
6747 pkg_failed=untried | 6743 pkg_failed=untried |
6748 fi | 6744 fi |
6749 if test -n "$mad_LIBS"; then | 6745 if test -n "$id3tag_LIBS"; then |
6750 pkg_cv_mad_LIBS="$mad_LIBS" | 6746 pkg_cv_id3tag_LIBS="$id3tag_LIBS" |
6751 elif test -n "$PKG_CONFIG"; then | 6747 elif test -n "$PKG_CONFIG"; then |
6752 if test -n "$PKG_CONFIG" && \ | 6748 if test -n "$PKG_CONFIG" && \ |
6753 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6754 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6750 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6755 ac_status=$? | 6751 ac_status=$? |
6756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6757 test $ac_status = 0; }; then | 6753 test $ac_status = 0; }; then |
6758 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6754 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6759 test "x$?" != "x0" && pkg_failed=yes | 6755 test "x$?" != "x0" && pkg_failed=yes |
6760 else | 6756 else |
6761 pkg_failed=yes | 6757 pkg_failed=yes |
6762 fi | 6758 fi |
6763 else | 6759 else |
6774 _pkg_short_errors_supported=yes | 6770 _pkg_short_errors_supported=yes |
6775 else | 6771 else |
6776 _pkg_short_errors_supported=no | 6772 _pkg_short_errors_supported=no |
6777 fi | 6773 fi |
6778 if test $_pkg_short_errors_supported = yes; then | 6774 if test $_pkg_short_errors_supported = yes; then |
6779 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6775 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6780 else | 6776 else |
6781 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6777 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6782 fi | 6778 fi |
6783 # Put the nasty error message in config.log where it belongs | 6779 # Put the nasty error message in config.log where it belongs |
6784 echo "$mad_PKG_ERRORS" >&5 | 6780 echo "$id3tag_PKG_ERRORS" >&5 |
6785 | 6781 |
6786 { $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 | 6782 { $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 |
6787 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6783 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6788 elif test $pkg_failed = untried; then | 6784 elif test $pkg_failed = untried; then |
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6790 $as_echo "no" >&6; } | 6786 $as_echo "no" >&6; } |
6791 { $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 | 6787 { $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 |
6792 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6788 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6793 else | 6789 else |
6794 mad_CFLAGS=$pkg_cv_mad_CFLAGS | 6790 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS |
6795 mad_LIBS=$pkg_cv_mad_LIBS | 6791 id3tag_LIBS=$pkg_cv_id3tag_LIBS |
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6797 $as_echo "yes" >&6; } | 6793 $as_echo "yes" >&6; } |
6798 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" | 6794 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" |
6799 fi | 6795 fi |
6800 fi | 6796 fi |
6801 if test -n "$SV_MODULE_FAILED"; then | 6797 if test -n "$SV_MODULE_FAILED"; then |
6802 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6798 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6803 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6799 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6858 | 6854 |
6859 fi | 6855 fi |
6860 fi | 6856 fi |
6861 fi | 6857 fi |
6862 | 6858 |
6863 | |
6864 SV_MODULE_MODULE=id3tag | |
6865 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" | |
6866 SV_MODULE_HEADER=id3tag.h | |
6867 SV_MODULE_LIB=id3tag | |
6868 SV_MODULE_FUNC=id3_tag_new | |
6869 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') | |
6870 SV_MODULE_FAILED=1 | |
6871 if test -n "$id3tag_LIBS" ; then | |
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
6873 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
6874 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" | |
6875 LIBS="$LIBS $id3tag_LIBS" | |
6876 SV_MODULE_FAILED="" | |
6877 fi | |
6878 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
6879 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
6880 fi | |
6881 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
6882 | |
6883 pkg_failed=no | |
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 | |
6885 $as_echo_n "checking for id3tag... " >&6; } | |
6886 | |
6887 if test -n "$id3tag_CFLAGS"; then | |
6888 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" | |
6889 elif test -n "$PKG_CONFIG"; then | |
6890 if test -n "$PKG_CONFIG" && \ | |
6891 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
6892 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
6893 ac_status=$? | |
6894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6895 test $ac_status = 0; }; then | |
6896 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
6897 test "x$?" != "x0" && pkg_failed=yes | |
6898 else | |
6899 pkg_failed=yes | |
6900 fi | |
6901 else | |
6902 pkg_failed=untried | |
6903 fi | |
6904 if test -n "$id3tag_LIBS"; then | |
6905 pkg_cv_id3tag_LIBS="$id3tag_LIBS" | |
6906 elif test -n "$PKG_CONFIG"; then | |
6907 if test -n "$PKG_CONFIG" && \ | |
6908 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
6909 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
6910 ac_status=$? | |
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
6912 test $ac_status = 0; }; then | |
6913 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
6914 test "x$?" != "x0" && pkg_failed=yes | |
6915 else | |
6916 pkg_failed=yes | |
6917 fi | |
6918 else | |
6919 pkg_failed=untried | |
6920 fi | |
6921 | |
6922 | |
6923 | |
6924 if test $pkg_failed = yes; then | |
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6926 $as_echo "no" >&6; } | |
6927 | |
6928 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
6929 _pkg_short_errors_supported=yes | |
6930 else | |
6931 _pkg_short_errors_supported=no | |
6932 fi | |
6933 if test $_pkg_short_errors_supported = yes; then | |
6934 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
6935 else | |
6936 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
6937 fi | |
6938 # Put the nasty error message in config.log where it belongs | |
6939 echo "$id3tag_PKG_ERRORS" >&5 | |
6940 | |
6941 { $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 | |
6942 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6943 elif test $pkg_failed = untried; then | |
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
6945 $as_echo "no" >&6; } | |
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | |
6947 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
6948 else | |
6949 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS | |
6950 id3tag_LIBS=$pkg_cv_id3tag_LIBS | |
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
6952 $as_echo "yes" >&6; } | |
6953 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" | |
6954 fi | |
6955 fi | |
6956 if test -n "$SV_MODULE_FAILED"; then | |
6957 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
6958 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
6959 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
6960 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
6961 else | |
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
6963 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
6964 fi | |
6965 | |
6966 | |
6967 if test -z "$SV_MODULE_FAILED"; then | |
6968 if test -n "$SV_MODULE_LIB"; then | |
6969 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
6971 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
6972 if eval \${$as_ac_Lib+:} false; then : | |
6973 $as_echo_n "(cached) " >&6 | |
6974 else | |
6975 ac_check_lib_save_LIBS=$LIBS | |
6976 LIBS="-l$SV_MODULE_LIB $LIBS" | |
6977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
6978 /* end confdefs.h. */ | |
6979 | |
6980 /* Override any GCC internal prototype to avoid an error. | |
6981 Use char because int might match the return type of a GCC | |
6982 builtin and then its argument prototype would still apply. */ | |
6983 #ifdef __cplusplus | |
6984 extern "C" | |
6985 #endif | |
6986 char $SV_MODULE_FUNC (); | |
6987 int | |
6988 main () | |
6989 { | |
6990 return $SV_MODULE_FUNC (); | |
6991 ; | |
6992 return 0; | |
6993 } | |
6994 _ACEOF | |
6995 if ac_fn_cxx_try_link "$LINENO"; then : | |
6996 eval "$as_ac_Lib=yes" | |
6997 else | |
6998 eval "$as_ac_Lib=no" | |
6999 fi | |
7000 rm -f core conftest.err conftest.$ac_objext \ | |
7001 conftest$ac_exeext conftest.$ac_ext | |
7002 LIBS=$ac_check_lib_save_LIBS | |
7003 fi | |
7004 eval ac_res=\$$as_ac_Lib | |
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
7006 $as_echo "$ac_res" >&6; } | |
7007 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
7008 LIBS="$LIBS -l$SV_MODULE_LIB" | |
7009 else | |
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
7011 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
7012 fi | |
7013 | |
7014 fi | |
7015 fi | |
7016 fi | |
7017 | 6859 |
7018 | 6860 |
7019 | 6861 |
7020 | 6862 |
7021 | 6863 |
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 8195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
8354 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 8196 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
8355 fi | 8197 fi |
8356 | 8198 |
8357 | 8199 |
8358 if ! $QMAKE -r; then | 8200 if ! $QMAKE -r sonic-annotator.pro; then |
8359 as_fn_error $? "qmake failed: Command was \"$QMAKE -r\"" "$LINENO" 5 | 8201 as_fn_error $? "qmake failed: Command was \"$QMAKE -r\"" "$LINENO" 5 |
8360 fi | 8202 fi |
8361 | 8203 |
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: | 8204 { $as_echo "$as_me:${as_lineno-$LINENO}: |
8363 | 8205 |