Mercurial > hg > tony
comparison configure @ 50:8b7383948381
Bring in latest build fixes etc from SV -- now builds with either Qt4 or Qt5
author | Chris Cannam |
---|---|
date | Fri, 12 Jul 2013 15:26:11 +0100 |
parents | ca1889e54806 |
children | e924ca4a46ed |
comparison
equal
deleted
inserted
replaced
48:3d096cecb44f | 50:8b7383948381 |
---|---|
1 #! /bin/sh | 1 #! /bin/sh |
2 # Guess values for system-dependent variables and create Makefiles. | 2 # Guess values for system-dependent variables and create Makefiles. |
3 # Generated by GNU Autoconf 2.69 for Tony 0.0. | 3 # Generated by GNU Autoconf 2.69 for Tony 0.1. |
4 # | 4 # |
5 # Report bugs to <cannam@all-day-breakfast.com>. | 5 # Report bugs to <cannam@all-day-breakfast.com>. |
6 # | 6 # |
7 # | 7 # |
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. | 8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
578 MAKEFLAGS= | 578 MAKEFLAGS= |
579 | 579 |
580 # Identity of this package. | 580 # Identity of this package. |
581 PACKAGE_NAME='Tony' | 581 PACKAGE_NAME='Tony' |
582 PACKAGE_TARNAME='tony' | 582 PACKAGE_TARNAME='tony' |
583 PACKAGE_VERSION='0.0' | 583 PACKAGE_VERSION='0.1' |
584 PACKAGE_STRING='Tony 0.0' | 584 PACKAGE_STRING='Tony 0.1' |
585 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' | 585 PACKAGE_BUGREPORT='cannam@all-day-breakfast.com' |
586 PACKAGE_URL='' | 586 PACKAGE_URL='' |
587 | 587 |
588 ac_unique_file="src/main.cpp" | 588 ac_unique_file="src/main.cpp" |
589 # Factoring default headers for most tests. | 589 # Factoring default headers for most tests. |
654 portaudio_2_0_CFLAGS | 654 portaudio_2_0_CFLAGS |
655 liblo_LIBS | 655 liblo_LIBS |
656 liblo_CFLAGS | 656 liblo_CFLAGS |
657 dataquay_LIBS | 657 dataquay_LIBS |
658 dataquay_CFLAGS | 658 dataquay_CFLAGS |
659 serd_LIBS | |
660 serd_CFLAGS | |
661 sord_LIBS | |
662 sord_CFLAGS | |
659 rubberband_LIBS | 663 rubberband_LIBS |
660 rubberband_CFLAGS | 664 rubberband_CFLAGS |
661 vamphostsdk_LIBS | 665 vamphostsdk_LIBS |
662 vamphostsdk_CFLAGS | 666 vamphostsdk_CFLAGS |
663 vamp_LIBS | 667 vamp_LIBS |
765 vamp_LIBS | 769 vamp_LIBS |
766 vamphostsdk_CFLAGS | 770 vamphostsdk_CFLAGS |
767 vamphostsdk_LIBS | 771 vamphostsdk_LIBS |
768 rubberband_CFLAGS | 772 rubberband_CFLAGS |
769 rubberband_LIBS | 773 rubberband_LIBS |
774 sord_CFLAGS | |
775 sord_LIBS | |
776 serd_CFLAGS | |
777 serd_LIBS | |
770 dataquay_CFLAGS | 778 dataquay_CFLAGS |
771 dataquay_LIBS | 779 dataquay_LIBS |
772 liblo_CFLAGS | 780 liblo_CFLAGS |
773 liblo_LIBS | 781 liblo_LIBS |
774 portaudio_2_0_CFLAGS | 782 portaudio_2_0_CFLAGS |
1327 # | 1335 # |
1328 if test "$ac_init_help" = "long"; then | 1336 if test "$ac_init_help" = "long"; then |
1329 # Omit some internal or obsolete options to make the list less imposing. | 1337 # Omit some internal or obsolete options to make the list less imposing. |
1330 # This message is too long to be a string in the A/UX 3.1 sh. | 1338 # This message is too long to be a string in the A/UX 3.1 sh. |
1331 cat <<_ACEOF | 1339 cat <<_ACEOF |
1332 \`configure' configures Tony 0.0 to adapt to many kinds of systems. | 1340 \`configure' configures Tony 0.1 to adapt to many kinds of systems. |
1333 | 1341 |
1334 Usage: $0 [OPTION]... [VAR=VALUE]... | 1342 Usage: $0 [OPTION]... [VAR=VALUE]... |
1335 | 1343 |
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as | 1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1337 VAR=VALUE. See below for descriptions of some of the useful variables. | 1345 VAR=VALUE. See below for descriptions of some of the useful variables. |
1388 _ACEOF | 1396 _ACEOF |
1389 fi | 1397 fi |
1390 | 1398 |
1391 if test -n "$ac_init_help"; then | 1399 if test -n "$ac_init_help"; then |
1392 case $ac_init_help in | 1400 case $ac_init_help in |
1393 short | recursive ) echo "Configuration of Tony 0.0:";; | 1401 short | recursive ) echo "Configuration of Tony 0.1:";; |
1394 esac | 1402 esac |
1395 cat <<\_ACEOF | 1403 cat <<\_ACEOF |
1396 | 1404 |
1397 Optional Features: | 1405 Optional Features: |
1398 --disable-option-checking ignore unrecognized --enable/--with options | 1406 --disable-option-checking ignore unrecognized --enable/--with options |
1440 linker flags for vamphostsdk, overriding pkg-config | 1448 linker flags for vamphostsdk, overriding pkg-config |
1441 rubberband_CFLAGS | 1449 rubberband_CFLAGS |
1442 C compiler flags for rubberband, overriding pkg-config | 1450 C compiler flags for rubberband, overriding pkg-config |
1443 rubberband_LIBS | 1451 rubberband_LIBS |
1444 linker flags for rubberband, overriding pkg-config | 1452 linker flags for rubberband, overriding pkg-config |
1453 sord_CFLAGS C compiler flags for sord, overriding pkg-config | |
1454 sord_LIBS linker flags for sord, overriding pkg-config | |
1455 serd_CFLAGS C compiler flags for serd, overriding pkg-config | |
1456 serd_LIBS linker flags for serd, overriding pkg-config | |
1445 dataquay_CFLAGS | 1457 dataquay_CFLAGS |
1446 C compiler flags for dataquay, overriding pkg-config | 1458 C compiler flags for dataquay, overriding pkg-config |
1447 dataquay_LIBS | 1459 dataquay_LIBS |
1448 linker flags for dataquay, overriding pkg-config | 1460 linker flags for dataquay, overriding pkg-config |
1449 liblo_CFLAGS | 1461 liblo_CFLAGS |
1539 fi | 1551 fi |
1540 | 1552 |
1541 test -n "$ac_init_help" && exit $ac_status | 1553 test -n "$ac_init_help" && exit $ac_status |
1542 if $ac_init_version; then | 1554 if $ac_init_version; then |
1543 cat <<\_ACEOF | 1555 cat <<\_ACEOF |
1544 Tony configure 0.0 | 1556 Tony configure 0.1 |
1545 generated by GNU Autoconf 2.69 | 1557 generated by GNU Autoconf 2.69 |
1546 | 1558 |
1547 Copyright (C) 2012 Free Software Foundation, Inc. | 1559 Copyright (C) 2012 Free Software Foundation, Inc. |
1548 This configure script is free software; the Free Software Foundation | 1560 This configure script is free software; the Free Software Foundation |
1549 gives unlimited permission to copy, distribute and modify it. | 1561 gives unlimited permission to copy, distribute and modify it. |
1879 } # ac_fn_cxx_try_link | 1891 } # ac_fn_cxx_try_link |
1880 cat >config.log <<_ACEOF | 1892 cat >config.log <<_ACEOF |
1881 This file contains any messages produced by compilers while | 1893 This file contains any messages produced by compilers while |
1882 running configure, to aid debugging if configure makes a mistake. | 1894 running configure, to aid debugging if configure makes a mistake. |
1883 | 1895 |
1884 It was created by Tony $as_me 0.0, which was | 1896 It was created by Tony $as_me 0.1, which was |
1885 generated by GNU Autoconf 2.69. Invocation command line was | 1897 generated by GNU Autoconf 2.69. Invocation command line was |
1886 | 1898 |
1887 $ $0 $@ | 1899 $ $0 $@ |
1888 | 1900 |
1889 _ACEOF | 1901 _ACEOF |
3971 | 3983 |
3972 | 3984 |
3973 | 3985 |
3974 | 3986 |
3975 if test x$QMAKE = x ; then | 3987 if test x$QMAKE = x ; then |
3976 # Extract the first word of "qmake-qt4", so it can be a program name with args. | 3988 # Extract the first word of "qmake-qt5", so it can be a program name with args. |
3977 set dummy qmake-qt4; ac_word=$2 | 3989 set dummy qmake-qt5; ac_word=$2 |
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3979 $as_echo_n "checking for $ac_word... " >&6; } | 3991 $as_echo_n "checking for $ac_word... " >&6; } |
3980 if ${ac_cv_prog_QMAKE+:} false; then : | 3992 if ${ac_cv_prog_QMAKE+:} false; then : |
3981 $as_echo_n "(cached) " >&6 | 3993 $as_echo_n "(cached) " >&6 |
3982 else | 3994 else |
3988 do | 4000 do |
3989 IFS=$as_save_IFS | 4001 IFS=$as_save_IFS |
3990 test -z "$as_dir" && as_dir=. | 4002 test -z "$as_dir" && as_dir=. |
3991 for ac_exec_ext in '' $ac_executable_extensions; do | 4003 for ac_exec_ext in '' $ac_executable_extensions; do |
3992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3993 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt4" | 4005 ac_cv_prog_QMAKE="$QTDIR/bin/qmake-qt5" |
3994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3995 break 2 | 4007 break 2 |
3996 fi | 4008 fi |
3997 done | 4009 done |
3998 done | 4010 done |
4088 fi | 4100 fi |
4089 | 4101 |
4090 | 4102 |
4091 fi | 4103 fi |
4092 if test x$QMAKE = x ; then | 4104 if test x$QMAKE = x ; then |
4093 # Extract the first word of "qmake-qt4", so it can be a program name with args. | 4105 # Extract the first word of "qmake-qt5", so it can be a program name with args. |
4094 set dummy qmake-qt4; ac_word=$2 | 4106 set dummy qmake-qt5; ac_word=$2 |
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4096 $as_echo_n "checking for $ac_word... " >&6; } | 4108 $as_echo_n "checking for $ac_word... " >&6; } |
4097 if ${ac_cv_prog_QMAKE+:} false; then : | 4109 if ${ac_cv_prog_QMAKE+:} false; then : |
4098 $as_echo_n "(cached) " >&6 | 4110 $as_echo_n "(cached) " >&6 |
4099 else | 4111 else |
4105 do | 4117 do |
4106 IFS=$as_save_IFS | 4118 IFS=$as_save_IFS |
4107 test -z "$as_dir" && as_dir=. | 4119 test -z "$as_dir" && as_dir=. |
4108 for ac_exec_ext in '' $ac_executable_extensions; do | 4120 for ac_exec_ext in '' $ac_executable_extensions; do |
4109 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 4121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
4110 ac_cv_prog_QMAKE="qmake-qt4" | 4122 ac_cv_prog_QMAKE="qmake-qt5" |
4111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4112 break 2 | 4124 break 2 |
4113 fi | 4125 fi |
4114 done | 4126 done |
4115 done | 4127 done |
4167 | 4179 |
4168 | 4180 |
4169 fi | 4181 fi |
4170 if test x$QMAKE = x ; then | 4182 if test x$QMAKE = x ; then |
4171 as_fn_error $? " | 4183 as_fn_error $? " |
4172 Failed to find the required qmake-qt4 or qmake program. Please | 4184 Failed to find the required qmake-qt5 or qmake program. Please |
4173 ensure you have the necessary Qt4 development files installed, and | 4185 ensure you have the necessary Qt5 development files installed, and |
4174 if necessary set QTDIR to the location of your Qt4 installation. | 4186 if necessary set QTDIR to the location of your Qt5 installation. |
4175 " "$LINENO" 5 | 4187 " "$LINENO" 5 |
4176 fi | 4188 fi |
4177 | 4189 |
4178 # Suitable versions of qmake should print out something like: | 4190 # Suitable versions of qmake should print out something like: |
4179 # | 4191 # |
4183 # This may be translated, so we check only for the numbers (2.x and 4.x | 4195 # This may be translated, so we check only for the numbers (2.x and 4.x |
4184 # in that order). | 4196 # in that order). |
4185 # | 4197 # |
4186 QMAKE_VERSION_OUTPUT=`$QMAKE -v` | 4198 QMAKE_VERSION_OUTPUT=`$QMAKE -v` |
4187 case "$QMAKE_VERSION_OUTPUT" in | 4199 case "$QMAKE_VERSION_OUTPUT" in |
4188 *2.*4.*) ;; | 4200 *5.*) ;; |
4189 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: | 4201 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: |
4190 *** The version of qmake found in \"$QMAKE\" looks like it might be | 4202 *** The version of qmake found in \"$QMAKE\" looks like it might be |
4191 from the wrong version of Qt (Qt4 is required). Please check | 4203 from the wrong version of Qt (Qt5 is required). Please check |
4192 that this is the correct version of qmake for Qt4 builds. | 4204 that this is the correct version of qmake for Qt5 builds. |
4193 " >&5 | 4205 " >&5 |
4194 $as_echo "$as_me: WARNING: | 4206 $as_echo "$as_me: WARNING: |
4195 *** The version of qmake found in \"$QMAKE\" looks like it might be | 4207 *** The version of qmake found in \"$QMAKE\" looks like it might be |
4196 from the wrong version of Qt (Qt4 is required). Please check | 4208 from the wrong version of Qt (Qt5 is required). Please check |
4197 that this is the correct version of qmake for Qt4 builds. | 4209 that this is the correct version of qmake for Qt5 builds. |
4198 " >&2;} | 4210 " >&2;} |
4199 esac | 4211 esac |
4200 | 4212 |
4201 case "`uname`" in | 4213 case "`uname`" in |
4202 *Darwin*) QMAKE="$QMAKE -spec macx-g++";; | 4214 *Darwin*) QMAKE="$QMAKE -spec macx-g++";; |
5172 fi | 5184 fi |
5173 fi | 5185 fi |
5174 | 5186 |
5175 | 5187 |
5176 SV_MODULE_MODULE=vamphostsdk | 5188 SV_MODULE_MODULE=vamphostsdk |
5177 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.3.1" | 5189 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.5" |
5178 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h | 5190 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h |
5179 SV_MODULE_LIB=vamp-hostsdk | 5191 SV_MODULE_LIB=vamp-hostsdk |
5180 SV_MODULE_FUNC=libvamphostsdk_v_2_3_1_present | 5192 SV_MODULE_FUNC=libvamphostsdk_v_2_5_present |
5181 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') | 5193 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') |
5182 SV_MODULE_FAILED=1 | 5194 SV_MODULE_FAILED=1 |
5183 if test -n "$vamphostsdk_LIBS" ; then | 5195 if test -n "$vamphostsdk_LIBS" ; then |
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5196 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5185 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5197 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5473 | 5485 |
5474 fi | 5486 fi |
5475 fi | 5487 fi |
5476 | 5488 |
5477 | 5489 |
5478 SV_MODULE_MODULE=dataquay | 5490 SV_MODULE_MODULE=sord |
5479 SV_MODULE_VERSION_TEST="dataquay >= 0.9" | 5491 SV_MODULE_VERSION_TEST="sord-0 >= 0.5" |
5480 SV_MODULE_HEADER=dataquay/Uri.h | 5492 SV_MODULE_HEADER=sord/sord.h |
5481 SV_MODULE_LIB=dataquay | 5493 SV_MODULE_LIB=sord-0 |
5482 SV_MODULE_FUNC=dataquay_v_0_9_present | 5494 SV_MODULE_FUNC=sord_world_new |
5483 SV_MODULE_HAVE=HAVE_$(echo dataquay | tr 'a-z' 'A-Z') | 5495 SV_MODULE_HAVE=HAVE_$(echo sord | tr 'a-z' 'A-Z') |
5484 SV_MODULE_FAILED=1 | 5496 SV_MODULE_FAILED=1 |
5485 if test -n "$dataquay_LIBS" ; then | 5497 if test -n "$sord_LIBS" ; then |
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5498 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5487 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5499 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5488 CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS" | 5500 CXXFLAGS="$CXXFLAGS $sord_CFLAGS" |
5489 LIBS="$LIBS $dataquay_LIBS" | 5501 LIBS="$LIBS $sord_LIBS" |
5490 SV_MODULE_FAILED="" | 5502 SV_MODULE_FAILED="" |
5491 fi | 5503 fi |
5492 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5504 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5493 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5505 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5494 fi | 5506 fi |
5495 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5507 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5496 | 5508 |
5497 pkg_failed=no | 5509 pkg_failed=no |
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dataquay" >&5 | 5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sord" >&5 |
5499 $as_echo_n "checking for dataquay... " >&6; } | 5511 $as_echo_n "checking for sord... " >&6; } |
5500 | 5512 |
5501 if test -n "$dataquay_CFLAGS"; then | 5513 if test -n "$sord_CFLAGS"; then |
5502 pkg_cv_dataquay_CFLAGS="$dataquay_CFLAGS" | 5514 pkg_cv_sord_CFLAGS="$sord_CFLAGS" |
5503 elif test -n "$PKG_CONFIG"; then | 5515 elif test -n "$PKG_CONFIG"; then |
5504 if test -n "$PKG_CONFIG" && \ | 5516 if test -n "$PKG_CONFIG" && \ |
5505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5517 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5506 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5518 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5507 ac_status=$? | 5519 ac_status=$? |
5508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5509 test $ac_status = 0; }; then | 5521 test $ac_status = 0; }; then |
5510 pkg_cv_dataquay_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5522 pkg_cv_sord_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5511 test "x$?" != "x0" && pkg_failed=yes | 5523 test "x$?" != "x0" && pkg_failed=yes |
5512 else | 5524 else |
5513 pkg_failed=yes | 5525 pkg_failed=yes |
5514 fi | 5526 fi |
5515 else | 5527 else |
5516 pkg_failed=untried | 5528 pkg_failed=untried |
5517 fi | 5529 fi |
5518 if test -n "$dataquay_LIBS"; then | 5530 if test -n "$sord_LIBS"; then |
5519 pkg_cv_dataquay_LIBS="$dataquay_LIBS" | 5531 pkg_cv_sord_LIBS="$sord_LIBS" |
5520 elif test -n "$PKG_CONFIG"; then | 5532 elif test -n "$PKG_CONFIG"; then |
5521 if test -n "$PKG_CONFIG" && \ | 5533 if test -n "$PKG_CONFIG" && \ |
5522 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5523 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5535 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5524 ac_status=$? | 5536 ac_status=$? |
5525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5526 test $ac_status = 0; }; then | 5538 test $ac_status = 0; }; then |
5527 pkg_cv_dataquay_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5539 pkg_cv_sord_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5528 test "x$?" != "x0" && pkg_failed=yes | 5540 test "x$?" != "x0" && pkg_failed=yes |
5529 else | 5541 else |
5530 pkg_failed=yes | 5542 pkg_failed=yes |
5531 fi | 5543 fi |
5532 else | 5544 else |
5543 _pkg_short_errors_supported=yes | 5555 _pkg_short_errors_supported=yes |
5544 else | 5556 else |
5545 _pkg_short_errors_supported=no | 5557 _pkg_short_errors_supported=no |
5546 fi | 5558 fi |
5547 if test $_pkg_short_errors_supported = yes; then | 5559 if test $_pkg_short_errors_supported = yes; then |
5548 dataquay_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5560 sord_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5549 else | 5561 else |
5550 dataquay_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5562 sord_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5551 fi | 5563 fi |
5552 # Put the nasty error message in config.log where it belongs | 5564 # Put the nasty error message in config.log where it belongs |
5553 echo "$dataquay_PKG_ERRORS" >&5 | 5565 echo "$sord_PKG_ERRORS" >&5 |
5554 | 5566 |
5555 { $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 | 5567 { $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 |
5556 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5568 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5557 elif test $pkg_failed = untried; then | 5569 elif test $pkg_failed = untried; then |
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5559 $as_echo "no" >&6; } | 5571 $as_echo "no" >&6; } |
5560 { $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 | 5572 { $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 |
5561 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5573 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5562 else | 5574 else |
5563 dataquay_CFLAGS=$pkg_cv_dataquay_CFLAGS | 5575 sord_CFLAGS=$pkg_cv_sord_CFLAGS |
5564 dataquay_LIBS=$pkg_cv_dataquay_LIBS | 5576 sord_LIBS=$pkg_cv_sord_LIBS |
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5566 $as_echo "yes" >&6; } | 5578 $as_echo "yes" >&6; } |
5567 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS";LIBS="$LIBS $dataquay_LIBS";SV_MODULE_FAILED="" | 5579 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $sord_CFLAGS";LIBS="$LIBS $sord_LIBS";SV_MODULE_FAILED="" |
5568 fi | 5580 fi |
5569 fi | 5581 fi |
5570 if test -n "$SV_MODULE_FAILED"; then | 5582 if test -n "$SV_MODULE_FAILED"; then |
5571 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5583 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5572 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5584 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5624 | 5636 |
5625 fi | 5637 fi |
5626 fi | 5638 fi |
5627 | 5639 |
5628 | 5640 |
5629 | 5641 SV_MODULE_MODULE=serd |
5630 SV_MODULE_MODULE=liblo | 5642 SV_MODULE_VERSION_TEST="serd-0 >= 0.5" |
5631 SV_MODULE_VERSION_TEST="" | 5643 SV_MODULE_HEADER=serd/serd.h |
5632 SV_MODULE_HEADER=lo/lo.h | 5644 SV_MODULE_LIB=serd-0 |
5633 SV_MODULE_LIB=lo | 5645 SV_MODULE_FUNC=serd_reader_read_file |
5634 SV_MODULE_FUNC=lo_address_new | 5646 SV_MODULE_HAVE=HAVE_$(echo serd | tr 'a-z' 'A-Z') |
5635 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5636 SV_MODULE_FAILED=1 | 5647 SV_MODULE_FAILED=1 |
5637 if test -n "$liblo_LIBS" ; then | 5648 if test -n "$serd_LIBS" ; then |
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5639 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5650 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5640 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" | 5651 CXXFLAGS="$CXXFLAGS $serd_CFLAGS" |
5641 LIBS="$LIBS $liblo_LIBS" | 5652 LIBS="$LIBS $serd_LIBS" |
5642 SV_MODULE_FAILED="" | 5653 SV_MODULE_FAILED="" |
5643 fi | 5654 fi |
5644 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5655 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5645 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5656 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5646 fi | 5657 fi |
5647 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5658 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5648 | 5659 |
5649 pkg_failed=no | 5660 pkg_failed=no |
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 | 5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for serd" >&5 |
5651 $as_echo_n "checking for liblo... " >&6; } | 5662 $as_echo_n "checking for serd... " >&6; } |
5652 | 5663 |
5653 if test -n "$liblo_CFLAGS"; then | 5664 if test -n "$serd_CFLAGS"; then |
5654 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" | 5665 pkg_cv_serd_CFLAGS="$serd_CFLAGS" |
5655 elif test -n "$PKG_CONFIG"; then | 5666 elif test -n "$PKG_CONFIG"; then |
5656 if test -n "$PKG_CONFIG" && \ | 5667 if test -n "$PKG_CONFIG" && \ |
5657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5668 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5658 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5669 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5659 ac_status=$? | 5670 ac_status=$? |
5660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5661 test $ac_status = 0; }; then | 5672 test $ac_status = 0; }; then |
5662 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5673 pkg_cv_serd_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5663 test "x$?" != "x0" && pkg_failed=yes | 5674 test "x$?" != "x0" && pkg_failed=yes |
5664 else | 5675 else |
5665 pkg_failed=yes | 5676 pkg_failed=yes |
5666 fi | 5677 fi |
5667 else | 5678 else |
5668 pkg_failed=untried | 5679 pkg_failed=untried |
5669 fi | 5680 fi |
5670 if test -n "$liblo_LIBS"; then | 5681 if test -n "$serd_LIBS"; then |
5671 pkg_cv_liblo_LIBS="$liblo_LIBS" | 5682 pkg_cv_serd_LIBS="$serd_LIBS" |
5672 elif test -n "$PKG_CONFIG"; then | 5683 elif test -n "$PKG_CONFIG"; then |
5673 if test -n "$PKG_CONFIG" && \ | 5684 if test -n "$PKG_CONFIG" && \ |
5674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5675 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5686 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5676 ac_status=$? | 5687 ac_status=$? |
5677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5678 test $ac_status = 0; }; then | 5689 test $ac_status = 0; }; then |
5679 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5690 pkg_cv_serd_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5680 test "x$?" != "x0" && pkg_failed=yes | 5691 test "x$?" != "x0" && pkg_failed=yes |
5681 else | 5692 else |
5682 pkg_failed=yes | 5693 pkg_failed=yes |
5683 fi | 5694 fi |
5684 else | 5695 else |
5695 _pkg_short_errors_supported=yes | 5706 _pkg_short_errors_supported=yes |
5696 else | 5707 else |
5697 _pkg_short_errors_supported=no | 5708 _pkg_short_errors_supported=no |
5698 fi | 5709 fi |
5699 if test $_pkg_short_errors_supported = yes; then | 5710 if test $_pkg_short_errors_supported = yes; then |
5700 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5711 serd_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5701 else | 5712 else |
5702 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5713 serd_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5703 fi | 5714 fi |
5704 # Put the nasty error message in config.log where it belongs | 5715 # Put the nasty error message in config.log where it belongs |
5705 echo "$liblo_PKG_ERRORS" >&5 | 5716 echo "$serd_PKG_ERRORS" >&5 |
5706 | 5717 |
5707 { $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 | 5718 { $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 |
5708 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5719 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5709 elif test $pkg_failed = untried; then | 5720 elif test $pkg_failed = untried; then |
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5711 $as_echo "no" >&6; } | 5722 $as_echo "no" >&6; } |
5712 { $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 | 5723 { $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 |
5713 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5724 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5714 else | 5725 else |
5715 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS | 5726 serd_CFLAGS=$pkg_cv_serd_CFLAGS |
5716 liblo_LIBS=$pkg_cv_liblo_LIBS | 5727 serd_LIBS=$pkg_cv_serd_LIBS |
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5718 $as_echo "yes" >&6; } | 5729 $as_echo "yes" >&6; } |
5719 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" | 5730 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $serd_CFLAGS";LIBS="$LIBS $serd_LIBS";SV_MODULE_FAILED="" |
5720 fi | 5731 fi |
5721 fi | 5732 fi |
5722 if test -n "$SV_MODULE_FAILED"; then | 5733 if test -n "$SV_MODULE_FAILED"; then |
5723 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5734 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5724 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5735 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5725 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5726 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 5737 HAVES="$HAVES $SV_MODULE_HAVE" |
5727 else | 5738 else |
5728 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 5739 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5729 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 5740 fi |
5730 fi | 5741 |
5731 | 5742 |
5732 | 5743 if test -n "$SV_MODULE_LIB"; then |
5733 if test -z "$SV_MODULE_FAILED"; then | 5744 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5734 if test -n "$SV_MODULE_LIB"; then | |
5735 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5737 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5746 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5738 if eval \${$as_ac_Lib+:} false; then : | 5747 if eval \${$as_ac_Lib+:} false; then : |
5739 $as_echo_n "(cached) " >&6 | 5748 $as_echo_n "(cached) " >&6 |
5740 else | 5749 else |
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5772 $as_echo "$ac_res" >&6; } | 5781 $as_echo "$ac_res" >&6; } |
5773 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5782 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
5774 LIBS="$LIBS -l$SV_MODULE_LIB" | 5783 LIBS="$LIBS -l$SV_MODULE_LIB" |
5775 else | 5784 else |
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 5785 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5777 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 5786 fi |
5778 fi | 5787 |
5779 | |
5780 fi | |
5781 fi | 5788 fi |
5782 fi | 5789 fi |
5783 | 5790 |
5784 | 5791 |
5785 SV_MODULE_MODULE=portaudio_2_0 | 5792 SV_MODULE_MODULE=dataquay |
5786 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" | 5793 SV_MODULE_VERSION_TEST="dataquay >= 0.9" |
5787 SV_MODULE_HEADER=portaudio.h | 5794 SV_MODULE_HEADER=dataquay/Uri.h |
5788 SV_MODULE_LIB=portaudio | 5795 SV_MODULE_LIB=dataquay |
5789 SV_MODULE_FUNC=Pa_IsFormatSupported | 5796 SV_MODULE_FUNC=dataquay_v_0_9_present |
5790 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') | 5797 SV_MODULE_HAVE=HAVE_$(echo dataquay | tr 'a-z' 'A-Z') |
5791 SV_MODULE_FAILED=1 | 5798 SV_MODULE_FAILED=1 |
5792 if test -n "$portaudio_2_0_LIBS" ; then | 5799 if test -n "$dataquay_LIBS" ; then |
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5800 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5794 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5801 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5795 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" | 5802 CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS" |
5796 LIBS="$LIBS $portaudio_2_0_LIBS" | 5803 LIBS="$LIBS $dataquay_LIBS" |
5797 SV_MODULE_FAILED="" | 5804 SV_MODULE_FAILED="" |
5798 fi | 5805 fi |
5799 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5806 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5800 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5807 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5801 fi | 5808 fi |
5802 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5809 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5803 | 5810 |
5804 pkg_failed=no | 5811 pkg_failed=no |
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 | 5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dataquay" >&5 |
5806 $as_echo_n "checking for portaudio_2_0... " >&6; } | 5813 $as_echo_n "checking for dataquay... " >&6; } |
5807 | 5814 |
5808 if test -n "$portaudio_2_0_CFLAGS"; then | 5815 if test -n "$dataquay_CFLAGS"; then |
5809 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" | 5816 pkg_cv_dataquay_CFLAGS="$dataquay_CFLAGS" |
5810 elif test -n "$PKG_CONFIG"; then | 5817 elif test -n "$PKG_CONFIG"; then |
5811 if test -n "$PKG_CONFIG" && \ | 5818 if test -n "$PKG_CONFIG" && \ |
5812 { { $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 |
5813 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5820 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5814 ac_status=$? | 5821 ac_status=$? |
5815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5816 test $ac_status = 0; }; then | 5823 test $ac_status = 0; }; then |
5817 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5824 pkg_cv_dataquay_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5818 test "x$?" != "x0" && pkg_failed=yes | 5825 test "x$?" != "x0" && pkg_failed=yes |
5819 else | 5826 else |
5820 pkg_failed=yes | 5827 pkg_failed=yes |
5821 fi | 5828 fi |
5822 else | 5829 else |
5823 pkg_failed=untried | 5830 pkg_failed=untried |
5824 fi | 5831 fi |
5825 if test -n "$portaudio_2_0_LIBS"; then | 5832 if test -n "$dataquay_LIBS"; then |
5826 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" | 5833 pkg_cv_dataquay_LIBS="$dataquay_LIBS" |
5827 elif test -n "$PKG_CONFIG"; then | 5834 elif test -n "$PKG_CONFIG"; then |
5828 if test -n "$PKG_CONFIG" && \ | 5835 if test -n "$PKG_CONFIG" && \ |
5829 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5836 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5830 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5837 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5831 ac_status=$? | 5838 ac_status=$? |
5832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5833 test $ac_status = 0; }; then | 5840 test $ac_status = 0; }; then |
5834 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5841 pkg_cv_dataquay_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5835 test "x$?" != "x0" && pkg_failed=yes | 5842 test "x$?" != "x0" && pkg_failed=yes |
5836 else | 5843 else |
5837 pkg_failed=yes | 5844 pkg_failed=yes |
5838 fi | 5845 fi |
5839 else | 5846 else |
5850 _pkg_short_errors_supported=yes | 5857 _pkg_short_errors_supported=yes |
5851 else | 5858 else |
5852 _pkg_short_errors_supported=no | 5859 _pkg_short_errors_supported=no |
5853 fi | 5860 fi |
5854 if test $_pkg_short_errors_supported = yes; then | 5861 if test $_pkg_short_errors_supported = yes; then |
5855 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5862 dataquay_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5856 else | 5863 else |
5857 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 5864 dataquay_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
5858 fi | 5865 fi |
5859 # Put the nasty error message in config.log where it belongs | 5866 # Put the nasty error message in config.log where it belongs |
5860 echo "$portaudio_2_0_PKG_ERRORS" >&5 | 5867 echo "$dataquay_PKG_ERRORS" >&5 |
5861 | 5868 |
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | 5869 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
5863 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5870 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5864 elif test $pkg_failed = untried; then | 5871 elif test $pkg_failed = untried; then |
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5866 $as_echo "no" >&6; } | 5873 $as_echo "no" >&6; } |
5867 { $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 | 5874 { $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 |
5868 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 5875 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
5869 else | 5876 else |
5870 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS | 5877 dataquay_CFLAGS=$pkg_cv_dataquay_CFLAGS |
5871 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS | 5878 dataquay_LIBS=$pkg_cv_dataquay_LIBS |
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5873 $as_echo "yes" >&6; } | 5880 $as_echo "yes" >&6; } |
5874 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" | 5881 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS";LIBS="$LIBS $dataquay_LIBS";SV_MODULE_FAILED="" |
5875 fi | 5882 fi |
5876 fi | 5883 fi |
5877 if test -n "$SV_MODULE_FAILED"; then | 5884 if test -n "$SV_MODULE_FAILED"; then |
5878 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5885 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
5879 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 5886 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
5880 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5887 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5881 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | 5888 HAVES="$HAVES $SV_MODULE_HAVE" |
5882 else | 5889 else |
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | 5890 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5884 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | 5891 fi |
5885 fi | 5892 |
5886 | 5893 |
5887 | 5894 if test -n "$SV_MODULE_LIB"; then |
5888 if test -z "$SV_MODULE_FAILED"; then | 5895 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` |
5889 if test -n "$SV_MODULE_LIB"; then | |
5890 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | 5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 |
5892 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | 5897 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } |
5893 if eval \${$as_ac_Lib+:} false; then : | 5898 if eval \${$as_ac_Lib+:} false; then : |
5894 $as_echo_n "(cached) " >&6 | 5899 $as_echo_n "(cached) " >&6 |
5895 else | 5900 else |
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
5927 $as_echo "$ac_res" >&6; } | 5932 $as_echo "$ac_res" >&6; } |
5928 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | 5933 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : |
5929 LIBS="$LIBS -l$SV_MODULE_LIB" | 5934 LIBS="$LIBS -l$SV_MODULE_LIB" |
5930 else | 5935 else |
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | 5936 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 |
5932 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | 5937 fi |
5933 fi | 5938 |
5934 | |
5935 fi | |
5936 fi | 5939 fi |
5937 fi | 5940 fi |
5938 | 5941 |
5939 | 5942 |
5940 SV_MODULE_MODULE=JACK | 5943 |
5941 SV_MODULE_VERSION_TEST="jack >= 0.100" | 5944 SV_MODULE_MODULE=liblo |
5942 SV_MODULE_HEADER=jack/jack.h | 5945 SV_MODULE_VERSION_TEST="" |
5943 SV_MODULE_LIB=jack | 5946 SV_MODULE_HEADER=lo/lo.h |
5944 SV_MODULE_FUNC=jack_client_open | 5947 SV_MODULE_LIB=lo |
5945 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') | 5948 SV_MODULE_FUNC=lo_address_new |
5949 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z') | |
5946 SV_MODULE_FAILED=1 | 5950 SV_MODULE_FAILED=1 |
5947 if test -n "$JACK_LIBS" ; then | 5951 if test -n "$liblo_LIBS" ; then |
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5952 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5949 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5953 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5950 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" | 5954 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" |
5951 LIBS="$LIBS $JACK_LIBS" | 5955 LIBS="$LIBS $liblo_LIBS" |
5952 SV_MODULE_FAILED="" | 5956 SV_MODULE_FAILED="" |
5953 fi | 5957 fi |
5954 if test -z "$SV_MODULE_VERSION_TEST" ; then | 5958 if test -z "$SV_MODULE_VERSION_TEST" ; then |
5955 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 5959 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
5956 fi | 5960 fi |
5957 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 5961 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
5958 | 5962 |
5959 pkg_failed=no | 5963 pkg_failed=no |
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 | 5964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 |
5961 $as_echo_n "checking for JACK... " >&6; } | 5965 $as_echo_n "checking for liblo... " >&6; } |
5962 | 5966 |
5963 if test -n "$JACK_CFLAGS"; then | 5967 if test -n "$liblo_CFLAGS"; then |
5964 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" | 5968 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" |
5965 elif test -n "$PKG_CONFIG"; then | 5969 elif test -n "$PKG_CONFIG"; then |
5966 if test -n "$PKG_CONFIG" && \ | 5970 if test -n "$PKG_CONFIG" && \ |
5967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5971 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5968 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5972 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5969 ac_status=$? | 5973 ac_status=$? |
5970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5971 test $ac_status = 0; }; then | 5975 test $ac_status = 0; }; then |
5972 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5976 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5973 test "x$?" != "x0" && pkg_failed=yes | 5977 test "x$?" != "x0" && pkg_failed=yes |
5974 else | 5978 else |
5975 pkg_failed=yes | 5979 pkg_failed=yes |
5976 fi | 5980 fi |
5977 else | 5981 else |
5978 pkg_failed=untried | 5982 pkg_failed=untried |
5979 fi | 5983 fi |
5980 if test -n "$JACK_LIBS"; then | 5984 if test -n "$liblo_LIBS"; then |
5981 pkg_cv_JACK_LIBS="$JACK_LIBS" | 5985 pkg_cv_liblo_LIBS="$liblo_LIBS" |
5982 elif test -n "$PKG_CONFIG"; then | 5986 elif test -n "$PKG_CONFIG"; then |
5983 if test -n "$PKG_CONFIG" && \ | 5987 if test -n "$PKG_CONFIG" && \ |
5984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 5988 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
5985 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 5989 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
5986 ac_status=$? | 5990 ac_status=$? |
5987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 5991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
5988 test $ac_status = 0; }; then | 5992 test $ac_status = 0; }; then |
5989 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 5993 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
5990 test "x$?" != "x0" && pkg_failed=yes | 5994 test "x$?" != "x0" && pkg_failed=yes |
5991 else | 5995 else |
5992 pkg_failed=yes | 5996 pkg_failed=yes |
5993 fi | 5997 fi |
5994 else | 5998 else |
6005 _pkg_short_errors_supported=yes | 6009 _pkg_short_errors_supported=yes |
6006 else | 6010 else |
6007 _pkg_short_errors_supported=no | 6011 _pkg_short_errors_supported=no |
6008 fi | 6012 fi |
6009 if test $_pkg_short_errors_supported = yes; then | 6013 if test $_pkg_short_errors_supported = yes; then |
6010 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6014 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6011 else | 6015 else |
6012 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6016 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6013 fi | 6017 fi |
6014 # Put the nasty error message in config.log where it belongs | 6018 # Put the nasty error message in config.log where it belongs |
6015 echo "$JACK_PKG_ERRORS" >&5 | 6019 echo "$liblo_PKG_ERRORS" >&5 |
6016 | 6020 |
6017 { $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 | 6021 { $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 |
6018 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6022 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6019 elif test $pkg_failed = untried; then | 6023 elif test $pkg_failed = untried; then |
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6021 $as_echo "no" >&6; } | 6025 $as_echo "no" >&6; } |
6022 { $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 | 6026 { $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 |
6023 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6027 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6024 else | 6028 else |
6025 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS | 6029 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS |
6026 JACK_LIBS=$pkg_cv_JACK_LIBS | 6030 liblo_LIBS=$pkg_cv_liblo_LIBS |
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6028 $as_echo "yes" >&6; } | 6032 $as_echo "yes" >&6; } |
6029 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" | 6033 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" |
6030 fi | 6034 fi |
6031 fi | 6035 fi |
6032 if test -n "$SV_MODULE_FAILED"; then | 6036 if test -n "$SV_MODULE_FAILED"; then |
6033 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6037 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6034 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6038 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6090 fi | 6094 fi |
6091 fi | 6095 fi |
6092 fi | 6096 fi |
6093 | 6097 |
6094 | 6098 |
6095 SV_MODULE_MODULE=libpulse | 6099 SV_MODULE_MODULE=portaudio_2_0 |
6096 SV_MODULE_VERSION_TEST="libpulse >= 0.9" | 6100 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" |
6097 SV_MODULE_HEADER=pulse/pulseaudio.h | 6101 SV_MODULE_HEADER=portaudio.h |
6098 SV_MODULE_LIB=pulse | 6102 SV_MODULE_LIB=portaudio |
6099 SV_MODULE_FUNC=pa_stream_new | 6103 SV_MODULE_FUNC=Pa_IsFormatSupported |
6100 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') | 6104 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') |
6101 SV_MODULE_FAILED=1 | 6105 SV_MODULE_FAILED=1 |
6102 if test -n "$libpulse_LIBS" ; then | 6106 if test -n "$portaudio_2_0_LIBS" ; then |
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6104 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6108 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6105 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" | 6109 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" |
6106 LIBS="$LIBS $libpulse_LIBS" | 6110 LIBS="$LIBS $portaudio_2_0_LIBS" |
6107 SV_MODULE_FAILED="" | 6111 SV_MODULE_FAILED="" |
6108 fi | 6112 fi |
6109 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6113 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6110 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6114 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6111 fi | 6115 fi |
6112 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6116 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6113 | 6117 |
6114 pkg_failed=no | 6118 pkg_failed=no |
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 | 6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 |
6116 $as_echo_n "checking for libpulse... " >&6; } | 6120 $as_echo_n "checking for portaudio_2_0... " >&6; } |
6117 | 6121 |
6118 if test -n "$libpulse_CFLAGS"; then | 6122 if test -n "$portaudio_2_0_CFLAGS"; then |
6119 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" | 6123 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" |
6120 elif test -n "$PKG_CONFIG"; then | 6124 elif test -n "$PKG_CONFIG"; then |
6121 if test -n "$PKG_CONFIG" && \ | 6125 if test -n "$PKG_CONFIG" && \ |
6122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6123 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6127 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6124 ac_status=$? | 6128 ac_status=$? |
6125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6126 test $ac_status = 0; }; then | 6130 test $ac_status = 0; }; then |
6127 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6131 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6128 test "x$?" != "x0" && pkg_failed=yes | 6132 test "x$?" != "x0" && pkg_failed=yes |
6129 else | 6133 else |
6130 pkg_failed=yes | 6134 pkg_failed=yes |
6131 fi | 6135 fi |
6132 else | 6136 else |
6133 pkg_failed=untried | 6137 pkg_failed=untried |
6134 fi | 6138 fi |
6135 if test -n "$libpulse_LIBS"; then | 6139 if test -n "$portaudio_2_0_LIBS"; then |
6136 pkg_cv_libpulse_LIBS="$libpulse_LIBS" | 6140 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" |
6137 elif test -n "$PKG_CONFIG"; then | 6141 elif test -n "$PKG_CONFIG"; then |
6138 if test -n "$PKG_CONFIG" && \ | 6142 if test -n "$PKG_CONFIG" && \ |
6139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6140 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6144 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6141 ac_status=$? | 6145 ac_status=$? |
6142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6143 test $ac_status = 0; }; then | 6147 test $ac_status = 0; }; then |
6144 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6148 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6145 test "x$?" != "x0" && pkg_failed=yes | 6149 test "x$?" != "x0" && pkg_failed=yes |
6146 else | 6150 else |
6147 pkg_failed=yes | 6151 pkg_failed=yes |
6148 fi | 6152 fi |
6149 else | 6153 else |
6160 _pkg_short_errors_supported=yes | 6164 _pkg_short_errors_supported=yes |
6161 else | 6165 else |
6162 _pkg_short_errors_supported=no | 6166 _pkg_short_errors_supported=no |
6163 fi | 6167 fi |
6164 if test $_pkg_short_errors_supported = yes; then | 6168 if test $_pkg_short_errors_supported = yes; then |
6165 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6169 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6166 else | 6170 else |
6167 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6171 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6168 fi | 6172 fi |
6169 # Put the nasty error message in config.log where it belongs | 6173 # Put the nasty error message in config.log where it belongs |
6170 echo "$libpulse_PKG_ERRORS" >&5 | 6174 echo "$portaudio_2_0_PKG_ERRORS" >&5 |
6171 | 6175 |
6172 { $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 | 6176 { $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 |
6173 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6177 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6174 elif test $pkg_failed = untried; then | 6178 elif test $pkg_failed = untried; then |
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6176 $as_echo "no" >&6; } | 6180 $as_echo "no" >&6; } |
6177 { $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 | 6181 { $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 |
6178 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6182 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6179 else | 6183 else |
6180 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS | 6184 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS |
6181 libpulse_LIBS=$pkg_cv_libpulse_LIBS | 6185 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS |
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6183 $as_echo "yes" >&6; } | 6187 $as_echo "yes" >&6; } |
6184 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" | 6188 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" |
6185 fi | 6189 fi |
6186 fi | 6190 fi |
6187 if test -n "$SV_MODULE_FAILED"; then | 6191 if test -n "$SV_MODULE_FAILED"; then |
6188 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6192 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6189 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6193 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6245 fi | 6249 fi |
6246 fi | 6250 fi |
6247 fi | 6251 fi |
6248 | 6252 |
6249 | 6253 |
6250 SV_MODULE_MODULE=lrdf | 6254 SV_MODULE_MODULE=JACK |
6251 SV_MODULE_VERSION_TEST="lrdf >= 0.2" | 6255 SV_MODULE_VERSION_TEST="jack >= 0.100" |
6252 SV_MODULE_HEADER=lrdf.h | 6256 SV_MODULE_HEADER=jack/jack.h |
6253 SV_MODULE_LIB=lrdf | 6257 SV_MODULE_LIB=jack |
6254 SV_MODULE_FUNC=lrdf_init | 6258 SV_MODULE_FUNC=jack_client_open |
6255 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') | 6259 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') |
6256 SV_MODULE_FAILED=1 | 6260 SV_MODULE_FAILED=1 |
6257 if test -n "$lrdf_LIBS" ; then | 6261 if test -n "$JACK_LIBS" ; then |
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6262 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6259 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6263 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6260 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" | 6264 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" |
6261 LIBS="$LIBS $lrdf_LIBS" | 6265 LIBS="$LIBS $JACK_LIBS" |
6262 SV_MODULE_FAILED="" | 6266 SV_MODULE_FAILED="" |
6263 fi | 6267 fi |
6264 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6268 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6265 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6269 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6266 fi | 6270 fi |
6267 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6271 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6268 | 6272 |
6269 pkg_failed=no | 6273 pkg_failed=no |
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 | 6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 |
6271 $as_echo_n "checking for lrdf... " >&6; } | 6275 $as_echo_n "checking for JACK... " >&6; } |
6272 | 6276 |
6273 if test -n "$lrdf_CFLAGS"; then | 6277 if test -n "$JACK_CFLAGS"; then |
6274 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" | 6278 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" |
6275 elif test -n "$PKG_CONFIG"; then | 6279 elif test -n "$PKG_CONFIG"; then |
6276 if test -n "$PKG_CONFIG" && \ | 6280 if test -n "$PKG_CONFIG" && \ |
6277 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6278 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6282 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6279 ac_status=$? | 6283 ac_status=$? |
6280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6281 test $ac_status = 0; }; then | 6285 test $ac_status = 0; }; then |
6282 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6286 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6283 test "x$?" != "x0" && pkg_failed=yes | 6287 test "x$?" != "x0" && pkg_failed=yes |
6284 else | 6288 else |
6285 pkg_failed=yes | 6289 pkg_failed=yes |
6286 fi | 6290 fi |
6287 else | 6291 else |
6288 pkg_failed=untried | 6292 pkg_failed=untried |
6289 fi | 6293 fi |
6290 if test -n "$lrdf_LIBS"; then | 6294 if test -n "$JACK_LIBS"; then |
6291 pkg_cv_lrdf_LIBS="$lrdf_LIBS" | 6295 pkg_cv_JACK_LIBS="$JACK_LIBS" |
6292 elif test -n "$PKG_CONFIG"; then | 6296 elif test -n "$PKG_CONFIG"; then |
6293 if test -n "$PKG_CONFIG" && \ | 6297 if test -n "$PKG_CONFIG" && \ |
6294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6295 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6299 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6296 ac_status=$? | 6300 ac_status=$? |
6297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6298 test $ac_status = 0; }; then | 6302 test $ac_status = 0; }; then |
6299 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6303 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6300 test "x$?" != "x0" && pkg_failed=yes | 6304 test "x$?" != "x0" && pkg_failed=yes |
6301 else | 6305 else |
6302 pkg_failed=yes | 6306 pkg_failed=yes |
6303 fi | 6307 fi |
6304 else | 6308 else |
6315 _pkg_short_errors_supported=yes | 6319 _pkg_short_errors_supported=yes |
6316 else | 6320 else |
6317 _pkg_short_errors_supported=no | 6321 _pkg_short_errors_supported=no |
6318 fi | 6322 fi |
6319 if test $_pkg_short_errors_supported = yes; then | 6323 if test $_pkg_short_errors_supported = yes; then |
6320 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6324 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6321 else | 6325 else |
6322 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6326 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6323 fi | 6327 fi |
6324 # Put the nasty error message in config.log where it belongs | 6328 # Put the nasty error message in config.log where it belongs |
6325 echo "$lrdf_PKG_ERRORS" >&5 | 6329 echo "$JACK_PKG_ERRORS" >&5 |
6326 | 6330 |
6327 { $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 | 6331 { $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 |
6328 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6332 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6329 elif test $pkg_failed = untried; then | 6333 elif test $pkg_failed = untried; then |
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6331 $as_echo "no" >&6; } | 6335 $as_echo "no" >&6; } |
6332 { $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 | 6336 { $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 |
6333 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6337 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6334 else | 6338 else |
6335 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS | 6339 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS |
6336 lrdf_LIBS=$pkg_cv_lrdf_LIBS | 6340 JACK_LIBS=$pkg_cv_JACK_LIBS |
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6338 $as_echo "yes" >&6; } | 6342 $as_echo "yes" >&6; } |
6339 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" | 6343 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" |
6340 fi | 6344 fi |
6341 fi | 6345 fi |
6342 if test -n "$SV_MODULE_FAILED"; then | 6346 if test -n "$SV_MODULE_FAILED"; then |
6343 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6347 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6344 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6348 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6400 fi | 6404 fi |
6401 fi | 6405 fi |
6402 fi | 6406 fi |
6403 | 6407 |
6404 | 6408 |
6405 SV_MODULE_MODULE=oggz | 6409 SV_MODULE_MODULE=libpulse |
6406 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" | 6410 SV_MODULE_VERSION_TEST="libpulse >= 0.9" |
6407 SV_MODULE_HEADER=oggz/oggz.h | 6411 SV_MODULE_HEADER=pulse/pulseaudio.h |
6408 SV_MODULE_LIB=oggz | 6412 SV_MODULE_LIB=pulse |
6409 SV_MODULE_FUNC=oggz_run | 6413 SV_MODULE_FUNC=pa_stream_new |
6410 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') | 6414 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') |
6411 SV_MODULE_FAILED=1 | 6415 SV_MODULE_FAILED=1 |
6412 if test -n "$oggz_LIBS" ; then | 6416 if test -n "$libpulse_LIBS" ; then |
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6417 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6414 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6418 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6415 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" | 6419 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" |
6416 LIBS="$LIBS $oggz_LIBS" | 6420 LIBS="$LIBS $libpulse_LIBS" |
6417 SV_MODULE_FAILED="" | 6421 SV_MODULE_FAILED="" |
6418 fi | 6422 fi |
6419 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6423 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6420 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6424 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6421 fi | 6425 fi |
6422 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6426 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6423 | 6427 |
6424 pkg_failed=no | 6428 pkg_failed=no |
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 | 6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 |
6426 $as_echo_n "checking for oggz... " >&6; } | 6430 $as_echo_n "checking for libpulse... " >&6; } |
6427 | 6431 |
6428 if test -n "$oggz_CFLAGS"; then | 6432 if test -n "$libpulse_CFLAGS"; then |
6429 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" | 6433 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" |
6430 elif test -n "$PKG_CONFIG"; then | 6434 elif test -n "$PKG_CONFIG"; then |
6431 if test -n "$PKG_CONFIG" && \ | 6435 if test -n "$PKG_CONFIG" && \ |
6432 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6433 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6437 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6434 ac_status=$? | 6438 ac_status=$? |
6435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6436 test $ac_status = 0; }; then | 6440 test $ac_status = 0; }; then |
6437 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6441 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6438 test "x$?" != "x0" && pkg_failed=yes | 6442 test "x$?" != "x0" && pkg_failed=yes |
6439 else | 6443 else |
6440 pkg_failed=yes | 6444 pkg_failed=yes |
6441 fi | 6445 fi |
6442 else | 6446 else |
6443 pkg_failed=untried | 6447 pkg_failed=untried |
6444 fi | 6448 fi |
6445 if test -n "$oggz_LIBS"; then | 6449 if test -n "$libpulse_LIBS"; then |
6446 pkg_cv_oggz_LIBS="$oggz_LIBS" | 6450 pkg_cv_libpulse_LIBS="$libpulse_LIBS" |
6447 elif test -n "$PKG_CONFIG"; then | 6451 elif test -n "$PKG_CONFIG"; then |
6448 if test -n "$PKG_CONFIG" && \ | 6452 if test -n "$PKG_CONFIG" && \ |
6449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6450 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6454 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6451 ac_status=$? | 6455 ac_status=$? |
6452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6453 test $ac_status = 0; }; then | 6457 test $ac_status = 0; }; then |
6454 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6458 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6455 test "x$?" != "x0" && pkg_failed=yes | 6459 test "x$?" != "x0" && pkg_failed=yes |
6456 else | 6460 else |
6457 pkg_failed=yes | 6461 pkg_failed=yes |
6458 fi | 6462 fi |
6459 else | 6463 else |
6470 _pkg_short_errors_supported=yes | 6474 _pkg_short_errors_supported=yes |
6471 else | 6475 else |
6472 _pkg_short_errors_supported=no | 6476 _pkg_short_errors_supported=no |
6473 fi | 6477 fi |
6474 if test $_pkg_short_errors_supported = yes; then | 6478 if test $_pkg_short_errors_supported = yes; then |
6475 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6479 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6476 else | 6480 else |
6477 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6481 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6478 fi | 6482 fi |
6479 # Put the nasty error message in config.log where it belongs | 6483 # Put the nasty error message in config.log where it belongs |
6480 echo "$oggz_PKG_ERRORS" >&5 | 6484 echo "$libpulse_PKG_ERRORS" >&5 |
6481 | 6485 |
6482 { $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 | 6486 { $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 |
6483 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6487 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6484 elif test $pkg_failed = untried; then | 6488 elif test $pkg_failed = untried; then |
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6486 $as_echo "no" >&6; } | 6490 $as_echo "no" >&6; } |
6487 { $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 | 6491 { $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 |
6488 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6492 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6489 else | 6493 else |
6490 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS | 6494 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS |
6491 oggz_LIBS=$pkg_cv_oggz_LIBS | 6495 libpulse_LIBS=$pkg_cv_libpulse_LIBS |
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6493 $as_echo "yes" >&6; } | 6497 $as_echo "yes" >&6; } |
6494 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" | 6498 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" |
6495 fi | 6499 fi |
6496 fi | 6500 fi |
6497 if test -n "$SV_MODULE_FAILED"; then | 6501 if test -n "$SV_MODULE_FAILED"; then |
6498 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6502 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6499 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6503 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6555 fi | 6559 fi |
6556 fi | 6560 fi |
6557 fi | 6561 fi |
6558 | 6562 |
6559 | 6563 |
6560 SV_MODULE_MODULE=fishsound | 6564 SV_MODULE_MODULE=lrdf |
6561 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" | 6565 SV_MODULE_VERSION_TEST="lrdf >= 0.2" |
6562 SV_MODULE_HEADER=fishsound/fishsound.h | 6566 SV_MODULE_HEADER=lrdf.h |
6563 SV_MODULE_LIB=fishsound | 6567 SV_MODULE_LIB=lrdf |
6564 SV_MODULE_FUNC=fish_sound_new | 6568 SV_MODULE_FUNC=lrdf_init |
6565 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') | 6569 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') |
6566 SV_MODULE_FAILED=1 | 6570 SV_MODULE_FAILED=1 |
6567 if test -n "$fishsound_LIBS" ; then | 6571 if test -n "$lrdf_LIBS" ; then |
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6572 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6569 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6573 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6570 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" | 6574 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" |
6571 LIBS="$LIBS $fishsound_LIBS" | 6575 LIBS="$LIBS $lrdf_LIBS" |
6572 SV_MODULE_FAILED="" | 6576 SV_MODULE_FAILED="" |
6573 fi | 6577 fi |
6574 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6578 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6575 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6579 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6576 fi | 6580 fi |
6577 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6581 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6578 | 6582 |
6579 pkg_failed=no | 6583 pkg_failed=no |
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 | 6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 |
6581 $as_echo_n "checking for fishsound... " >&6; } | 6585 $as_echo_n "checking for lrdf... " >&6; } |
6582 | 6586 |
6583 if test -n "$fishsound_CFLAGS"; then | 6587 if test -n "$lrdf_CFLAGS"; then |
6584 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" | 6588 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" |
6585 elif test -n "$PKG_CONFIG"; then | 6589 elif test -n "$PKG_CONFIG"; then |
6586 if test -n "$PKG_CONFIG" && \ | 6590 if test -n "$PKG_CONFIG" && \ |
6587 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6591 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6588 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6592 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6589 ac_status=$? | 6593 ac_status=$? |
6590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6591 test $ac_status = 0; }; then | 6595 test $ac_status = 0; }; then |
6592 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6596 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6593 test "x$?" != "x0" && pkg_failed=yes | 6597 test "x$?" != "x0" && pkg_failed=yes |
6594 else | 6598 else |
6595 pkg_failed=yes | 6599 pkg_failed=yes |
6596 fi | 6600 fi |
6597 else | 6601 else |
6598 pkg_failed=untried | 6602 pkg_failed=untried |
6599 fi | 6603 fi |
6600 if test -n "$fishsound_LIBS"; then | 6604 if test -n "$lrdf_LIBS"; then |
6601 pkg_cv_fishsound_LIBS="$fishsound_LIBS" | 6605 pkg_cv_lrdf_LIBS="$lrdf_LIBS" |
6602 elif test -n "$PKG_CONFIG"; then | 6606 elif test -n "$PKG_CONFIG"; then |
6603 if test -n "$PKG_CONFIG" && \ | 6607 if test -n "$PKG_CONFIG" && \ |
6604 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6605 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6609 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6606 ac_status=$? | 6610 ac_status=$? |
6607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6608 test $ac_status = 0; }; then | 6612 test $ac_status = 0; }; then |
6609 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6613 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6610 test "x$?" != "x0" && pkg_failed=yes | 6614 test "x$?" != "x0" && pkg_failed=yes |
6611 else | 6615 else |
6612 pkg_failed=yes | 6616 pkg_failed=yes |
6613 fi | 6617 fi |
6614 else | 6618 else |
6625 _pkg_short_errors_supported=yes | 6629 _pkg_short_errors_supported=yes |
6626 else | 6630 else |
6627 _pkg_short_errors_supported=no | 6631 _pkg_short_errors_supported=no |
6628 fi | 6632 fi |
6629 if test $_pkg_short_errors_supported = yes; then | 6633 if test $_pkg_short_errors_supported = yes; then |
6630 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6634 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6631 else | 6635 else |
6632 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6636 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6633 fi | 6637 fi |
6634 # Put the nasty error message in config.log where it belongs | 6638 # Put the nasty error message in config.log where it belongs |
6635 echo "$fishsound_PKG_ERRORS" >&5 | 6639 echo "$lrdf_PKG_ERRORS" >&5 |
6636 | 6640 |
6637 { $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 | 6641 { $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 |
6638 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6642 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6639 elif test $pkg_failed = untried; then | 6643 elif test $pkg_failed = untried; then |
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6641 $as_echo "no" >&6; } | 6645 $as_echo "no" >&6; } |
6642 { $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 | 6646 { $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 |
6643 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6647 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6644 else | 6648 else |
6645 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS | 6649 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS |
6646 fishsound_LIBS=$pkg_cv_fishsound_LIBS | 6650 lrdf_LIBS=$pkg_cv_lrdf_LIBS |
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6648 $as_echo "yes" >&6; } | 6652 $as_echo "yes" >&6; } |
6649 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" | 6653 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" |
6650 fi | 6654 fi |
6651 fi | 6655 fi |
6652 if test -n "$SV_MODULE_FAILED"; then | 6656 if test -n "$SV_MODULE_FAILED"; then |
6653 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6657 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6654 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6658 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6710 fi | 6714 fi |
6711 fi | 6715 fi |
6712 fi | 6716 fi |
6713 | 6717 |
6714 | 6718 |
6715 SV_MODULE_MODULE=mad | 6719 SV_MODULE_MODULE=oggz |
6716 SV_MODULE_VERSION_TEST="mad >= 0.15.0" | 6720 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" |
6717 SV_MODULE_HEADER=mad.h | 6721 SV_MODULE_HEADER=oggz/oggz.h |
6718 SV_MODULE_LIB=mad | 6722 SV_MODULE_LIB=oggz |
6719 SV_MODULE_FUNC=mad_decoder_init | 6723 SV_MODULE_FUNC=oggz_run |
6720 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') | 6724 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') |
6721 SV_MODULE_FAILED=1 | 6725 SV_MODULE_FAILED=1 |
6722 if test -n "$mad_LIBS" ; then | 6726 if test -n "$oggz_LIBS" ; then |
6723 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6727 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6724 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6728 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6725 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" | 6729 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" |
6726 LIBS="$LIBS $mad_LIBS" | 6730 LIBS="$LIBS $oggz_LIBS" |
6727 SV_MODULE_FAILED="" | 6731 SV_MODULE_FAILED="" |
6728 fi | 6732 fi |
6729 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6733 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6730 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6734 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6731 fi | 6735 fi |
6732 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6736 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6733 | 6737 |
6734 pkg_failed=no | 6738 pkg_failed=no |
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 | 6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 |
6736 $as_echo_n "checking for mad... " >&6; } | 6740 $as_echo_n "checking for oggz... " >&6; } |
6737 | 6741 |
6738 if test -n "$mad_CFLAGS"; then | 6742 if test -n "$oggz_CFLAGS"; then |
6739 pkg_cv_mad_CFLAGS="$mad_CFLAGS" | 6743 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" |
6740 elif test -n "$PKG_CONFIG"; then | 6744 elif test -n "$PKG_CONFIG"; then |
6741 if test -n "$PKG_CONFIG" && \ | 6745 if test -n "$PKG_CONFIG" && \ |
6742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6743 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6747 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6744 ac_status=$? | 6748 ac_status=$? |
6745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6746 test $ac_status = 0; }; then | 6750 test $ac_status = 0; }; then |
6747 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6751 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6748 test "x$?" != "x0" && pkg_failed=yes | 6752 test "x$?" != "x0" && pkg_failed=yes |
6749 else | 6753 else |
6750 pkg_failed=yes | 6754 pkg_failed=yes |
6751 fi | 6755 fi |
6752 else | 6756 else |
6753 pkg_failed=untried | 6757 pkg_failed=untried |
6754 fi | 6758 fi |
6755 if test -n "$mad_LIBS"; then | 6759 if test -n "$oggz_LIBS"; then |
6756 pkg_cv_mad_LIBS="$mad_LIBS" | 6760 pkg_cv_oggz_LIBS="$oggz_LIBS" |
6757 elif test -n "$PKG_CONFIG"; then | 6761 elif test -n "$PKG_CONFIG"; then |
6758 if test -n "$PKG_CONFIG" && \ | 6762 if test -n "$PKG_CONFIG" && \ |
6759 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6763 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6760 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6764 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6761 ac_status=$? | 6765 ac_status=$? |
6762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6763 test $ac_status = 0; }; then | 6767 test $ac_status = 0; }; then |
6764 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6768 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6765 test "x$?" != "x0" && pkg_failed=yes | 6769 test "x$?" != "x0" && pkg_failed=yes |
6766 else | 6770 else |
6767 pkg_failed=yes | 6771 pkg_failed=yes |
6768 fi | 6772 fi |
6769 else | 6773 else |
6780 _pkg_short_errors_supported=yes | 6784 _pkg_short_errors_supported=yes |
6781 else | 6785 else |
6782 _pkg_short_errors_supported=no | 6786 _pkg_short_errors_supported=no |
6783 fi | 6787 fi |
6784 if test $_pkg_short_errors_supported = yes; then | 6788 if test $_pkg_short_errors_supported = yes; then |
6785 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6789 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6786 else | 6790 else |
6787 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6791 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6788 fi | 6792 fi |
6789 # Put the nasty error message in config.log where it belongs | 6793 # Put the nasty error message in config.log where it belongs |
6790 echo "$mad_PKG_ERRORS" >&5 | 6794 echo "$oggz_PKG_ERRORS" >&5 |
6791 | 6795 |
6792 { $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 | 6796 { $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 |
6793 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6797 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6794 elif test $pkg_failed = untried; then | 6798 elif test $pkg_failed = untried; then |
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6796 $as_echo "no" >&6; } | 6800 $as_echo "no" >&6; } |
6797 { $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 | 6801 { $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 |
6798 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6802 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6799 else | 6803 else |
6800 mad_CFLAGS=$pkg_cv_mad_CFLAGS | 6804 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS |
6801 mad_LIBS=$pkg_cv_mad_LIBS | 6805 oggz_LIBS=$pkg_cv_oggz_LIBS |
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6803 $as_echo "yes" >&6; } | 6807 $as_echo "yes" >&6; } |
6804 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" | 6808 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" |
6805 fi | 6809 fi |
6806 fi | 6810 fi |
6807 if test -n "$SV_MODULE_FAILED"; then | 6811 if test -n "$SV_MODULE_FAILED"; then |
6808 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6812 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6809 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6813 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
6865 fi | 6869 fi |
6866 fi | 6870 fi |
6867 fi | 6871 fi |
6868 | 6872 |
6869 | 6873 |
6870 SV_MODULE_MODULE=id3tag | 6874 SV_MODULE_MODULE=fishsound |
6871 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" | 6875 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" |
6872 SV_MODULE_HEADER=id3tag.h | 6876 SV_MODULE_HEADER=fishsound/fishsound.h |
6873 SV_MODULE_LIB=id3tag | 6877 SV_MODULE_LIB=fishsound |
6874 SV_MODULE_FUNC=id3_tag_new | 6878 SV_MODULE_FUNC=fish_sound_new |
6875 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') | 6879 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') |
6876 SV_MODULE_FAILED=1 | 6880 SV_MODULE_FAILED=1 |
6877 if test -n "$id3tag_LIBS" ; then | 6881 if test -n "$fishsound_LIBS" ; then |
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 6882 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
6879 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 6883 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
6880 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" | 6884 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" |
6881 LIBS="$LIBS $id3tag_LIBS" | 6885 LIBS="$LIBS $fishsound_LIBS" |
6882 SV_MODULE_FAILED="" | 6886 SV_MODULE_FAILED="" |
6883 fi | 6887 fi |
6884 if test -z "$SV_MODULE_VERSION_TEST" ; then | 6888 if test -z "$SV_MODULE_VERSION_TEST" ; then |
6885 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 6889 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
6886 fi | 6890 fi |
6887 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 6891 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
6888 | 6892 |
6889 pkg_failed=no | 6893 pkg_failed=no |
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 | 6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 |
6891 $as_echo_n "checking for id3tag... " >&6; } | 6895 $as_echo_n "checking for fishsound... " >&6; } |
6892 | 6896 |
6893 if test -n "$id3tag_CFLAGS"; then | 6897 if test -n "$fishsound_CFLAGS"; then |
6894 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" | 6898 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" |
6895 elif test -n "$PKG_CONFIG"; then | 6899 elif test -n "$PKG_CONFIG"; then |
6896 if test -n "$PKG_CONFIG" && \ | 6900 if test -n "$PKG_CONFIG" && \ |
6897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6898 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6902 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6899 ac_status=$? | 6903 ac_status=$? |
6900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6901 test $ac_status = 0; }; then | 6905 test $ac_status = 0; }; then |
6902 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6906 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6903 test "x$?" != "x0" && pkg_failed=yes | 6907 test "x$?" != "x0" && pkg_failed=yes |
6904 else | 6908 else |
6905 pkg_failed=yes | 6909 pkg_failed=yes |
6906 fi | 6910 fi |
6907 else | 6911 else |
6908 pkg_failed=untried | 6912 pkg_failed=untried |
6909 fi | 6913 fi |
6910 if test -n "$id3tag_LIBS"; then | 6914 if test -n "$fishsound_LIBS"; then |
6911 pkg_cv_id3tag_LIBS="$id3tag_LIBS" | 6915 pkg_cv_fishsound_LIBS="$fishsound_LIBS" |
6912 elif test -n "$PKG_CONFIG"; then | 6916 elif test -n "$PKG_CONFIG"; then |
6913 if test -n "$PKG_CONFIG" && \ | 6917 if test -n "$PKG_CONFIG" && \ |
6914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 6918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
6915 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 6919 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
6916 ac_status=$? | 6920 ac_status=$? |
6917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
6918 test $ac_status = 0; }; then | 6922 test $ac_status = 0; }; then |
6919 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 6923 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
6920 test "x$?" != "x0" && pkg_failed=yes | 6924 test "x$?" != "x0" && pkg_failed=yes |
6921 else | 6925 else |
6922 pkg_failed=yes | 6926 pkg_failed=yes |
6923 fi | 6927 fi |
6924 else | 6928 else |
6935 _pkg_short_errors_supported=yes | 6939 _pkg_short_errors_supported=yes |
6936 else | 6940 else |
6937 _pkg_short_errors_supported=no | 6941 _pkg_short_errors_supported=no |
6938 fi | 6942 fi |
6939 if test $_pkg_short_errors_supported = yes; then | 6943 if test $_pkg_short_errors_supported = yes; then |
6940 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6944 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6941 else | 6945 else |
6942 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 6946 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
6943 fi | 6947 fi |
6944 # Put the nasty error message in config.log where it belongs | 6948 # Put the nasty error message in config.log where it belongs |
6945 echo "$id3tag_PKG_ERRORS" >&5 | 6949 echo "$fishsound_PKG_ERRORS" >&5 |
6946 | 6950 |
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | 6951 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
6948 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6952 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6949 elif test $pkg_failed = untried; then | 6953 elif test $pkg_failed = untried; then |
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6951 $as_echo "no" >&6; } | 6955 $as_echo "no" >&6; } |
6952 { $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 | 6956 { $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 |
6953 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 6957 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
6954 else | 6958 else |
6955 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS | 6959 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS |
6956 id3tag_LIBS=$pkg_cv_id3tag_LIBS | 6960 fishsound_LIBS=$pkg_cv_fishsound_LIBS |
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6958 $as_echo "yes" >&6; } | 6962 $as_echo "yes" >&6; } |
6959 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" | 6963 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" |
6960 fi | 6964 fi |
6961 fi | 6965 fi |
6962 if test -n "$SV_MODULE_FAILED"; then | 6966 if test -n "$SV_MODULE_FAILED"; then |
6963 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 6967 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
6964 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 6968 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
7020 fi | 7024 fi |
7021 fi | 7025 fi |
7022 fi | 7026 fi |
7023 | 7027 |
7024 | 7028 |
7025 # Link in -lX11 if it exists -- this is for the X error handler | 7029 SV_MODULE_MODULE=mad |
7026 | 7030 SV_MODULE_VERSION_TEST="mad >= 0.15.0" |
7027 SV_MODULE_MODULE=X11 | 7031 SV_MODULE_HEADER=mad.h |
7028 SV_MODULE_VERSION_TEST="x11 >= 1.0.0" | 7032 SV_MODULE_LIB=mad |
7029 SV_MODULE_HEADER=X11/X.h | 7033 SV_MODULE_FUNC=mad_decoder_init |
7030 SV_MODULE_LIB=x11 | 7034 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z') |
7031 SV_MODULE_FUNC=XGetErrorText | |
7032 SV_MODULE_HAVE=HAVE_$(echo X11 | tr 'a-z' 'A-Z') | |
7033 SV_MODULE_FAILED=1 | 7035 SV_MODULE_FAILED=1 |
7034 if test -n "$X11_LIBS" ; then | 7036 if test -n "$mad_LIBS" ; then |
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 7037 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
7036 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 7038 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
7037 CXXFLAGS="$CXXFLAGS $X11_CFLAGS" | 7039 CXXFLAGS="$CXXFLAGS $mad_CFLAGS" |
7038 LIBS="$LIBS $X11_LIBS" | 7040 LIBS="$LIBS $mad_LIBS" |
7039 SV_MODULE_FAILED="" | 7041 SV_MODULE_FAILED="" |
7040 fi | 7042 fi |
7041 if test -z "$SV_MODULE_VERSION_TEST" ; then | 7043 if test -z "$SV_MODULE_VERSION_TEST" ; then |
7042 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | 7044 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE |
7043 fi | 7045 fi |
7044 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | 7046 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then |
7045 | 7047 |
7046 pkg_failed=no | 7048 pkg_failed=no |
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 | 7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5 |
7048 $as_echo_n "checking for X11... " >&6; } | 7050 $as_echo_n "checking for mad... " >&6; } |
7049 | 7051 |
7050 if test -n "$X11_CFLAGS"; then | 7052 if test -n "$mad_CFLAGS"; then |
7051 pkg_cv_X11_CFLAGS="$X11_CFLAGS" | 7053 pkg_cv_mad_CFLAGS="$mad_CFLAGS" |
7052 elif test -n "$PKG_CONFIG"; then | 7054 elif test -n "$PKG_CONFIG"; then |
7053 if test -n "$PKG_CONFIG" && \ | 7055 if test -n "$PKG_CONFIG" && \ |
7054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 7056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
7055 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 7057 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
7056 ac_status=$? | 7058 ac_status=$? |
7057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
7058 test $ac_status = 0; }; then | 7060 test $ac_status = 0; }; then |
7059 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 7061 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
7060 test "x$?" != "x0" && pkg_failed=yes | 7062 test "x$?" != "x0" && pkg_failed=yes |
7061 else | 7063 else |
7062 pkg_failed=yes | 7064 pkg_failed=yes |
7063 fi | 7065 fi |
7064 else | 7066 else |
7065 pkg_failed=untried | 7067 pkg_failed=untried |
7066 fi | 7068 fi |
7067 if test -n "$X11_LIBS"; then | 7069 if test -n "$mad_LIBS"; then |
7068 pkg_cv_X11_LIBS="$X11_LIBS" | 7070 pkg_cv_mad_LIBS="$mad_LIBS" |
7069 elif test -n "$PKG_CONFIG"; then | 7071 elif test -n "$PKG_CONFIG"; then |
7070 if test -n "$PKG_CONFIG" && \ | 7072 if test -n "$PKG_CONFIG" && \ |
7071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | 7073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 |
7072 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | 7074 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 |
7073 ac_status=$? | 7075 ac_status=$? |
7074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
7075 test $ac_status = 0; }; then | 7077 test $ac_status = 0; }; then |
7076 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | 7078 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` |
7077 test "x$?" != "x0" && pkg_failed=yes | 7079 test "x$?" != "x0" && pkg_failed=yes |
7078 else | 7080 else |
7079 pkg_failed=yes | 7081 pkg_failed=yes |
7080 fi | 7082 fi |
7081 else | 7083 else |
7092 _pkg_short_errors_supported=yes | 7094 _pkg_short_errors_supported=yes |
7093 else | 7095 else |
7094 _pkg_short_errors_supported=no | 7096 _pkg_short_errors_supported=no |
7095 fi | 7097 fi |
7096 if test $_pkg_short_errors_supported = yes; then | 7098 if test $_pkg_short_errors_supported = yes; then |
7097 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 7099 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
7098 else | 7100 else |
7099 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | 7101 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` |
7100 fi | 7102 fi |
7101 # Put the nasty error message in config.log where it belongs | 7103 # Put the nasty error message in config.log where it belongs |
7102 echo "$X11_PKG_ERRORS" >&5 | 7104 echo "$mad_PKG_ERRORS" >&5 |
7103 | 7105 |
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | 7106 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
7105 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 7107 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
7106 elif test $pkg_failed = untried; then | 7108 elif test $pkg_failed = untried; then |
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7108 $as_echo "no" >&6; } | 7110 $as_echo "no" >&6; } |
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 | 7111 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&5 |
7110 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | 7112 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} |
7111 else | 7113 else |
7112 X11_CFLAGS=$pkg_cv_X11_CFLAGS | 7114 mad_CFLAGS=$pkg_cv_mad_CFLAGS |
7113 X11_LIBS=$pkg_cv_X11_LIBS | 7115 mad_LIBS=$pkg_cv_mad_LIBS |
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
7115 $as_echo "yes" >&6; } | 7117 $as_echo "yes" >&6; } |
7116 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $X11_CFLAGS";LIBS="$LIBS $X11_LIBS";SV_MODULE_FAILED="" | 7118 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED="" |
7117 fi | 7119 fi |
7118 fi | 7120 fi |
7119 if test -n "$SV_MODULE_FAILED"; then | 7121 if test -n "$SV_MODULE_FAILED"; then |
7120 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 7122 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` |
7121 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | 7123 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |
7175 fi | 7177 fi |
7176 | 7178 |
7177 fi | 7179 fi |
7178 fi | 7180 fi |
7179 fi | 7181 fi |
7182 | |
7183 | |
7184 SV_MODULE_MODULE=id3tag | |
7185 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" | |
7186 SV_MODULE_HEADER=id3tag.h | |
7187 SV_MODULE_LIB=id3tag | |
7188 SV_MODULE_FUNC=id3_tag_new | |
7189 SV_MODULE_HAVE=HAVE_$(echo id3tag | tr 'a-z' 'A-Z') | |
7190 SV_MODULE_FAILED=1 | |
7191 if test -n "$id3tag_LIBS" ; then | |
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
7193 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
7194 CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS" | |
7195 LIBS="$LIBS $id3tag_LIBS" | |
7196 SV_MODULE_FAILED="" | |
7197 fi | |
7198 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
7199 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
7200 fi | |
7201 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
7202 | |
7203 pkg_failed=no | |
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 | |
7205 $as_echo_n "checking for id3tag... " >&6; } | |
7206 | |
7207 if test -n "$id3tag_CFLAGS"; then | |
7208 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" | |
7209 elif test -n "$PKG_CONFIG"; then | |
7210 if test -n "$PKG_CONFIG" && \ | |
7211 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7212 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7213 ac_status=$? | |
7214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7215 test $ac_status = 0; }; then | |
7216 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7217 test "x$?" != "x0" && pkg_failed=yes | |
7218 else | |
7219 pkg_failed=yes | |
7220 fi | |
7221 else | |
7222 pkg_failed=untried | |
7223 fi | |
7224 if test -n "$id3tag_LIBS"; then | |
7225 pkg_cv_id3tag_LIBS="$id3tag_LIBS" | |
7226 elif test -n "$PKG_CONFIG"; then | |
7227 if test -n "$PKG_CONFIG" && \ | |
7228 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7229 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7230 ac_status=$? | |
7231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7232 test $ac_status = 0; }; then | |
7233 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7234 test "x$?" != "x0" && pkg_failed=yes | |
7235 else | |
7236 pkg_failed=yes | |
7237 fi | |
7238 else | |
7239 pkg_failed=untried | |
7240 fi | |
7241 | |
7242 | |
7243 | |
7244 if test $pkg_failed = yes; then | |
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7246 $as_echo "no" >&6; } | |
7247 | |
7248 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
7249 _pkg_short_errors_supported=yes | |
7250 else | |
7251 _pkg_short_errors_supported=no | |
7252 fi | |
7253 if test $_pkg_short_errors_supported = yes; then | |
7254 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
7255 else | |
7256 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
7257 fi | |
7258 # Put the nasty error message in config.log where it belongs | |
7259 echo "$id3tag_PKG_ERRORS" >&5 | |
7260 | |
7261 { $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 | |
7262 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7263 elif test $pkg_failed = untried; then | |
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7265 $as_echo "no" >&6; } | |
7266 { $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 | |
7267 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7268 else | |
7269 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS | |
7270 id3tag_LIBS=$pkg_cv_id3tag_LIBS | |
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
7272 $as_echo "yes" >&6; } | |
7273 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $id3tag_CFLAGS";LIBS="$LIBS $id3tag_LIBS";SV_MODULE_FAILED="" | |
7274 fi | |
7275 fi | |
7276 if test -n "$SV_MODULE_FAILED"; then | |
7277 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
7278 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
7279 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
7280 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
7281 else | |
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
7283 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
7284 fi | |
7285 | |
7286 | |
7287 if test -z "$SV_MODULE_FAILED"; then | |
7288 if test -n "$SV_MODULE_LIB"; then | |
7289 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
7291 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
7292 if eval \${$as_ac_Lib+:} false; then : | |
7293 $as_echo_n "(cached) " >&6 | |
7294 else | |
7295 ac_check_lib_save_LIBS=$LIBS | |
7296 LIBS="-l$SV_MODULE_LIB $LIBS" | |
7297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7298 /* end confdefs.h. */ | |
7299 | |
7300 /* Override any GCC internal prototype to avoid an error. | |
7301 Use char because int might match the return type of a GCC | |
7302 builtin and then its argument prototype would still apply. */ | |
7303 #ifdef __cplusplus | |
7304 extern "C" | |
7305 #endif | |
7306 char $SV_MODULE_FUNC (); | |
7307 int | |
7308 main () | |
7309 { | |
7310 return $SV_MODULE_FUNC (); | |
7311 ; | |
7312 return 0; | |
7313 } | |
7314 _ACEOF | |
7315 if ac_fn_cxx_try_link "$LINENO"; then : | |
7316 eval "$as_ac_Lib=yes" | |
7317 else | |
7318 eval "$as_ac_Lib=no" | |
7319 fi | |
7320 rm -f core conftest.err conftest.$ac_objext \ | |
7321 conftest$ac_exeext conftest.$ac_ext | |
7322 LIBS=$ac_check_lib_save_LIBS | |
7323 fi | |
7324 eval ac_res=\$$as_ac_Lib | |
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
7326 $as_echo "$ac_res" >&6; } | |
7327 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
7328 LIBS="$LIBS -l$SV_MODULE_LIB" | |
7329 else | |
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
7331 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
7332 fi | |
7333 | |
7334 fi | |
7335 fi | |
7336 fi | |
7337 | |
7338 | |
7339 # Link in -lX11 if it exists -- this is for the X error handler | |
7340 | |
7341 SV_MODULE_MODULE=X11 | |
7342 SV_MODULE_VERSION_TEST="x11 >= 1.0.0" | |
7343 SV_MODULE_HEADER=X11/X.h | |
7344 SV_MODULE_LIB=x11 | |
7345 SV_MODULE_FUNC=XGetErrorText | |
7346 SV_MODULE_HAVE=HAVE_$(echo X11 | tr 'a-z' 'A-Z') | |
7347 SV_MODULE_FAILED=1 | |
7348 if test -n "$X11_LIBS" ; then | |
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | |
7350 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
7351 CXXFLAGS="$CXXFLAGS $X11_CFLAGS" | |
7352 LIBS="$LIBS $X11_LIBS" | |
7353 SV_MODULE_FAILED="" | |
7354 fi | |
7355 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
7356 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
7357 fi | |
7358 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
7359 | |
7360 pkg_failed=no | |
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 | |
7362 $as_echo_n "checking for X11... " >&6; } | |
7363 | |
7364 if test -n "$X11_CFLAGS"; then | |
7365 pkg_cv_X11_CFLAGS="$X11_CFLAGS" | |
7366 elif test -n "$PKG_CONFIG"; then | |
7367 if test -n "$PKG_CONFIG" && \ | |
7368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7369 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7370 ac_status=$? | |
7371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7372 test $ac_status = 0; }; then | |
7373 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7374 test "x$?" != "x0" && pkg_failed=yes | |
7375 else | |
7376 pkg_failed=yes | |
7377 fi | |
7378 else | |
7379 pkg_failed=untried | |
7380 fi | |
7381 if test -n "$X11_LIBS"; then | |
7382 pkg_cv_X11_LIBS="$X11_LIBS" | |
7383 elif test -n "$PKG_CONFIG"; then | |
7384 if test -n "$PKG_CONFIG" && \ | |
7385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
7386 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
7387 ac_status=$? | |
7388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
7389 test $ac_status = 0; }; then | |
7390 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
7391 test "x$?" != "x0" && pkg_failed=yes | |
7392 else | |
7393 pkg_failed=yes | |
7394 fi | |
7395 else | |
7396 pkg_failed=untried | |
7397 fi | |
7398 | |
7399 | |
7400 | |
7401 if test $pkg_failed = yes; then | |
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7403 $as_echo "no" >&6; } | |
7404 | |
7405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
7406 _pkg_short_errors_supported=yes | |
7407 else | |
7408 _pkg_short_errors_supported=no | |
7409 fi | |
7410 if test $_pkg_short_errors_supported = yes; then | |
7411 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
7412 else | |
7413 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
7414 fi | |
7415 # Put the nasty error message in config.log where it belongs | |
7416 echo "$X11_PKG_ERRORS" >&5 | |
7417 | |
7418 { $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 | |
7419 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7420 elif test $pkg_failed = untried; then | |
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
7422 $as_echo "no" >&6; } | |
7423 { $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 | |
7424 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
7425 else | |
7426 X11_CFLAGS=$pkg_cv_X11_CFLAGS | |
7427 X11_LIBS=$pkg_cv_X11_LIBS | |
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
7429 $as_echo "yes" >&6; } | |
7430 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $X11_CFLAGS";LIBS="$LIBS $X11_LIBS";SV_MODULE_FAILED="" | |
7431 fi | |
7432 fi | |
7433 if test -n "$SV_MODULE_FAILED"; then | |
7434 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
7435 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
7436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
7437 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED="" | |
7438 else | |
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5 | |
7440 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;} | |
7441 fi | |
7442 | |
7443 | |
7444 if test -z "$SV_MODULE_FAILED"; then | |
7445 if test -n "$SV_MODULE_LIB"; then | |
7446 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
7448 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
7449 if eval \${$as_ac_Lib+:} false; then : | |
7450 $as_echo_n "(cached) " >&6 | |
7451 else | |
7452 ac_check_lib_save_LIBS=$LIBS | |
7453 LIBS="-l$SV_MODULE_LIB $LIBS" | |
7454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
7455 /* end confdefs.h. */ | |
7456 | |
7457 /* Override any GCC internal prototype to avoid an error. | |
7458 Use char because int might match the return type of a GCC | |
7459 builtin and then its argument prototype would still apply. */ | |
7460 #ifdef __cplusplus | |
7461 extern "C" | |
7462 #endif | |
7463 char $SV_MODULE_FUNC (); | |
7464 int | |
7465 main () | |
7466 { | |
7467 return $SV_MODULE_FUNC (); | |
7468 ; | |
7469 return 0; | |
7470 } | |
7471 _ACEOF | |
7472 if ac_fn_cxx_try_link "$LINENO"; then : | |
7473 eval "$as_ac_Lib=yes" | |
7474 else | |
7475 eval "$as_ac_Lib=no" | |
7476 fi | |
7477 rm -f core conftest.err conftest.$ac_objext \ | |
7478 conftest$ac_exeext conftest.$ac_ext | |
7479 LIBS=$ac_check_lib_save_LIBS | |
7480 fi | |
7481 eval ac_res=\$$as_ac_Lib | |
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
7483 $as_echo "$ac_res" >&6; } | |
7484 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
7485 LIBS="$LIBS -l$SV_MODULE_LIB" | |
7486 else | |
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5 | |
7488 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;} | |
7489 fi | |
7490 | |
7491 fi | |
7492 fi | |
7493 fi | |
7494 | |
7180 | 7495 |
7181 | 7496 |
7182 | 7497 |
7183 | 7498 |
7184 | 7499 |
7743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 8058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
7744 # Save the log message, to keep $0 and so on meaningful, and to | 8059 # Save the log message, to keep $0 and so on meaningful, and to |
7745 # report actual input values of CONFIG_FILES etc. instead of their | 8060 # report actual input values of CONFIG_FILES etc. instead of their |
7746 # values after options handling. | 8061 # values after options handling. |
7747 ac_log=" | 8062 ac_log=" |
7748 This file was extended by Tony $as_me 0.0, which was | 8063 This file was extended by Tony $as_me 0.1, which was |
7749 generated by GNU Autoconf 2.69. Invocation command line was | 8064 generated by GNU Autoconf 2.69. Invocation command line was |
7750 | 8065 |
7751 CONFIG_FILES = $CONFIG_FILES | 8066 CONFIG_FILES = $CONFIG_FILES |
7752 CONFIG_HEADERS = $CONFIG_HEADERS | 8067 CONFIG_HEADERS = $CONFIG_HEADERS |
7753 CONFIG_LINKS = $CONFIG_LINKS | 8068 CONFIG_LINKS = $CONFIG_LINKS |
7796 | 8111 |
7797 _ACEOF | 8112 _ACEOF |
7798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 8113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
7799 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 8114 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
7800 ac_cs_version="\\ | 8115 ac_cs_version="\\ |
7801 Tony config.status 0.0 | 8116 Tony config.status 0.1 |
7802 configured by $0, generated by GNU Autoconf 2.69, | 8117 configured by $0, generated by GNU Autoconf 2.69, |
7803 with options \\"\$ac_cs_config\\" | 8118 with options \\"\$ac_cs_config\\" |
7804 | 8119 |
7805 Copyright (C) 2012 Free Software Foundation, Inc. | 8120 Copyright (C) 2012 Free Software Foundation, Inc. |
7806 This config.status script is free software; the Free Software Foundation | 8121 This config.status script is free software; the Free Software Foundation |
8528 Please check the above messages for any warnings that you | 8843 Please check the above messages for any warnings that you |
8529 might care about, and then run \"make\". | 8844 might care about, and then run \"make\". |
8530 | 8845 |
8531 The file config.pri contains the configuration settings for | 8846 The file config.pri contains the configuration settings for |
8532 qmake. If you want to adjust these by hand, edit config.pri | 8847 qmake. If you want to adjust these by hand, edit config.pri |
8533 and run \"qmake -r\" again to regenerate the Makefile. | 8848 and run \"$QMAKE -r\" again to regenerate the Makefile. |
8534 " >&5 | 8849 " >&5 |
8535 $as_echo "$as_me: | 8850 $as_echo "$as_me: |
8536 | 8851 |
8537 Configuration complete. | 8852 Configuration complete. |
8538 Please check the above messages for any warnings that you | 8853 Please check the above messages for any warnings that you |
8539 might care about, and then run \"make\". | 8854 might care about, and then run \"make\". |
8540 | 8855 |
8541 The file config.pri contains the configuration settings for | 8856 The file config.pri contains the configuration settings for |
8542 qmake. If you want to adjust these by hand, edit config.pri | 8857 qmake. If you want to adjust these by hand, edit config.pri |
8543 and run \"qmake -r\" again to regenerate the Makefile. | 8858 and run \"$QMAKE -r\" again to regenerate the Makefile. |
8544 " >&6;} | 8859 " >&6;} |