comparison configure @ 596:6948c3cc151e

Remove unnecessary configure dependency for raptor
author Chris Cannam
date Wed, 28 Sep 2011 10:16:03 +0100
parents 89f70e0bfa4b
children 0c5330bbe313
comparison
equal deleted inserted replaced
587:4806715f7a19 596:6948c3cc151e
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.67 for SVgui 1.8. 3 # Generated by GNU Autoconf 2.68 for SVgui 1.8.
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, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.) 90 # splitting by setting IFS to empty value.)
91 IFS=" "" $as_nl" 91 IFS=" "" $as_nl"
92 92
93 # Find who we are. Look in the path if we contain no directory separator. 93 # Find who we are. Look in the path if we contain no directory separator.
94 as_myself=
94 case $0 in #(( 95 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;; 96 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH 98 for as_dir in $PATH
98 do 99 do
214 215
215 if test "x$CONFIG_SHELL" != x; then : 216 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a 217 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also 218 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables. 219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
219 BASH_ENV=/dev/null 221 BASH_ENV=/dev/null
220 ENV=/dev/null 222 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL 224 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 225 case $- in # ((((
226 *v*x* | *x*v* ) as_opts=-vx ;;
227 *v* ) as_opts=-v ;;
228 *x* ) as_opts=-x ;;
229 * ) as_opts= ;;
230 esac
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
224 fi 232 fi
225 233
226 if test x$as_have_required = xno; then : 234 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all" 235 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system." 236 $as_echo "$0: the shells that I found on your system."
625 liblo_CFLAGS 633 liblo_CFLAGS
626 redland_LIBS 634 redland_LIBS
627 redland_CFLAGS 635 redland_CFLAGS
628 rasqal_LIBS 636 rasqal_LIBS
629 rasqal_CFLAGS 637 rasqal_CFLAGS
630 raptor_LIBS
631 raptor_CFLAGS
632 rubberband_LIBS 638 rubberband_LIBS
633 rubberband_CFLAGS 639 rubberband_CFLAGS
634 vamphostsdk_LIBS 640 vamphostsdk_LIBS
635 vamphostsdk_CFLAGS 641 vamphostsdk_CFLAGS
636 vamp_LIBS 642 vamp_LIBS
644 fftw3_LIBS 650 fftw3_LIBS
645 fftw3_CFLAGS 651 fftw3_CFLAGS
646 bz2_LIBS 652 bz2_LIBS
647 bz2_CFLAGS 653 bz2_CFLAGS
648 QMAKE 654 QMAKE
655 PKG_CONFIG_LIBDIR
656 PKG_CONFIG_PATH
649 PKG_CONFIG 657 PKG_CONFIG
650 EGREP 658 EGREP
651 GREP 659 GREP
652 CXXCPP 660 CXXCPP
653 MKDIR_P 661 MKDIR_P
718 CXX 726 CXX
719 CXXFLAGS 727 CXXFLAGS
720 CCC 728 CCC
721 CXXCPP 729 CXXCPP
722 PKG_CONFIG 730 PKG_CONFIG
731 PKG_CONFIG_PATH
732 PKG_CONFIG_LIBDIR
723 bz2_CFLAGS 733 bz2_CFLAGS
724 bz2_LIBS 734 bz2_LIBS
725 fftw3_CFLAGS 735 fftw3_CFLAGS
726 fftw3_LIBS 736 fftw3_LIBS
727 fftw3f_CFLAGS 737 fftw3f_CFLAGS
734 vamp_LIBS 744 vamp_LIBS
735 vamphostsdk_CFLAGS 745 vamphostsdk_CFLAGS
736 vamphostsdk_LIBS 746 vamphostsdk_LIBS
737 rubberband_CFLAGS 747 rubberband_CFLAGS
738 rubberband_LIBS 748 rubberband_LIBS
739 raptor_CFLAGS
740 raptor_LIBS
741 rasqal_CFLAGS 749 rasqal_CFLAGS
742 rasqal_LIBS 750 rasqal_LIBS
743 redland_CFLAGS 751 redland_CFLAGS
744 redland_LIBS 752 redland_LIBS
745 liblo_CFLAGS 753 liblo_CFLAGS
1162 *) 1170 *)
1163 # FIXME: should be removed in autoconf 3.0. 1171 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1175 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168 ;; 1176 ;;
1169 1177
1170 esac 1178 esac
1171 done 1179 done
1172 1180
1383 you have headers in a nonstandard directory <include dir> 1391 you have headers in a nonstandard directory <include dir>
1384 CXX C++ compiler command 1392 CXX C++ compiler command
1385 CXXFLAGS C++ compiler flags 1393 CXXFLAGS C++ compiler flags
1386 CXXCPP C++ preprocessor 1394 CXXCPP C++ preprocessor
1387 PKG_CONFIG path to pkg-config utility 1395 PKG_CONFIG path to pkg-config utility
1396 PKG_CONFIG_PATH
1397 directories to add to pkg-config's search path
1398 PKG_CONFIG_LIBDIR
1399 path overriding pkg-config's built-in search path
1388 bz2_CFLAGS C compiler flags for bz2, overriding pkg-config 1400 bz2_CFLAGS C compiler flags for bz2, overriding pkg-config
1389 bz2_LIBS linker flags for bz2, overriding pkg-config 1401 bz2_LIBS linker flags for bz2, overriding pkg-config
1390 fftw3_CFLAGS 1402 fftw3_CFLAGS
1391 C compiler flags for fftw3, overriding pkg-config 1403 C compiler flags for fftw3, overriding pkg-config
1392 fftw3_LIBS linker flags for fftw3, overriding pkg-config 1404 fftw3_LIBS linker flags for fftw3, overriding pkg-config
1409 linker flags for vamphostsdk, overriding pkg-config 1421 linker flags for vamphostsdk, overriding pkg-config
1410 rubberband_CFLAGS 1422 rubberband_CFLAGS
1411 C compiler flags for rubberband, overriding pkg-config 1423 C compiler flags for rubberband, overriding pkg-config
1412 rubberband_LIBS 1424 rubberband_LIBS
1413 linker flags for rubberband, overriding pkg-config 1425 linker flags for rubberband, overriding pkg-config
1414 raptor_CFLAGS
1415 C compiler flags for raptor, overriding pkg-config
1416 raptor_LIBS linker flags for raptor, overriding pkg-config
1417 rasqal_CFLAGS 1426 rasqal_CFLAGS
1418 C compiler flags for rasqal, overriding pkg-config 1427 C compiler flags for rasqal, overriding pkg-config
1419 rasqal_LIBS linker flags for rasqal, overriding pkg-config 1428 rasqal_LIBS linker flags for rasqal, overriding pkg-config
1420 redland_CFLAGS 1429 redland_CFLAGS
1421 C compiler flags for redland, overriding pkg-config 1430 C compiler flags for redland, overriding pkg-config
1513 1522
1514 test -n "$ac_init_help" && exit $ac_status 1523 test -n "$ac_init_help" && exit $ac_status
1515 if $ac_init_version; then 1524 if $ac_init_version; then
1516 cat <<\_ACEOF 1525 cat <<\_ACEOF
1517 SVgui configure 1.8 1526 SVgui configure 1.8
1518 generated by GNU Autoconf 2.67 1527 generated by GNU Autoconf 2.68
1519 1528
1520 Copyright (C) 2010 Free Software Foundation, Inc. 1529 Copyright (C) 2010 Free Software Foundation, Inc.
1521 This configure script is free software; the Free Software Foundation 1530 This configure script is free software; the Free Software Foundation
1522 gives unlimited permission to copy, distribute and modify it. 1531 gives unlimited permission to copy, distribute and modify it.
1523 _ACEOF 1532 _ACEOF
1559 $as_echo "$as_me: failed program was:" >&5 1568 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5 1569 sed 's/^/| /' conftest.$ac_ext >&5
1561 1570
1562 ac_retval=1 1571 ac_retval=1
1563 fi 1572 fi
1564 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1573 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval 1574 as_fn_set_status $ac_retval
1566 1575
1567 } # ac_fn_c_try_compile 1576 } # ac_fn_c_try_compile
1568 1577
1569 # ac_fn_cxx_try_compile LINENO 1578 # ac_fn_cxx_try_compile LINENO
1597 $as_echo "$as_me: failed program was:" >&5 1606 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5 1607 sed 's/^/| /' conftest.$ac_ext >&5
1599 1608
1600 ac_retval=1 1609 ac_retval=1
1601 fi 1610 fi
1602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1611 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status $ac_retval 1612 as_fn_set_status $ac_retval
1604 1613
1605 } # ac_fn_cxx_try_compile 1614 } # ac_fn_cxx_try_compile
1606 1615
1607 # ac_fn_cxx_try_cpp LINENO 1616 # ac_fn_cxx_try_cpp LINENO
1634 $as_echo "$as_me: failed program was:" >&5 1643 $as_echo "$as_me: failed program was:" >&5
1635 sed 's/^/| /' conftest.$ac_ext >&5 1644 sed 's/^/| /' conftest.$ac_ext >&5
1636 1645
1637 ac_retval=1 1646 ac_retval=1
1638 fi 1647 fi
1639 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1648 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640 as_fn_set_status $ac_retval 1649 as_fn_set_status $ac_retval
1641 1650
1642 } # ac_fn_cxx_try_cpp 1651 } # ac_fn_cxx_try_cpp
1643 1652
1644 # ac_fn_cxx_try_run LINENO 1653 # ac_fn_cxx_try_run LINENO
1676 sed 's/^/| /' conftest.$ac_ext >&5 1685 sed 's/^/| /' conftest.$ac_ext >&5
1677 1686
1678 ac_retval=$ac_status 1687 ac_retval=$ac_status
1679 fi 1688 fi
1680 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1689 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1681 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1690 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 as_fn_set_status $ac_retval 1691 as_fn_set_status $ac_retval
1683 1692
1684 } # ac_fn_cxx_try_run 1693 } # ac_fn_cxx_try_run
1685 1694
1686 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES 1695 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1689 # the include files in INCLUDES and setting the cache variable VAR 1698 # the include files in INCLUDES and setting the cache variable VAR
1690 # accordingly. 1699 # accordingly.
1691 ac_fn_cxx_check_header_mongrel () 1700 ac_fn_cxx_check_header_mongrel ()
1692 { 1701 {
1693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1702 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694 if eval "test \"\${$3+set}\"" = set; then : 1703 if eval \${$3+:} false; then :
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696 $as_echo_n "checking for $2... " >&6; } 1705 $as_echo_n "checking for $2... " >&6; }
1697 if eval "test \"\${$3+set}\"" = set; then : 1706 if eval \${$3+:} false; then :
1698 $as_echo_n "(cached) " >&6 1707 $as_echo_n "(cached) " >&6
1699 fi 1708 fi
1700 eval ac_res=\$$3 1709 eval ac_res=\$$3
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1702 $as_echo "$ac_res" >&6; } 1711 $as_echo "$ac_res" >&6; }
1759 ) | sed "s/^/$as_me: WARNING: /" >&2 1768 ) | sed "s/^/$as_me: WARNING: /" >&2
1760 ;; 1769 ;;
1761 esac 1770 esac
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763 $as_echo_n "checking for $2... " >&6; } 1772 $as_echo_n "checking for $2... " >&6; }
1764 if eval "test \"\${$3+set}\"" = set; then : 1773 if eval \${$3+:} false; then :
1765 $as_echo_n "(cached) " >&6 1774 $as_echo_n "(cached) " >&6
1766 else 1775 else
1767 eval "$3=\$ac_header_compiler" 1776 eval "$3=\$ac_header_compiler"
1768 fi 1777 fi
1769 eval ac_res=\$$3 1778 eval ac_res=\$$3
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; } 1780 $as_echo "$ac_res" >&6; }
1772 fi 1781 fi
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 1783
1775 } # ac_fn_cxx_check_header_mongrel 1784 } # ac_fn_cxx_check_header_mongrel
1776 1785
1777 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES 1786 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1778 # --------------------------------------------------------- 1787 # ---------------------------------------------------------
1781 ac_fn_cxx_check_header_compile () 1790 ac_fn_cxx_check_header_compile ()
1782 { 1791 {
1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; } 1794 $as_echo_n "checking for $2... " >&6; }
1786 if eval "test \"\${$3+set}\"" = set; then : 1795 if eval \${$3+:} false; then :
1787 $as_echo_n "(cached) " >&6 1796 $as_echo_n "(cached) " >&6
1788 else 1797 else
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */ 1799 /* end confdefs.h. */
1791 $4 1800 $4
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1800 fi 1809 fi
1801 eval ac_res=\$$3 1810 eval ac_res=\$$3
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1803 $as_echo "$ac_res" >&6; } 1812 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1813 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 1814
1806 } # ac_fn_cxx_check_header_compile 1815 } # ac_fn_cxx_check_header_compile
1807 1816
1808 # ac_fn_cxx_try_link LINENO 1817 # ac_fn_cxx_try_link LINENO
1809 # ------------------------- 1818 # -------------------------
1844 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1853 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1845 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1854 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1846 # interfere with the next link command; also delete a directory that is 1855 # interfere with the next link command; also delete a directory that is
1847 # left behind by Apple's compiler. We do this before executing the actions. 1856 # left behind by Apple's compiler. We do this before executing the actions.
1848 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1857 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1849 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 as_fn_set_status $ac_retval 1859 as_fn_set_status $ac_retval
1851 1860
1852 } # ac_fn_cxx_try_link 1861 } # ac_fn_cxx_try_link
1853 cat >config.log <<_ACEOF 1862 cat >config.log <<_ACEOF
1854 This file contains any messages produced by compilers while 1863 This file contains any messages produced by compilers while
1855 running configure, to aid debugging if configure makes a mistake. 1864 running configure, to aid debugging if configure makes a mistake.
1856 1865
1857 It was created by SVgui $as_me 1.8, which was 1866 It was created by SVgui $as_me 1.8, which was
1858 generated by GNU Autoconf 2.67. Invocation command line was 1867 generated by GNU Autoconf 2.68. Invocation command line was
1859 1868
1860 $ $0 $@ 1869 $ $0 $@
1861 1870
1862 _ACEOF 1871 _ACEOF
1863 exec 5>>config.log 1872 exec 5>>config.log
2111 sed 's/^/| /' "$ac_site_file" >&5 2120 sed 's/^/| /' "$ac_site_file" >&5
2112 . "$ac_site_file" \ 2121 . "$ac_site_file" \
2113 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2122 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2115 as_fn_error $? "failed to load site script $ac_site_file 2124 as_fn_error $? "failed to load site script $ac_site_file
2116 See \`config.log' for more details" "$LINENO" 5 ; } 2125 See \`config.log' for more details" "$LINENO" 5; }
2117 fi 2126 fi
2118 done 2127 done
2119 2128
2120 if test -r "$cache_file"; then 2129 if test -r "$cache_file"; then
2121 # Some versions of bash will fail to source /dev/null (special files 2130 # Some versions of bash will fail to source /dev/null (special files
2235 if test -n "$ac_tool_prefix"; then 2244 if test -n "$ac_tool_prefix"; then
2236 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2245 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2237 set dummy ${ac_tool_prefix}gcc; ac_word=$2 2246 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2239 $as_echo_n "checking for $ac_word... " >&6; } 2248 $as_echo_n "checking for $ac_word... " >&6; }
2240 if test "${ac_cv_prog_CC+set}" = set; then : 2249 if ${ac_cv_prog_CC+:} false; then :
2241 $as_echo_n "(cached) " >&6 2250 $as_echo_n "(cached) " >&6
2242 else 2251 else
2243 if test -n "$CC"; then 2252 if test -n "$CC"; then
2244 ac_cv_prog_CC="$CC" # Let the user override the test. 2253 ac_cv_prog_CC="$CC" # Let the user override the test.
2245 else 2254 else
2275 ac_ct_CC=$CC 2284 ac_ct_CC=$CC
2276 # Extract the first word of "gcc", so it can be a program name with args. 2285 # Extract the first word of "gcc", so it can be a program name with args.
2277 set dummy gcc; ac_word=$2 2286 set dummy gcc; ac_word=$2
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2279 $as_echo_n "checking for $ac_word... " >&6; } 2288 $as_echo_n "checking for $ac_word... " >&6; }
2280 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2289 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2281 $as_echo_n "(cached) " >&6 2290 $as_echo_n "(cached) " >&6
2282 else 2291 else
2283 if test -n "$ac_ct_CC"; then 2292 if test -n "$ac_ct_CC"; then
2284 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2285 else 2294 else
2328 if test -n "$ac_tool_prefix"; then 2337 if test -n "$ac_tool_prefix"; then
2329 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2338 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2330 set dummy ${ac_tool_prefix}cc; ac_word=$2 2339 set dummy ${ac_tool_prefix}cc; ac_word=$2
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2332 $as_echo_n "checking for $ac_word... " >&6; } 2341 $as_echo_n "checking for $ac_word... " >&6; }
2333 if test "${ac_cv_prog_CC+set}" = set; then : 2342 if ${ac_cv_prog_CC+:} false; then :
2334 $as_echo_n "(cached) " >&6 2343 $as_echo_n "(cached) " >&6
2335 else 2344 else
2336 if test -n "$CC"; then 2345 if test -n "$CC"; then
2337 ac_cv_prog_CC="$CC" # Let the user override the test. 2346 ac_cv_prog_CC="$CC" # Let the user override the test.
2338 else 2347 else
2368 if test -z "$CC"; then 2377 if test -z "$CC"; then
2369 # Extract the first word of "cc", so it can be a program name with args. 2378 # Extract the first word of "cc", so it can be a program name with args.
2370 set dummy cc; ac_word=$2 2379 set dummy cc; ac_word=$2
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2372 $as_echo_n "checking for $ac_word... " >&6; } 2381 $as_echo_n "checking for $ac_word... " >&6; }
2373 if test "${ac_cv_prog_CC+set}" = set; then : 2382 if ${ac_cv_prog_CC+:} false; then :
2374 $as_echo_n "(cached) " >&6 2383 $as_echo_n "(cached) " >&6
2375 else 2384 else
2376 if test -n "$CC"; then 2385 if test -n "$CC"; then
2377 ac_cv_prog_CC="$CC" # Let the user override the test. 2386 ac_cv_prog_CC="$CC" # Let the user override the test.
2378 else 2387 else
2427 do 2436 do
2428 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2437 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2429 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2438 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2431 $as_echo_n "checking for $ac_word... " >&6; } 2440 $as_echo_n "checking for $ac_word... " >&6; }
2432 if test "${ac_cv_prog_CC+set}" = set; then : 2441 if ${ac_cv_prog_CC+:} false; then :
2433 $as_echo_n "(cached) " >&6 2442 $as_echo_n "(cached) " >&6
2434 else 2443 else
2435 if test -n "$CC"; then 2444 if test -n "$CC"; then
2436 ac_cv_prog_CC="$CC" # Let the user override the test. 2445 ac_cv_prog_CC="$CC" # Let the user override the test.
2437 else 2446 else
2471 do 2480 do
2472 # Extract the first word of "$ac_prog", so it can be a program name with args. 2481 # Extract the first word of "$ac_prog", so it can be a program name with args.
2473 set dummy $ac_prog; ac_word=$2 2482 set dummy $ac_prog; ac_word=$2
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2475 $as_echo_n "checking for $ac_word... " >&6; } 2484 $as_echo_n "checking for $ac_word... " >&6; }
2476 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : 2485 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2477 $as_echo_n "(cached) " >&6 2486 $as_echo_n "(cached) " >&6
2478 else 2487 else
2479 if test -n "$ac_ct_CC"; then 2488 if test -n "$ac_ct_CC"; then
2480 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2489 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2481 else 2490 else
2526 2535
2527 2536
2528 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2537 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2530 as_fn_error $? "no acceptable C compiler found in \$PATH 2539 as_fn_error $? "no acceptable C compiler found in \$PATH
2531 See \`config.log' for more details" "$LINENO" 5 ; } 2540 See \`config.log' for more details" "$LINENO" 5; }
2532 2541
2533 # Provide some information about the compiler. 2542 # Provide some information about the compiler.
2534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2543 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2535 set X $ac_compile 2544 set X $ac_compile
2536 ac_compiler=$2 2545 ac_compiler=$2
2641 sed 's/^/| /' conftest.$ac_ext >&5 2650 sed 's/^/| /' conftest.$ac_ext >&5
2642 2651
2643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2645 as_fn_error 77 "C compiler cannot create executables 2654 as_fn_error 77 "C compiler cannot create executables
2646 See \`config.log' for more details" "$LINENO" 5 ; } 2655 See \`config.log' for more details" "$LINENO" 5; }
2647 else 2656 else
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2649 $as_echo "yes" >&6; } 2658 $as_echo "yes" >&6; }
2650 fi 2659 fi
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2684 done 2693 done
2685 else 2694 else
2686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2688 as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2697 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2689 See \`config.log' for more details" "$LINENO" 5 ; } 2698 See \`config.log' for more details" "$LINENO" 5; }
2690 fi 2699 fi
2691 rm -f conftest conftest$ac_cv_exeext 2700 rm -f conftest conftest$ac_cv_exeext
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2693 $as_echo "$ac_cv_exeext" >&6; } 2702 $as_echo "$ac_cv_exeext" >&6; }
2694 2703
2743 else 2752 else
2744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2746 as_fn_error $? "cannot run C compiled programs. 2755 as_fn_error $? "cannot run C compiled programs.
2747 If you meant to cross compile, use \`--host'. 2756 If you meant to cross compile, use \`--host'.
2748 See \`config.log' for more details" "$LINENO" 5 ; } 2757 See \`config.log' for more details" "$LINENO" 5; }
2749 fi 2758 fi
2750 fi 2759 fi
2751 fi 2760 fi
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2753 $as_echo "$cross_compiling" >&6; } 2762 $as_echo "$cross_compiling" >&6; }
2754 2763
2755 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2764 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2756 ac_clean_files=$ac_clean_files_save 2765 ac_clean_files=$ac_clean_files_save
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2758 $as_echo_n "checking for suffix of object files... " >&6; } 2767 $as_echo_n "checking for suffix of object files... " >&6; }
2759 if test "${ac_cv_objext+set}" = set; then : 2768 if ${ac_cv_objext+:} false; then :
2760 $as_echo_n "(cached) " >&6 2769 $as_echo_n "(cached) " >&6
2761 else 2770 else
2762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2763 /* end confdefs.h. */ 2772 /* end confdefs.h. */
2764 2773
2795 sed 's/^/| /' conftest.$ac_ext >&5 2804 sed 's/^/| /' conftest.$ac_ext >&5
2796 2805
2797 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2806 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2798 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2807 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2799 as_fn_error $? "cannot compute suffix of object files: cannot compile 2808 as_fn_error $? "cannot compute suffix of object files: cannot compile
2800 See \`config.log' for more details" "$LINENO" 5 ; } 2809 See \`config.log' for more details" "$LINENO" 5; }
2801 fi 2810 fi
2802 rm -f conftest.$ac_cv_objext conftest.$ac_ext 2811 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2803 fi 2812 fi
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2805 $as_echo "$ac_cv_objext" >&6; } 2814 $as_echo "$ac_cv_objext" >&6; }
2806 OBJEXT=$ac_cv_objext 2815 OBJEXT=$ac_cv_objext
2807 ac_objext=$OBJEXT 2816 ac_objext=$OBJEXT
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2809 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2818 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2810 if test "${ac_cv_c_compiler_gnu+set}" = set; then : 2819 if ${ac_cv_c_compiler_gnu+:} false; then :
2811 $as_echo_n "(cached) " >&6 2820 $as_echo_n "(cached) " >&6
2812 else 2821 else
2813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814 /* end confdefs.h. */ 2823 /* end confdefs.h. */
2815 2824
2842 fi 2851 fi
2843 ac_test_CFLAGS=${CFLAGS+set} 2852 ac_test_CFLAGS=${CFLAGS+set}
2844 ac_save_CFLAGS=$CFLAGS 2853 ac_save_CFLAGS=$CFLAGS
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2846 $as_echo_n "checking whether $CC accepts -g... " >&6; } 2855 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2847 if test "${ac_cv_prog_cc_g+set}" = set; then : 2856 if ${ac_cv_prog_cc_g+:} false; then :
2848 $as_echo_n "(cached) " >&6 2857 $as_echo_n "(cached) " >&6
2849 else 2858 else
2850 ac_save_c_werror_flag=$ac_c_werror_flag 2859 ac_save_c_werror_flag=$ac_c_werror_flag
2851 ac_c_werror_flag=yes 2860 ac_c_werror_flag=yes
2852 ac_cv_prog_cc_g=no 2861 ac_cv_prog_cc_g=no
2920 CFLAGS= 2929 CFLAGS=
2921 fi 2930 fi
2922 fi 2931 fi
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2924 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2933 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2925 if test "${ac_cv_prog_cc_c89+set}" = set; then : 2934 if ${ac_cv_prog_cc_c89+:} false; then :
2926 $as_echo_n "(cached) " >&6 2935 $as_echo_n "(cached) " >&6
2927 else 2936 else
2928 ac_cv_prog_cc_c89=no 2937 ac_cv_prog_cc_c89=no
2929 ac_save_CC=$CC 2938 ac_save_CC=$CC
2930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3031 do 3040 do
3032 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3041 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3033 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3042 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; } 3044 $as_echo_n "checking for $ac_word... " >&6; }
3036 if test "${ac_cv_prog_CXX+set}" = set; then : 3045 if ${ac_cv_prog_CXX+:} false; then :
3037 $as_echo_n "(cached) " >&6 3046 $as_echo_n "(cached) " >&6
3038 else 3047 else
3039 if test -n "$CXX"; then 3048 if test -n "$CXX"; then
3040 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3049 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3041 else 3050 else
3075 do 3084 do
3076 # Extract the first word of "$ac_prog", so it can be a program name with args. 3085 # Extract the first word of "$ac_prog", so it can be a program name with args.
3077 set dummy $ac_prog; ac_word=$2 3086 set dummy $ac_prog; ac_word=$2
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3079 $as_echo_n "checking for $ac_word... " >&6; } 3088 $as_echo_n "checking for $ac_word... " >&6; }
3080 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : 3089 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3081 $as_echo_n "(cached) " >&6 3090 $as_echo_n "(cached) " >&6
3082 else 3091 else
3083 if test -n "$ac_ct_CXX"; then 3092 if test -n "$ac_ct_CXX"; then
3084 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3093 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3085 else 3094 else
3153 test $ac_status = 0; } 3162 test $ac_status = 0; }
3154 done 3163 done
3155 3164
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3157 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3166 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3158 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : 3167 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3159 $as_echo_n "(cached) " >&6 3168 $as_echo_n "(cached) " >&6
3160 else 3169 else
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */ 3171 /* end confdefs.h. */
3163 3172
3190 fi 3199 fi
3191 ac_test_CXXFLAGS=${CXXFLAGS+set} 3200 ac_test_CXXFLAGS=${CXXFLAGS+set}
3192 ac_save_CXXFLAGS=$CXXFLAGS 3201 ac_save_CXXFLAGS=$CXXFLAGS
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3194 $as_echo_n "checking whether $CXX accepts -g... " >&6; } 3203 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3195 if test "${ac_cv_prog_cxx_g+set}" = set; then : 3204 if ${ac_cv_prog_cxx_g+:} false; then :
3196 $as_echo_n "(cached) " >&6 3205 $as_echo_n "(cached) " >&6
3197 else 3206 else
3198 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3207 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3199 ac_cxx_werror_flag=yes 3208 ac_cxx_werror_flag=yes
3200 ac_cv_prog_cxx_g=no 3209 ac_cv_prog_cxx_g=no
3318 # ./install, which can be erroneously created by make from ./install.sh. 3327 # ./install, which can be erroneously created by make from ./install.sh.
3319 # Reject install programs that cannot install multiple files. 3328 # Reject install programs that cannot install multiple files.
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3321 $as_echo_n "checking for a BSD-compatible install... " >&6; } 3330 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3322 if test -z "$INSTALL"; then 3331 if test -z "$INSTALL"; then
3323 if test "${ac_cv_path_install+set}" = set; then : 3332 if ${ac_cv_path_install+:} false; then :
3324 $as_echo_n "(cached) " >&6 3333 $as_echo_n "(cached) " >&6
3325 else 3334 else
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH 3336 for as_dir in $PATH
3328 do 3337 do
3397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3406 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3398 3407
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3400 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3409 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3401 if test -z "$MKDIR_P"; then 3410 if test -z "$MKDIR_P"; then
3402 if test "${ac_cv_path_mkdir+set}" = set; then : 3411 if ${ac_cv_path_mkdir+:} false; then :
3403 $as_echo_n "(cached) " >&6 3412 $as_echo_n "(cached) " >&6
3404 else 3413 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3415 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3407 do 3416 do
3446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
3449 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } 3458 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
3450 if test -z "$CXXCPP"; then 3459 if test -z "$CXXCPP"; then
3451 if test "${ac_cv_prog_CXXCPP+set}" = set; then : 3460 if ${ac_cv_prog_CXXCPP+:} false; then :
3452 $as_echo_n "(cached) " >&6 3461 $as_echo_n "(cached) " >&6
3453 else 3462 else
3454 # Double quotes because CXXCPP needs to be expanded 3463 # Double quotes because CXXCPP needs to be expanded
3455 for CXXCPP in "$CXX -E" "/lib/cpp" 3464 for CXXCPP in "$CXX -E" "/lib/cpp"
3456 do 3465 do
3562 3571
3563 else 3572 else
3564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3566 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 3575 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
3567 See \`config.log' for more details" "$LINENO" 5 ; } 3576 See \`config.log' for more details" "$LINENO" 5; }
3568 fi 3577 fi
3569 3578
3570 ac_ext=cpp 3579 ac_ext=cpp
3571 ac_cpp='$CXXCPP $CPPFLAGS' 3580 ac_cpp='$CXXCPP $CPPFLAGS'
3572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3575 3584
3576 3585
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3578 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3587 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3579 if test "${ac_cv_path_GREP+set}" = set; then : 3588 if ${ac_cv_path_GREP+:} false; then :
3580 $as_echo_n "(cached) " >&6 3589 $as_echo_n "(cached) " >&6
3581 else 3590 else
3582 if test -z "$GREP"; then 3591 if test -z "$GREP"; then
3583 ac_path_GREP_found=false 3592 ac_path_GREP_found=false
3584 # Loop through the user's path and test for each of PROGNAME-LIST 3593 # Loop through the user's path and test for each of PROGNAME-LIST
3637 GREP="$ac_cv_path_GREP" 3646 GREP="$ac_cv_path_GREP"
3638 3647
3639 3648
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3641 $as_echo_n "checking for egrep... " >&6; } 3650 $as_echo_n "checking for egrep... " >&6; }
3642 if test "${ac_cv_path_EGREP+set}" = set; then : 3651 if ${ac_cv_path_EGREP+:} false; then :
3643 $as_echo_n "(cached) " >&6 3652 $as_echo_n "(cached) " >&6
3644 else 3653 else
3645 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3654 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3646 then ac_cv_path_EGREP="$GREP -E" 3655 then ac_cv_path_EGREP="$GREP -E"
3647 else 3656 else
3704 EGREP="$ac_cv_path_EGREP" 3713 EGREP="$ac_cv_path_EGREP"
3705 3714
3706 3715
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3708 $as_echo_n "checking for ANSI C header files... " >&6; } 3717 $as_echo_n "checking for ANSI C header files... " >&6; }
3709 if test "${ac_cv_header_stdc+set}" = set; then : 3718 if ${ac_cv_header_stdc+:} false; then :
3710 $as_echo_n "(cached) " >&6 3719 $as_echo_n "(cached) " >&6
3711 else 3720 else
3712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3713 /* end confdefs.h. */ 3722 /* end confdefs.h. */
3714 #include <stdlib.h> 3723 #include <stdlib.h>
3822 # preferred flags) 3831 # preferred flags)
3823 AUTOCONF_CXXFLAGS="$CXXFLAGS" 3832 AUTOCONF_CXXFLAGS="$CXXFLAGS"
3824 3833
3825 3834
3826 3835
3836
3837
3838
3839
3840
3827 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3841 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3828 if test -n "$ac_tool_prefix"; then 3842 if test -n "$ac_tool_prefix"; then
3829 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3843 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3830 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3844 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; } 3846 $as_echo_n "checking for $ac_word... " >&6; }
3833 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : 3847 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3834 $as_echo_n "(cached) " >&6 3848 $as_echo_n "(cached) " >&6
3835 else 3849 else
3836 case $PKG_CONFIG in 3850 case $PKG_CONFIG in
3837 [\\/]* | ?:[\\/]*) 3851 [\\/]* | ?:[\\/]*)
3838 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3852 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3871 ac_pt_PKG_CONFIG=$PKG_CONFIG 3885 ac_pt_PKG_CONFIG=$PKG_CONFIG
3872 # Extract the first word of "pkg-config", so it can be a program name with args. 3886 # Extract the first word of "pkg-config", so it can be a program name with args.
3873 set dummy pkg-config; ac_word=$2 3887 set dummy pkg-config; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; } 3889 $as_echo_n "checking for $ac_word... " >&6; }
3876 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : 3890 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3877 $as_echo_n "(cached) " >&6 3891 $as_echo_n "(cached) " >&6
3878 else 3892 else
3879 case $ac_pt_PKG_CONFIG in 3893 case $ac_pt_PKG_CONFIG in
3880 [\\/]* | ?:[\\/]*) 3894 [\\/]* | ?:[\\/]*)
3881 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3895 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3934 else 3948 else
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; } 3950 $as_echo "no" >&6; }
3937 PKG_CONFIG="" 3951 PKG_CONFIG=""
3938 fi 3952 fi
3939
3940 fi 3953 fi
3941 3954
3942 3955
3943 3956
3944 3957
3945 if test x$QMAKE = x ; then 3958 if test x$QMAKE = x ; then
3946 # Extract the first word of "qmake-qt4", so it can be a program name with args. 3959 # Extract the first word of "qmake-qt4", so it can be a program name with args.
3947 set dummy qmake-qt4; ac_word=$2 3960 set dummy qmake-qt4; ac_word=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; } 3962 $as_echo_n "checking for $ac_word... " >&6; }
3950 if test "${ac_cv_prog_QMAKE+set}" = set; then : 3963 if ${ac_cv_prog_QMAKE+:} false; then :
3951 $as_echo_n "(cached) " >&6 3964 $as_echo_n "(cached) " >&6
3952 else 3965 else
3953 if test -n "$QMAKE"; then 3966 if test -n "$QMAKE"; then
3954 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. 3967 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
3955 else 3968 else
3984 if test x$QMAKE = x ; then 3997 if test x$QMAKE = x ; then
3985 # Extract the first word of "qmake", so it can be a program name with args. 3998 # Extract the first word of "qmake", so it can be a program name with args.
3986 set dummy qmake; ac_word=$2 3999 set dummy qmake; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; } 4001 $as_echo_n "checking for $ac_word... " >&6; }
3989 if test "${ac_cv_prog_QMAKE+set}" = set; then : 4002 if ${ac_cv_prog_QMAKE+:} false; then :
3990 $as_echo_n "(cached) " >&6 4003 $as_echo_n "(cached) " >&6
3991 else 4004 else
3992 if test -n "$QMAKE"; then 4005 if test -n "$QMAKE"; then
3993 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. 4006 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
3994 else 4007 else
4023 if test x$QMAKE = x ; then 4036 if test x$QMAKE = x ; then
4024 # Extract the first word of "qmake.exe", so it can be a program name with args. 4037 # Extract the first word of "qmake.exe", so it can be a program name with args.
4025 set dummy qmake.exe; ac_word=$2 4038 set dummy qmake.exe; ac_word=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; } 4040 $as_echo_n "checking for $ac_word... " >&6; }
4028 if test "${ac_cv_prog_QMAKE+set}" = set; then : 4041 if ${ac_cv_prog_QMAKE+:} false; then :
4029 $as_echo_n "(cached) " >&6 4042 $as_echo_n "(cached) " >&6
4030 else 4043 else
4031 if test -n "$QMAKE"; then 4044 if test -n "$QMAKE"; then
4032 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. 4045 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
4033 else 4046 else
4062 if test x$QMAKE = x ; then 4075 if test x$QMAKE = x ; then
4063 # Extract the first word of "qmake-qt4", so it can be a program name with args. 4076 # Extract the first word of "qmake-qt4", so it can be a program name with args.
4064 set dummy qmake-qt4; ac_word=$2 4077 set dummy qmake-qt4; ac_word=$2
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4066 $as_echo_n "checking for $ac_word... " >&6; } 4079 $as_echo_n "checking for $ac_word... " >&6; }
4067 if test "${ac_cv_prog_QMAKE+set}" = set; then : 4080 if ${ac_cv_prog_QMAKE+:} false; then :
4068 $as_echo_n "(cached) " >&6 4081 $as_echo_n "(cached) " >&6
4069 else 4082 else
4070 if test -n "$QMAKE"; then 4083 if test -n "$QMAKE"; then
4071 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. 4084 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
4072 else 4085 else
4101 if test x$QMAKE = x ; then 4114 if test x$QMAKE = x ; then
4102 # Extract the first word of "qmake", so it can be a program name with args. 4115 # Extract the first word of "qmake", so it can be a program name with args.
4103 set dummy qmake; ac_word=$2 4116 set dummy qmake; ac_word=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; } 4118 $as_echo_n "checking for $ac_word... " >&6; }
4106 if test "${ac_cv_prog_QMAKE+set}" = set; then : 4119 if ${ac_cv_prog_QMAKE+:} false; then :
4107 $as_echo_n "(cached) " >&6 4120 $as_echo_n "(cached) " >&6
4108 else 4121 else
4109 if test -n "$QMAKE"; then 4122 if test -n "$QMAKE"; then
4110 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test. 4123 ac_cv_prog_QMAKE="$QMAKE" # Let the user override the test.
4111 else 4124 else
4258 4271
4259 pkg_failed=no 4272 pkg_failed=no
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bz2" >&5 4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bz2" >&5
4261 $as_echo_n "checking for bz2... " >&6; } 4274 $as_echo_n "checking for bz2... " >&6; }
4262 4275
4263 if test -n "$PKG_CONFIG"; then 4276 if test -n "$bz2_CFLAGS"; then
4264 if test -n "$bz2_CFLAGS"; then 4277 pkg_cv_bz2_CFLAGS="$bz2_CFLAGS"
4265 pkg_cv_bz2_CFLAGS="$bz2_CFLAGS" 4278 elif test -n "$PKG_CONFIG"; then
4266 else 4279 if test -n "$PKG_CONFIG" && \
4267 if test -n "$PKG_CONFIG" && \
4268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4269 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4281 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4270 ac_status=$? 4282 ac_status=$?
4271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4272 test $ac_status = 0; }; then 4284 test $ac_status = 0; }; then
4273 pkg_cv_bz2_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4285 pkg_cv_bz2_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4286 test "x$?" != "x0" && pkg_failed=yes
4274 else 4287 else
4275 pkg_failed=yes 4288 pkg_failed=yes
4276 fi 4289 fi
4277 fi 4290 else
4278 else 4291 pkg_failed=untried
4279 pkg_failed=untried 4292 fi
4280 fi 4293 if test -n "$bz2_LIBS"; then
4281 if test -n "$PKG_CONFIG"; then 4294 pkg_cv_bz2_LIBS="$bz2_LIBS"
4282 if test -n "$bz2_LIBS"; then 4295 elif test -n "$PKG_CONFIG"; then
4283 pkg_cv_bz2_LIBS="$bz2_LIBS" 4296 if test -n "$PKG_CONFIG" && \
4284 else
4285 if test -n "$PKG_CONFIG" && \
4286 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4297 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4287 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4298 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4288 ac_status=$? 4299 ac_status=$?
4289 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4290 test $ac_status = 0; }; then 4301 test $ac_status = 0; }; then
4291 pkg_cv_bz2_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4302 pkg_cv_bz2_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4303 test "x$?" != "x0" && pkg_failed=yes
4292 else 4304 else
4293 pkg_failed=yes 4305 pkg_failed=yes
4294 fi 4306 fi
4295 fi 4307 else
4296 else 4308 pkg_failed=untried
4297 pkg_failed=untried
4298 fi 4309 fi
4299 4310
4300 4311
4301 4312
4302 if test $pkg_failed = yes; then 4313 if test $pkg_failed = yes; then
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4315 $as_echo "no" >&6; }
4303 4316
4304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4305 _pkg_short_errors_supported=yes 4318 _pkg_short_errors_supported=yes
4306 else 4319 else
4307 _pkg_short_errors_supported=no 4320 _pkg_short_errors_supported=no
4308 fi 4321 fi
4309 if test $_pkg_short_errors_supported = yes; then 4322 if test $_pkg_short_errors_supported = yes; then
4310 bz2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4323 bz2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4311 else 4324 else
4312 bz2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4325 bz2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4313 fi 4326 fi
4314 # Put the nasty error message in config.log where it belongs 4327 # Put the nasty error message in config.log where it belongs
4315 echo "$bz2_PKG_ERRORS" >&5 4328 echo "$bz2_PKG_ERRORS" >&5
4316 4329
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4330 { $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
4318 $as_echo "no" >&6; }
4319 { $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
4320 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4331 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4321 elif test $pkg_failed = untried; then 4332 elif test $pkg_failed = untried; then
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4322 { $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 4335 { $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
4323 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4336 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4324 else 4337 else
4325 bz2_CFLAGS=$pkg_cv_bz2_CFLAGS 4338 bz2_CFLAGS=$pkg_cv_bz2_CFLAGS
4326 bz2_LIBS=$pkg_cv_bz2_LIBS 4339 bz2_LIBS=$pkg_cv_bz2_LIBS
4341 4354
4342 if test -n "$SV_MODULE_LIB"; then 4355 if test -n "$SV_MODULE_LIB"; then
4343 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 4356 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4345 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 4358 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4346 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 4359 if eval \${$as_ac_Lib+:} false; then :
4347 $as_echo_n "(cached) " >&6 4360 $as_echo_n "(cached) " >&6
4348 else 4361 else
4349 ac_check_lib_save_LIBS=$LIBS 4362 ac_check_lib_save_LIBS=$LIBS
4350 LIBS="-l$SV_MODULE_LIB $LIBS" 4363 LIBS="-l$SV_MODULE_LIB $LIBS"
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409 4422
4410 pkg_failed=no 4423 pkg_failed=no
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3" >&5 4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3" >&5
4412 $as_echo_n "checking for fftw3... " >&6; } 4425 $as_echo_n "checking for fftw3... " >&6; }
4413 4426
4414 if test -n "$PKG_CONFIG"; then 4427 if test -n "$fftw3_CFLAGS"; then
4415 if test -n "$fftw3_CFLAGS"; then 4428 pkg_cv_fftw3_CFLAGS="$fftw3_CFLAGS"
4416 pkg_cv_fftw3_CFLAGS="$fftw3_CFLAGS" 4429 elif test -n "$PKG_CONFIG"; then
4417 else 4430 if test -n "$PKG_CONFIG" && \
4418 if test -n "$PKG_CONFIG" && \
4419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4431 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4420 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4432 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4421 ac_status=$? 4433 ac_status=$?
4422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4423 test $ac_status = 0; }; then 4435 test $ac_status = 0; }; then
4424 pkg_cv_fftw3_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4436 pkg_cv_fftw3_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4437 test "x$?" != "x0" && pkg_failed=yes
4425 else 4438 else
4426 pkg_failed=yes 4439 pkg_failed=yes
4427 fi 4440 fi
4428 fi 4441 else
4429 else 4442 pkg_failed=untried
4430 pkg_failed=untried 4443 fi
4431 fi 4444 if test -n "$fftw3_LIBS"; then
4432 if test -n "$PKG_CONFIG"; then 4445 pkg_cv_fftw3_LIBS="$fftw3_LIBS"
4433 if test -n "$fftw3_LIBS"; then 4446 elif test -n "$PKG_CONFIG"; then
4434 pkg_cv_fftw3_LIBS="$fftw3_LIBS" 4447 if test -n "$PKG_CONFIG" && \
4435 else
4436 if test -n "$PKG_CONFIG" && \
4437 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4448 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4438 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4449 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4439 ac_status=$? 4450 ac_status=$?
4440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4441 test $ac_status = 0; }; then 4452 test $ac_status = 0; }; then
4442 pkg_cv_fftw3_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4453 pkg_cv_fftw3_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4454 test "x$?" != "x0" && pkg_failed=yes
4443 else 4455 else
4444 pkg_failed=yes 4456 pkg_failed=yes
4445 fi 4457 fi
4446 fi 4458 else
4447 else 4459 pkg_failed=untried
4448 pkg_failed=untried
4449 fi 4460 fi
4450 4461
4451 4462
4452 4463
4453 if test $pkg_failed = yes; then 4464 if test $pkg_failed = yes; then
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4454 4467
4455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4456 _pkg_short_errors_supported=yes 4469 _pkg_short_errors_supported=yes
4457 else 4470 else
4458 _pkg_short_errors_supported=no 4471 _pkg_short_errors_supported=no
4459 fi 4472 fi
4460 if test $_pkg_short_errors_supported = yes; then 4473 if test $_pkg_short_errors_supported = yes; then
4461 fftw3_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4474 fftw3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4462 else 4475 else
4463 fftw3_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4476 fftw3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4464 fi 4477 fi
4465 # Put the nasty error message in config.log where it belongs 4478 # Put the nasty error message in config.log where it belongs
4466 echo "$fftw3_PKG_ERRORS" >&5 4479 echo "$fftw3_PKG_ERRORS" >&5
4467 4480
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4481 { $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
4469 $as_echo "no" >&6; }
4470 { $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
4471 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4482 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4472 elif test $pkg_failed = untried; then 4483 elif test $pkg_failed = untried; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4473 { $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 4486 { $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
4474 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4487 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4475 else 4488 else
4476 fftw3_CFLAGS=$pkg_cv_fftw3_CFLAGS 4489 fftw3_CFLAGS=$pkg_cv_fftw3_CFLAGS
4477 fftw3_LIBS=$pkg_cv_fftw3_LIBS 4490 fftw3_LIBS=$pkg_cv_fftw3_LIBS
4492 4505
4493 if test -n "$SV_MODULE_LIB"; then 4506 if test -n "$SV_MODULE_LIB"; then
4494 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 4507 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4496 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 4509 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4497 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 4510 if eval \${$as_ac_Lib+:} false; then :
4498 $as_echo_n "(cached) " >&6 4511 $as_echo_n "(cached) " >&6
4499 else 4512 else
4500 ac_check_lib_save_LIBS=$LIBS 4513 ac_check_lib_save_LIBS=$LIBS
4501 LIBS="-l$SV_MODULE_LIB $LIBS" 4514 LIBS="-l$SV_MODULE_LIB $LIBS"
4502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 4573
4561 pkg_failed=no 4574 pkg_failed=no
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3f" >&5 4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fftw3f" >&5
4563 $as_echo_n "checking for fftw3f... " >&6; } 4576 $as_echo_n "checking for fftw3f... " >&6; }
4564 4577
4565 if test -n "$PKG_CONFIG"; then 4578 if test -n "$fftw3f_CFLAGS"; then
4566 if test -n "$fftw3f_CFLAGS"; then 4579 pkg_cv_fftw3f_CFLAGS="$fftw3f_CFLAGS"
4567 pkg_cv_fftw3f_CFLAGS="$fftw3f_CFLAGS" 4580 elif test -n "$PKG_CONFIG"; then
4568 else 4581 if test -n "$PKG_CONFIG" && \
4569 if test -n "$PKG_CONFIG" && \
4570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4582 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4571 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4583 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4572 ac_status=$? 4584 ac_status=$?
4573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4574 test $ac_status = 0; }; then 4586 test $ac_status = 0; }; then
4575 pkg_cv_fftw3f_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4587 pkg_cv_fftw3f_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4588 test "x$?" != "x0" && pkg_failed=yes
4576 else 4589 else
4577 pkg_failed=yes 4590 pkg_failed=yes
4578 fi 4591 fi
4579 fi 4592 else
4580 else 4593 pkg_failed=untried
4581 pkg_failed=untried 4594 fi
4582 fi 4595 if test -n "$fftw3f_LIBS"; then
4583 if test -n "$PKG_CONFIG"; then 4596 pkg_cv_fftw3f_LIBS="$fftw3f_LIBS"
4584 if test -n "$fftw3f_LIBS"; then 4597 elif test -n "$PKG_CONFIG"; then
4585 pkg_cv_fftw3f_LIBS="$fftw3f_LIBS" 4598 if test -n "$PKG_CONFIG" && \
4586 else
4587 if test -n "$PKG_CONFIG" && \
4588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4589 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4600 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4590 ac_status=$? 4601 ac_status=$?
4591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4592 test $ac_status = 0; }; then 4603 test $ac_status = 0; }; then
4593 pkg_cv_fftw3f_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4604 pkg_cv_fftw3f_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4605 test "x$?" != "x0" && pkg_failed=yes
4594 else 4606 else
4595 pkg_failed=yes 4607 pkg_failed=yes
4596 fi 4608 fi
4597 fi 4609 else
4598 else 4610 pkg_failed=untried
4599 pkg_failed=untried
4600 fi 4611 fi
4601 4612
4602 4613
4603 4614
4604 if test $pkg_failed = yes; then 4615 if test $pkg_failed = yes; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4605 4618
4606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4619 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4607 _pkg_short_errors_supported=yes 4620 _pkg_short_errors_supported=yes
4608 else 4621 else
4609 _pkg_short_errors_supported=no 4622 _pkg_short_errors_supported=no
4610 fi 4623 fi
4611 if test $_pkg_short_errors_supported = yes; then 4624 if test $_pkg_short_errors_supported = yes; then
4612 fftw3f_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4625 fftw3f_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4613 else 4626 else
4614 fftw3f_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4627 fftw3f_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4615 fi 4628 fi
4616 # Put the nasty error message in config.log where it belongs 4629 # Put the nasty error message in config.log where it belongs
4617 echo "$fftw3f_PKG_ERRORS" >&5 4630 echo "$fftw3f_PKG_ERRORS" >&5
4618 4631
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4632 { $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
4620 $as_echo "no" >&6; }
4621 { $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
4622 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4633 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4623 elif test $pkg_failed = untried; then 4634 elif test $pkg_failed = untried; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4636 $as_echo "no" >&6; }
4624 { $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 4637 { $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
4625 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4638 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4626 else 4639 else
4627 fftw3f_CFLAGS=$pkg_cv_fftw3f_CFLAGS 4640 fftw3f_CFLAGS=$pkg_cv_fftw3f_CFLAGS
4628 fftw3f_LIBS=$pkg_cv_fftw3f_LIBS 4641 fftw3f_LIBS=$pkg_cv_fftw3f_LIBS
4643 4656
4644 if test -n "$SV_MODULE_LIB"; then 4657 if test -n "$SV_MODULE_LIB"; then
4645 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 4658 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4647 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 4660 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4648 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 4661 if eval \${$as_ac_Lib+:} false; then :
4649 $as_echo_n "(cached) " >&6 4662 $as_echo_n "(cached) " >&6
4650 else 4663 else
4651 ac_check_lib_save_LIBS=$LIBS 4664 ac_check_lib_save_LIBS=$LIBS
4652 LIBS="-l$SV_MODULE_LIB $LIBS" 4665 LIBS="-l$SV_MODULE_LIB $LIBS"
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 4724
4712 pkg_failed=no 4725 pkg_failed=no
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sndfile" >&5 4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sndfile" >&5
4714 $as_echo_n "checking for sndfile... " >&6; } 4727 $as_echo_n "checking for sndfile... " >&6; }
4715 4728
4716 if test -n "$PKG_CONFIG"; then 4729 if test -n "$sndfile_CFLAGS"; then
4717 if test -n "$sndfile_CFLAGS"; then 4730 pkg_cv_sndfile_CFLAGS="$sndfile_CFLAGS"
4718 pkg_cv_sndfile_CFLAGS="$sndfile_CFLAGS" 4731 elif test -n "$PKG_CONFIG"; then
4719 else 4732 if test -n "$PKG_CONFIG" && \
4720 if test -n "$PKG_CONFIG" && \
4721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4722 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4734 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4723 ac_status=$? 4735 ac_status=$?
4724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4725 test $ac_status = 0; }; then 4737 test $ac_status = 0; }; then
4726 pkg_cv_sndfile_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4738 pkg_cv_sndfile_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4739 test "x$?" != "x0" && pkg_failed=yes
4727 else 4740 else
4728 pkg_failed=yes 4741 pkg_failed=yes
4729 fi 4742 fi
4730 fi 4743 else
4731 else 4744 pkg_failed=untried
4732 pkg_failed=untried 4745 fi
4733 fi 4746 if test -n "$sndfile_LIBS"; then
4734 if test -n "$PKG_CONFIG"; then 4747 pkg_cv_sndfile_LIBS="$sndfile_LIBS"
4735 if test -n "$sndfile_LIBS"; then 4748 elif test -n "$PKG_CONFIG"; then
4736 pkg_cv_sndfile_LIBS="$sndfile_LIBS" 4749 if test -n "$PKG_CONFIG" && \
4737 else
4738 if test -n "$PKG_CONFIG" && \
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4750 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4740 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4751 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4741 ac_status=$? 4752 ac_status=$?
4742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4743 test $ac_status = 0; }; then 4754 test $ac_status = 0; }; then
4744 pkg_cv_sndfile_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4755 pkg_cv_sndfile_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4756 test "x$?" != "x0" && pkg_failed=yes
4745 else 4757 else
4746 pkg_failed=yes 4758 pkg_failed=yes
4747 fi 4759 fi
4748 fi 4760 else
4749 else 4761 pkg_failed=untried
4750 pkg_failed=untried
4751 fi 4762 fi
4752 4763
4753 4764
4754 4765
4755 if test $pkg_failed = yes; then 4766 if test $pkg_failed = yes; then
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4756 4769
4757 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4770 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4758 _pkg_short_errors_supported=yes 4771 _pkg_short_errors_supported=yes
4759 else 4772 else
4760 _pkg_short_errors_supported=no 4773 _pkg_short_errors_supported=no
4761 fi 4774 fi
4762 if test $_pkg_short_errors_supported = yes; then 4775 if test $_pkg_short_errors_supported = yes; then
4763 sndfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4776 sndfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4764 else 4777 else
4765 sndfile_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4778 sndfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4766 fi 4779 fi
4767 # Put the nasty error message in config.log where it belongs 4780 # Put the nasty error message in config.log where it belongs
4768 echo "$sndfile_PKG_ERRORS" >&5 4781 echo "$sndfile_PKG_ERRORS" >&5
4769 4782
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4783 { $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
4771 $as_echo "no" >&6; }
4772 { $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
4773 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4784 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4774 elif test $pkg_failed = untried; then 4785 elif test $pkg_failed = untried; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4775 { $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 4788 { $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
4776 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4789 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4777 else 4790 else
4778 sndfile_CFLAGS=$pkg_cv_sndfile_CFLAGS 4791 sndfile_CFLAGS=$pkg_cv_sndfile_CFLAGS
4779 sndfile_LIBS=$pkg_cv_sndfile_LIBS 4792 sndfile_LIBS=$pkg_cv_sndfile_LIBS
4794 4807
4795 if test -n "$SV_MODULE_LIB"; then 4808 if test -n "$SV_MODULE_LIB"; then
4796 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 4809 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4798 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 4811 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4799 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 4812 if eval \${$as_ac_Lib+:} false; then :
4800 $as_echo_n "(cached) " >&6 4813 $as_echo_n "(cached) " >&6
4801 else 4814 else
4802 ac_check_lib_save_LIBS=$LIBS 4815 ac_check_lib_save_LIBS=$LIBS
4803 LIBS="-l$SV_MODULE_LIB $LIBS" 4816 LIBS="-l$SV_MODULE_LIB $LIBS"
4804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 4875
4863 pkg_failed=no 4876 pkg_failed=no
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for samplerate" >&5 4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for samplerate" >&5
4865 $as_echo_n "checking for samplerate... " >&6; } 4878 $as_echo_n "checking for samplerate... " >&6; }
4866 4879
4867 if test -n "$PKG_CONFIG"; then 4880 if test -n "$samplerate_CFLAGS"; then
4868 if test -n "$samplerate_CFLAGS"; then 4881 pkg_cv_samplerate_CFLAGS="$samplerate_CFLAGS"
4869 pkg_cv_samplerate_CFLAGS="$samplerate_CFLAGS" 4882 elif test -n "$PKG_CONFIG"; then
4870 else 4883 if test -n "$PKG_CONFIG" && \
4871 if test -n "$PKG_CONFIG" && \
4872 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4884 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4873 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4885 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4874 ac_status=$? 4886 ac_status=$?
4875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4876 test $ac_status = 0; }; then 4888 test $ac_status = 0; }; then
4877 pkg_cv_samplerate_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4889 pkg_cv_samplerate_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4890 test "x$?" != "x0" && pkg_failed=yes
4878 else 4891 else
4879 pkg_failed=yes 4892 pkg_failed=yes
4880 fi 4893 fi
4881 fi 4894 else
4882 else 4895 pkg_failed=untried
4883 pkg_failed=untried 4896 fi
4884 fi 4897 if test -n "$samplerate_LIBS"; then
4885 if test -n "$PKG_CONFIG"; then 4898 pkg_cv_samplerate_LIBS="$samplerate_LIBS"
4886 if test -n "$samplerate_LIBS"; then 4899 elif test -n "$PKG_CONFIG"; then
4887 pkg_cv_samplerate_LIBS="$samplerate_LIBS" 4900 if test -n "$PKG_CONFIG" && \
4888 else
4889 if test -n "$PKG_CONFIG" && \
4890 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 4901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
4891 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 4902 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
4892 ac_status=$? 4903 ac_status=$?
4893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4894 test $ac_status = 0; }; then 4905 test $ac_status = 0; }; then
4895 pkg_cv_samplerate_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 4906 pkg_cv_samplerate_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
4907 test "x$?" != "x0" && pkg_failed=yes
4896 else 4908 else
4897 pkg_failed=yes 4909 pkg_failed=yes
4898 fi 4910 fi
4899 fi 4911 else
4900 else 4912 pkg_failed=untried
4901 pkg_failed=untried
4902 fi 4913 fi
4903 4914
4904 4915
4905 4916
4906 if test $pkg_failed = yes; then 4917 if test $pkg_failed = yes; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4907 4920
4908 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4921 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4909 _pkg_short_errors_supported=yes 4922 _pkg_short_errors_supported=yes
4910 else 4923 else
4911 _pkg_short_errors_supported=no 4924 _pkg_short_errors_supported=no
4912 fi 4925 fi
4913 if test $_pkg_short_errors_supported = yes; then 4926 if test $_pkg_short_errors_supported = yes; then
4914 samplerate_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4927 samplerate_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4915 else 4928 else
4916 samplerate_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 4929 samplerate_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
4917 fi 4930 fi
4918 # Put the nasty error message in config.log where it belongs 4931 # Put the nasty error message in config.log where it belongs
4919 echo "$samplerate_PKG_ERRORS" >&5 4932 echo "$samplerate_PKG_ERRORS" >&5
4920 4933
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4934 { $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
4922 $as_echo "no" >&6; }
4923 { $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
4924 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4935 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4925 elif test $pkg_failed = untried; then 4936 elif test $pkg_failed = untried; then
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4926 { $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 4939 { $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
4927 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 4940 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
4928 else 4941 else
4929 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS 4942 samplerate_CFLAGS=$pkg_cv_samplerate_CFLAGS
4930 samplerate_LIBS=$pkg_cv_samplerate_LIBS 4943 samplerate_LIBS=$pkg_cv_samplerate_LIBS
4945 4958
4946 if test -n "$SV_MODULE_LIB"; then 4959 if test -n "$SV_MODULE_LIB"; then
4947 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 4960 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
4949 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 4962 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
4950 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 4963 if eval \${$as_ac_Lib+:} false; then :
4951 $as_echo_n "(cached) " >&6 4964 $as_echo_n "(cached) " >&6
4952 else 4965 else
4953 ac_check_lib_save_LIBS=$LIBS 4966 ac_check_lib_save_LIBS=$LIBS
4954 LIBS="-l$SV_MODULE_LIB $LIBS" 4967 LIBS="-l$SV_MODULE_LIB $LIBS"
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013 5026
5014 pkg_failed=no 5027 pkg_failed=no
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamp" >&5 5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamp" >&5
5016 $as_echo_n "checking for vamp... " >&6; } 5029 $as_echo_n "checking for vamp... " >&6; }
5017 5030
5018 if test -n "$PKG_CONFIG"; then 5031 if test -n "$vamp_CFLAGS"; then
5019 if test -n "$vamp_CFLAGS"; then 5032 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS"
5020 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS" 5033 elif test -n "$PKG_CONFIG"; then
5021 else 5034 if test -n "$PKG_CONFIG" && \
5022 if test -n "$PKG_CONFIG" && \
5023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5035 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5024 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5036 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5025 ac_status=$? 5037 ac_status=$?
5026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5027 test $ac_status = 0; }; then 5039 test $ac_status = 0; }; then
5028 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5040 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5041 test "x$?" != "x0" && pkg_failed=yes
5029 else 5042 else
5030 pkg_failed=yes 5043 pkg_failed=yes
5031 fi 5044 fi
5032 fi 5045 else
5033 else 5046 pkg_failed=untried
5034 pkg_failed=untried 5047 fi
5035 fi 5048 if test -n "$vamp_LIBS"; then
5036 if test -n "$PKG_CONFIG"; then 5049 pkg_cv_vamp_LIBS="$vamp_LIBS"
5037 if test -n "$vamp_LIBS"; then 5050 elif test -n "$PKG_CONFIG"; then
5038 pkg_cv_vamp_LIBS="$vamp_LIBS" 5051 if test -n "$PKG_CONFIG" && \
5039 else
5040 if test -n "$PKG_CONFIG" && \
5041 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5042 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5053 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5043 ac_status=$? 5054 ac_status=$?
5044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5045 test $ac_status = 0; }; then 5056 test $ac_status = 0; }; then
5046 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5057 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5058 test "x$?" != "x0" && pkg_failed=yes
5047 else 5059 else
5048 pkg_failed=yes 5060 pkg_failed=yes
5049 fi 5061 fi
5050 fi 5062 else
5051 else 5063 pkg_failed=untried
5052 pkg_failed=untried
5053 fi 5064 fi
5054 5065
5055 5066
5056 5067
5057 if test $pkg_failed = yes; then 5068 if test $pkg_failed = yes; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5058 5071
5059 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5060 _pkg_short_errors_supported=yes 5073 _pkg_short_errors_supported=yes
5061 else 5074 else
5062 _pkg_short_errors_supported=no 5075 _pkg_short_errors_supported=no
5063 fi 5076 fi
5064 if test $_pkg_short_errors_supported = yes; then 5077 if test $_pkg_short_errors_supported = yes; then
5065 vamp_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5078 vamp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5066 else 5079 else
5067 vamp_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5080 vamp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5068 fi 5081 fi
5069 # Put the nasty error message in config.log where it belongs 5082 # Put the nasty error message in config.log where it belongs
5070 echo "$vamp_PKG_ERRORS" >&5 5083 echo "$vamp_PKG_ERRORS" >&5
5071 5084
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5085 { $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
5073 $as_echo "no" >&6; }
5074 { $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
5075 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5086 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5076 elif test $pkg_failed = untried; then 5087 elif test $pkg_failed = untried; then
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5077 { $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 5090 { $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
5078 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5091 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5079 else 5092 else
5080 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS 5093 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS
5081 vamp_LIBS=$pkg_cv_vamp_LIBS 5094 vamp_LIBS=$pkg_cv_vamp_LIBS
5096 5109
5097 if test -n "$SV_MODULE_LIB"; then 5110 if test -n "$SV_MODULE_LIB"; then
5098 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 5111 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5100 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 5113 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5101 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 5114 if eval \${$as_ac_Lib+:} false; then :
5102 $as_echo_n "(cached) " >&6 5115 $as_echo_n "(cached) " >&6
5103 else 5116 else
5104 ac_check_lib_save_LIBS=$LIBS 5117 ac_check_lib_save_LIBS=$LIBS
5105 LIBS="-l$SV_MODULE_LIB $LIBS" 5118 LIBS="-l$SV_MODULE_LIB $LIBS"
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 5177
5165 pkg_failed=no 5178 pkg_failed=no
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamphostsdk" >&5 5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamphostsdk" >&5
5167 $as_echo_n "checking for vamphostsdk... " >&6; } 5180 $as_echo_n "checking for vamphostsdk... " >&6; }
5168 5181
5169 if test -n "$PKG_CONFIG"; then 5182 if test -n "$vamphostsdk_CFLAGS"; then
5170 if test -n "$vamphostsdk_CFLAGS"; then 5183 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS"
5171 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS" 5184 elif test -n "$PKG_CONFIG"; then
5172 else 5185 if test -n "$PKG_CONFIG" && \
5173 if test -n "$PKG_CONFIG" && \
5174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5175 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5187 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5176 ac_status=$? 5188 ac_status=$?
5177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5178 test $ac_status = 0; }; then 5190 test $ac_status = 0; }; then
5179 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5191 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5192 test "x$?" != "x0" && pkg_failed=yes
5180 else 5193 else
5181 pkg_failed=yes 5194 pkg_failed=yes
5182 fi 5195 fi
5183 fi 5196 else
5184 else 5197 pkg_failed=untried
5185 pkg_failed=untried 5198 fi
5186 fi 5199 if test -n "$vamphostsdk_LIBS"; then
5187 if test -n "$PKG_CONFIG"; then 5200 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS"
5188 if test -n "$vamphostsdk_LIBS"; then 5201 elif test -n "$PKG_CONFIG"; then
5189 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS" 5202 if test -n "$PKG_CONFIG" && \
5190 else
5191 if test -n "$PKG_CONFIG" && \
5192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5193 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5204 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5194 ac_status=$? 5205 ac_status=$?
5195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5196 test $ac_status = 0; }; then 5207 test $ac_status = 0; }; then
5197 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5208 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5209 test "x$?" != "x0" && pkg_failed=yes
5198 else 5210 else
5199 pkg_failed=yes 5211 pkg_failed=yes
5200 fi 5212 fi
5201 fi 5213 else
5202 else 5214 pkg_failed=untried
5203 pkg_failed=untried
5204 fi 5215 fi
5205 5216
5206 5217
5207 5218
5208 if test $pkg_failed = yes; then 5219 if test $pkg_failed = yes; then
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5221 $as_echo "no" >&6; }
5209 5222
5210 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5211 _pkg_short_errors_supported=yes 5224 _pkg_short_errors_supported=yes
5212 else 5225 else
5213 _pkg_short_errors_supported=no 5226 _pkg_short_errors_supported=no
5214 fi 5227 fi
5215 if test $_pkg_short_errors_supported = yes; then 5228 if test $_pkg_short_errors_supported = yes; then
5216 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5229 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5217 else 5230 else
5218 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5231 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5219 fi 5232 fi
5220 # Put the nasty error message in config.log where it belongs 5233 # Put the nasty error message in config.log where it belongs
5221 echo "$vamphostsdk_PKG_ERRORS" >&5 5234 echo "$vamphostsdk_PKG_ERRORS" >&5
5222 5235
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5236 { $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
5224 $as_echo "no" >&6; }
5225 { $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
5226 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5237 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5227 elif test $pkg_failed = untried; then 5238 elif test $pkg_failed = untried; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5228 { $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 5241 { $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
5229 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5242 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5230 else 5243 else
5231 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS 5244 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS
5232 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS 5245 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS
5247 5260
5248 if test -n "$SV_MODULE_LIB"; then 5261 if test -n "$SV_MODULE_LIB"; then
5249 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 5262 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5251 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 5264 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5252 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 5265 if eval \${$as_ac_Lib+:} false; then :
5253 $as_echo_n "(cached) " >&6 5266 $as_echo_n "(cached) " >&6
5254 else 5267 else
5255 ac_check_lib_save_LIBS=$LIBS 5268 ac_check_lib_save_LIBS=$LIBS
5256 LIBS="-l$SV_MODULE_LIB $LIBS" 5269 LIBS="-l$SV_MODULE_LIB $LIBS"
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5315 5328
5316 pkg_failed=no 5329 pkg_failed=no
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5 5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5
5318 $as_echo_n "checking for rubberband... " >&6; } 5331 $as_echo_n "checking for rubberband... " >&6; }
5319 5332
5320 if test -n "$PKG_CONFIG"; then 5333 if test -n "$rubberband_CFLAGS"; then
5321 if test -n "$rubberband_CFLAGS"; then 5334 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS"
5322 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS" 5335 elif test -n "$PKG_CONFIG"; then
5323 else 5336 if test -n "$PKG_CONFIG" && \
5324 if test -n "$PKG_CONFIG" && \
5325 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5337 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5326 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5338 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5327 ac_status=$? 5339 ac_status=$?
5328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5329 test $ac_status = 0; }; then 5341 test $ac_status = 0; }; then
5330 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5342 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5343 test "x$?" != "x0" && pkg_failed=yes
5331 else 5344 else
5332 pkg_failed=yes 5345 pkg_failed=yes
5333 fi 5346 fi
5334 fi 5347 else
5335 else 5348 pkg_failed=untried
5336 pkg_failed=untried 5349 fi
5337 fi 5350 if test -n "$rubberband_LIBS"; then
5338 if test -n "$PKG_CONFIG"; then 5351 pkg_cv_rubberband_LIBS="$rubberband_LIBS"
5339 if test -n "$rubberband_LIBS"; then 5352 elif test -n "$PKG_CONFIG"; then
5340 pkg_cv_rubberband_LIBS="$rubberband_LIBS" 5353 if test -n "$PKG_CONFIG" && \
5341 else
5342 if test -n "$PKG_CONFIG" && \
5343 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5344 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5355 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5345 ac_status=$? 5356 ac_status=$?
5346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5347 test $ac_status = 0; }; then 5358 test $ac_status = 0; }; then
5348 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5359 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5360 test "x$?" != "x0" && pkg_failed=yes
5349 else 5361 else
5350 pkg_failed=yes 5362 pkg_failed=yes
5351 fi 5363 fi
5352 fi 5364 else
5353 else 5365 pkg_failed=untried
5354 pkg_failed=untried
5355 fi 5366 fi
5356 5367
5357 5368
5358 5369
5359 if test $pkg_failed = yes; then 5370 if test $pkg_failed = yes; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372 $as_echo "no" >&6; }
5360 5373
5361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5362 _pkg_short_errors_supported=yes 5375 _pkg_short_errors_supported=yes
5363 else 5376 else
5364 _pkg_short_errors_supported=no 5377 _pkg_short_errors_supported=no
5365 fi 5378 fi
5366 if test $_pkg_short_errors_supported = yes; then 5379 if test $_pkg_short_errors_supported = yes; then
5367 rubberband_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5380 rubberband_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5368 else 5381 else
5369 rubberband_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5382 rubberband_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5370 fi 5383 fi
5371 # Put the nasty error message in config.log where it belongs 5384 # Put the nasty error message in config.log where it belongs
5372 echo "$rubberband_PKG_ERRORS" >&5 5385 echo "$rubberband_PKG_ERRORS" >&5
5373 5386
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5387 { $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
5375 $as_echo "no" >&6; }
5376 { $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
5377 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5388 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5378 elif test $pkg_failed = untried; then 5389 elif test $pkg_failed = untried; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5379 { $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 5392 { $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
5380 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5393 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5381 else 5394 else
5382 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS 5395 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS
5383 rubberband_LIBS=$pkg_cv_rubberband_LIBS 5396 rubberband_LIBS=$pkg_cv_rubberband_LIBS
5398 5411
5399 if test -n "$SV_MODULE_LIB"; then 5412 if test -n "$SV_MODULE_LIB"; then
5400 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 5413 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5402 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 5415 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5403 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 5416 if eval \${$as_ac_Lib+:} false; then :
5404 $as_echo_n "(cached) " >&6 5417 $as_echo_n "(cached) " >&6
5405 else 5418 else
5406 ac_check_lib_save_LIBS=$LIBS 5419 ac_check_lib_save_LIBS=$LIBS
5407 LIBS="-l$SV_MODULE_LIB $LIBS" 5420 LIBS="-l$SV_MODULE_LIB $LIBS"
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5443 5456
5444 fi 5457 fi
5445 fi 5458 fi
5446 5459
5447 5460
5448 SV_MODULE_MODULE=raptor 5461 SV_MODULE_MODULE=rasqal
5449 SV_MODULE_VERSION_TEST="raptor >= 1.4.20" 5462 SV_MODULE_VERSION_TEST="rasqal >= 0.9.19"
5450 SV_MODULE_HEADER=raptor.h 5463 SV_MODULE_HEADER=rasqal/rasqal.h
5451 SV_MODULE_LIB=raptor 5464 SV_MODULE_LIB=rasqal
5452 SV_MODULE_FUNC=raptor_start_parse 5465 SV_MODULE_FUNC=rasqal_new_world
5453 SV_MODULE_HAVE=HAVE_$(echo raptor | tr 'a-z' 'A-Z') 5466 SV_MODULE_HAVE=HAVE_$(echo rasqal | tr 'a-z' 'A-Z')
5454 SV_MODULE_FAILED=1 5467 SV_MODULE_FAILED=1
5455 if test -n "$raptor_LIBS" ; then 5468 if test -n "$rasqal_LIBS" ; then
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 5469 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5457 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 5470 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5458 CXXFLAGS="$CXXFLAGS $raptor_CFLAGS" 5471 CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS"
5459 LIBS="$LIBS $raptor_LIBS" 5472 LIBS="$LIBS $rasqal_LIBS"
5460 SV_MODULE_FAILED="" 5473 SV_MODULE_FAILED=""
5461 fi 5474 fi
5462 if test -z "$SV_MODULE_VERSION_TEST" ; then 5475 if test -z "$SV_MODULE_VERSION_TEST" ; then
5463 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 5476 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5464 fi 5477 fi
5465 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 5478 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5466 5479
5467 pkg_failed=no 5480 pkg_failed=no
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for raptor" >&5 5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rasqal" >&5
5469 $as_echo_n "checking for raptor... " >&6; } 5482 $as_echo_n "checking for rasqal... " >&6; }
5470 5483
5471 if test -n "$PKG_CONFIG"; then 5484 if test -n "$rasqal_CFLAGS"; then
5472 if test -n "$raptor_CFLAGS"; then 5485 pkg_cv_rasqal_CFLAGS="$rasqal_CFLAGS"
5473 pkg_cv_raptor_CFLAGS="$raptor_CFLAGS" 5486 elif test -n "$PKG_CONFIG"; then
5474 else 5487 if test -n "$PKG_CONFIG" && \
5475 if test -n "$PKG_CONFIG" && \
5476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5477 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5489 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5478 ac_status=$? 5490 ac_status=$?
5479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5480 test $ac_status = 0; }; then 5492 test $ac_status = 0; }; then
5481 pkg_cv_raptor_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5493 pkg_cv_rasqal_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5494 test "x$?" != "x0" && pkg_failed=yes
5482 else 5495 else
5483 pkg_failed=yes 5496 pkg_failed=yes
5484 fi 5497 fi
5485 fi 5498 else
5486 else 5499 pkg_failed=untried
5487 pkg_failed=untried 5500 fi
5488 fi 5501 if test -n "$rasqal_LIBS"; then
5489 if test -n "$PKG_CONFIG"; then 5502 pkg_cv_rasqal_LIBS="$rasqal_LIBS"
5490 if test -n "$raptor_LIBS"; then 5503 elif test -n "$PKG_CONFIG"; then
5491 pkg_cv_raptor_LIBS="$raptor_LIBS" 5504 if test -n "$PKG_CONFIG" && \
5492 else
5493 if test -n "$PKG_CONFIG" && \
5494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5495 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5506 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5496 ac_status=$? 5507 ac_status=$?
5497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5498 test $ac_status = 0; }; then 5509 test $ac_status = 0; }; then
5499 pkg_cv_raptor_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5510 pkg_cv_rasqal_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5511 test "x$?" != "x0" && pkg_failed=yes
5500 else 5512 else
5501 pkg_failed=yes 5513 pkg_failed=yes
5502 fi 5514 fi
5503 fi 5515 else
5504 else 5516 pkg_failed=untried
5505 pkg_failed=untried
5506 fi 5517 fi
5507 5518
5508 5519
5509 5520
5510 if test $pkg_failed = yes; then 5521 if test $pkg_failed = yes; then
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5523 $as_echo "no" >&6; }
5511 5524
5512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5525 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5513 _pkg_short_errors_supported=yes 5526 _pkg_short_errors_supported=yes
5514 else 5527 else
5515 _pkg_short_errors_supported=no 5528 _pkg_short_errors_supported=no
5516 fi 5529 fi
5517 if test $_pkg_short_errors_supported = yes; then 5530 if test $_pkg_short_errors_supported = yes; then
5518 raptor_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5531 rasqal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5519 else 5532 else
5520 raptor_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5533 rasqal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5521 fi 5534 fi
5522 # Put the nasty error message in config.log where it belongs 5535 # Put the nasty error message in config.log where it belongs
5523 echo "$raptor_PKG_ERRORS" >&5 5536 echo "$rasqal_PKG_ERRORS" >&5
5524 5537
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5538 { $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
5526 $as_echo "no" >&6; }
5527 { $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
5528 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5539 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5529 elif test $pkg_failed = untried; then 5540 elif test $pkg_failed = untried; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5530 { $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 5543 { $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
5531 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5544 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5532 else 5545 else
5533 raptor_CFLAGS=$pkg_cv_raptor_CFLAGS 5546 rasqal_CFLAGS=$pkg_cv_rasqal_CFLAGS
5534 raptor_LIBS=$pkg_cv_raptor_LIBS 5547 rasqal_LIBS=$pkg_cv_rasqal_LIBS
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5536 $as_echo "yes" >&6; } 5549 $as_echo "yes" >&6; }
5537 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $raptor_CFLAGS";LIBS="$LIBS $raptor_LIBS";SV_MODULE_FAILED="" 5550 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS";LIBS="$LIBS $rasqal_LIBS";SV_MODULE_FAILED=""
5538 fi 5551 fi
5539 fi 5552 fi
5540 if test -n "$SV_MODULE_FAILED"; then 5553 if test -n "$SV_MODULE_FAILED"; then
5541 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 5554 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5542 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 5555 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5549 5562
5550 if test -n "$SV_MODULE_LIB"; then 5563 if test -n "$SV_MODULE_LIB"; then
5551 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 5564 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5553 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 5566 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5554 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 5567 if eval \${$as_ac_Lib+:} false; then :
5555 $as_echo_n "(cached) " >&6 5568 $as_echo_n "(cached) " >&6
5556 else 5569 else
5557 ac_check_lib_save_LIBS=$LIBS 5570 ac_check_lib_save_LIBS=$LIBS
5558 LIBS="-l$SV_MODULE_LIB $LIBS" 5571 LIBS="-l$SV_MODULE_LIB $LIBS"
5559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5594 5607
5595 fi 5608 fi
5596 fi 5609 fi
5597 5610
5598 5611
5599 SV_MODULE_MODULE=rasqal 5612 SV_MODULE_MODULE=redland
5600 SV_MODULE_VERSION_TEST="rasqal >= 0.9.19" 5613 SV_MODULE_VERSION_TEST="redland >= 1.0.10"
5601 SV_MODULE_HEADER=rasqal/rasqal.h 5614 SV_MODULE_HEADER=librdf.h
5602 SV_MODULE_LIB=rasqal 5615 SV_MODULE_LIB=rdf
5603 SV_MODULE_FUNC=rasqal_new_world 5616 SV_MODULE_FUNC=librdf_new_world
5604 SV_MODULE_HAVE=HAVE_$(echo rasqal | tr 'a-z' 'A-Z') 5617 SV_MODULE_HAVE=HAVE_$(echo redland | tr 'a-z' 'A-Z')
5605 SV_MODULE_FAILED=1 5618 SV_MODULE_FAILED=1
5606 if test -n "$rasqal_LIBS" ; then 5619 if test -n "$redland_LIBS" ; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 5620 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5608 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 5621 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5609 CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS" 5622 CXXFLAGS="$CXXFLAGS $redland_CFLAGS"
5610 LIBS="$LIBS $rasqal_LIBS" 5623 LIBS="$LIBS $redland_LIBS"
5611 SV_MODULE_FAILED="" 5624 SV_MODULE_FAILED=""
5612 fi 5625 fi
5613 if test -z "$SV_MODULE_VERSION_TEST" ; then 5626 if test -z "$SV_MODULE_VERSION_TEST" ; then
5614 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 5627 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5615 fi 5628 fi
5616 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 5629 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5617 5630
5618 pkg_failed=no 5631 pkg_failed=no
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rasqal" >&5 5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redland" >&5
5620 $as_echo_n "checking for rasqal... " >&6; } 5633 $as_echo_n "checking for redland... " >&6; }
5621 5634
5622 if test -n "$PKG_CONFIG"; then 5635 if test -n "$redland_CFLAGS"; then
5623 if test -n "$rasqal_CFLAGS"; then 5636 pkg_cv_redland_CFLAGS="$redland_CFLAGS"
5624 pkg_cv_rasqal_CFLAGS="$rasqal_CFLAGS" 5637 elif test -n "$PKG_CONFIG"; then
5625 else 5638 if test -n "$PKG_CONFIG" && \
5626 if test -n "$PKG_CONFIG" && \
5627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5639 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5628 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5640 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5629 ac_status=$? 5641 ac_status=$?
5630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5631 test $ac_status = 0; }; then 5643 test $ac_status = 0; }; then
5632 pkg_cv_rasqal_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5644 pkg_cv_redland_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5645 test "x$?" != "x0" && pkg_failed=yes
5633 else 5646 else
5634 pkg_failed=yes 5647 pkg_failed=yes
5635 fi 5648 fi
5636 fi 5649 else
5637 else 5650 pkg_failed=untried
5638 pkg_failed=untried 5651 fi
5639 fi 5652 if test -n "$redland_LIBS"; then
5640 if test -n "$PKG_CONFIG"; then 5653 pkg_cv_redland_LIBS="$redland_LIBS"
5641 if test -n "$rasqal_LIBS"; then 5654 elif test -n "$PKG_CONFIG"; then
5642 pkg_cv_rasqal_LIBS="$rasqal_LIBS" 5655 if test -n "$PKG_CONFIG" && \
5643 else
5644 if test -n "$PKG_CONFIG" && \
5645 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5646 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5657 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5647 ac_status=$? 5658 ac_status=$?
5648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5649 test $ac_status = 0; }; then 5660 test $ac_status = 0; }; then
5650 pkg_cv_rasqal_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5661 pkg_cv_redland_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5662 test "x$?" != "x0" && pkg_failed=yes
5651 else 5663 else
5652 pkg_failed=yes 5664 pkg_failed=yes
5653 fi 5665 fi
5654 fi 5666 else
5655 else 5667 pkg_failed=untried
5656 pkg_failed=untried
5657 fi 5668 fi
5658 5669
5659 5670
5660 5671
5661 if test $pkg_failed = yes; then 5672 if test $pkg_failed = yes; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5662 5675
5663 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5664 _pkg_short_errors_supported=yes 5677 _pkg_short_errors_supported=yes
5665 else 5678 else
5666 _pkg_short_errors_supported=no 5679 _pkg_short_errors_supported=no
5667 fi 5680 fi
5668 if test $_pkg_short_errors_supported = yes; then 5681 if test $_pkg_short_errors_supported = yes; then
5669 rasqal_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5682 redland_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5670 else 5683 else
5671 rasqal_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5684 redland_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5672 fi 5685 fi
5673 # Put the nasty error message in config.log where it belongs 5686 # Put the nasty error message in config.log where it belongs
5674 echo "$rasqal_PKG_ERRORS" >&5 5687 echo "$redland_PKG_ERRORS" >&5
5675 5688
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5689 { $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
5677 $as_echo "no" >&6; }
5678 { $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
5679 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5690 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5680 elif test $pkg_failed = untried; then 5691 elif test $pkg_failed = untried; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
5681 { $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 5694 { $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
5682 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5695 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5683 else 5696 else
5684 rasqal_CFLAGS=$pkg_cv_rasqal_CFLAGS 5697 redland_CFLAGS=$pkg_cv_redland_CFLAGS
5685 rasqal_LIBS=$pkg_cv_rasqal_LIBS 5698 redland_LIBS=$pkg_cv_redland_LIBS
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5687 $as_echo "yes" >&6; } 5700 $as_echo "yes" >&6; }
5688 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS";LIBS="$LIBS $rasqal_LIBS";SV_MODULE_FAILED="" 5701 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $redland_CFLAGS";LIBS="$LIBS $redland_LIBS";SV_MODULE_FAILED=""
5689 fi 5702 fi
5690 fi 5703 fi
5691 if test -n "$SV_MODULE_FAILED"; then 5704 if test -n "$SV_MODULE_FAILED"; then
5692 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 5705 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5693 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 5706 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5700 5713
5701 if test -n "$SV_MODULE_LIB"; then 5714 if test -n "$SV_MODULE_LIB"; then
5702 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 5715 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5704 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 5717 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5705 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 5718 if eval \${$as_ac_Lib+:} false; then :
5706 $as_echo_n "(cached) " >&6 5719 $as_echo_n "(cached) " >&6
5707 else 5720 else
5708 ac_check_lib_save_LIBS=$LIBS 5721 ac_check_lib_save_LIBS=$LIBS
5709 LIBS="-l$SV_MODULE_LIB $LIBS" 5722 LIBS="-l$SV_MODULE_LIB $LIBS"
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5745 5758
5746 fi 5759 fi
5747 fi 5760 fi
5748 5761
5749 5762
5750 SV_MODULE_MODULE=redland 5763
5751 SV_MODULE_VERSION_TEST="redland >= 1.0.10" 5764 SV_MODULE_MODULE=liblo
5752 SV_MODULE_HEADER=librdf.h 5765 SV_MODULE_VERSION_TEST=""
5753 SV_MODULE_LIB=rdf 5766 SV_MODULE_HEADER=lo/lo.h
5754 SV_MODULE_FUNC=librdf_new_world 5767 SV_MODULE_LIB=lo
5755 SV_MODULE_HAVE=HAVE_$(echo redland | tr 'a-z' 'A-Z') 5768 SV_MODULE_FUNC=lo_address_new
5769 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z')
5756 SV_MODULE_FAILED=1 5770 SV_MODULE_FAILED=1
5757 if test -n "$redland_LIBS" ; then 5771 if test -n "$liblo_LIBS" ; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 5772 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5759 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 5773 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5760 CXXFLAGS="$CXXFLAGS $redland_CFLAGS" 5774 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS"
5761 LIBS="$LIBS $redland_LIBS" 5775 LIBS="$LIBS $liblo_LIBS"
5762 SV_MODULE_FAILED="" 5776 SV_MODULE_FAILED=""
5763 fi 5777 fi
5764 if test -z "$SV_MODULE_VERSION_TEST" ; then 5778 if test -z "$SV_MODULE_VERSION_TEST" ; then
5765 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 5779 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5766 fi 5780 fi
5767 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 5781 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5768 5782
5769 pkg_failed=no 5783 pkg_failed=no
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redland" >&5 5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5
5771 $as_echo_n "checking for redland... " >&6; } 5785 $as_echo_n "checking for liblo... " >&6; }
5772 5786
5773 if test -n "$PKG_CONFIG"; then 5787 if test -n "$liblo_CFLAGS"; then
5774 if test -n "$redland_CFLAGS"; then 5788 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS"
5775 pkg_cv_redland_CFLAGS="$redland_CFLAGS" 5789 elif test -n "$PKG_CONFIG"; then
5776 else 5790 if test -n "$PKG_CONFIG" && \
5777 if test -n "$PKG_CONFIG" && \
5778 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5791 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5779 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5792 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5780 ac_status=$? 5793 ac_status=$?
5781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5782 test $ac_status = 0; }; then 5795 test $ac_status = 0; }; then
5783 pkg_cv_redland_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5796 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5797 test "x$?" != "x0" && pkg_failed=yes
5784 else 5798 else
5785 pkg_failed=yes 5799 pkg_failed=yes
5786 fi 5800 fi
5787 fi 5801 else
5788 else 5802 pkg_failed=untried
5789 pkg_failed=untried 5803 fi
5790 fi 5804 if test -n "$liblo_LIBS"; then
5791 if test -n "$PKG_CONFIG"; then 5805 pkg_cv_liblo_LIBS="$liblo_LIBS"
5792 if test -n "$redland_LIBS"; then 5806 elif test -n "$PKG_CONFIG"; then
5793 pkg_cv_redland_LIBS="$redland_LIBS" 5807 if test -n "$PKG_CONFIG" && \
5794 else
5795 if test -n "$PKG_CONFIG" && \
5796 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5797 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5809 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5798 ac_status=$? 5810 ac_status=$?
5799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5800 test $ac_status = 0; }; then 5812 test $ac_status = 0; }; then
5801 pkg_cv_redland_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5813 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5814 test "x$?" != "x0" && pkg_failed=yes
5802 else 5815 else
5803 pkg_failed=yes 5816 pkg_failed=yes
5804 fi 5817 fi
5805 fi 5818 else
5806 else 5819 pkg_failed=untried
5807 pkg_failed=untried
5808 fi 5820 fi
5809 5821
5810 5822
5811 5823
5812 if test $pkg_failed = yes; then 5824 if test $pkg_failed = yes; then
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5826 $as_echo "no" >&6; }
5813 5827
5814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5828 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5815 _pkg_short_errors_supported=yes 5829 _pkg_short_errors_supported=yes
5816 else 5830 else
5817 _pkg_short_errors_supported=no 5831 _pkg_short_errors_supported=no
5818 fi 5832 fi
5819 if test $_pkg_short_errors_supported = yes; then 5833 if test $_pkg_short_errors_supported = yes; then
5820 redland_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5834 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5821 else 5835 else
5822 redland_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5836 liblo_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5823 fi 5837 fi
5824 # Put the nasty error message in config.log where it belongs 5838 # Put the nasty error message in config.log where it belongs
5825 echo "$redland_PKG_ERRORS" >&5 5839 echo "$liblo_PKG_ERRORS" >&5
5826 5840
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5841 { $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
5842 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5843 elif test $pkg_failed = untried; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5828 $as_echo "no" >&6; } 5845 $as_echo "no" >&6; }
5829 { $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 5846 { $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
5830 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5847 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5831 elif test $pkg_failed = untried; then 5848 else
5832 { $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 5849 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS
5833 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5850 liblo_LIBS=$pkg_cv_liblo_LIBS
5834 else
5835 redland_CFLAGS=$pkg_cv_redland_CFLAGS
5836 redland_LIBS=$pkg_cv_redland_LIBS
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5838 $as_echo "yes" >&6; } 5852 $as_echo "yes" >&6; }
5839 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $redland_CFLAGS";LIBS="$LIBS $redland_LIBS";SV_MODULE_FAILED="" 5853 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED=""
5840 fi 5854 fi
5841 fi 5855 fi
5842 if test -n "$SV_MODULE_FAILED"; then 5856 if test -n "$SV_MODULE_FAILED"; then
5843 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 5857 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5844 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 5858 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5845 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5859 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5846 HAVES="$HAVES $SV_MODULE_HAVE" 5860 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
5847 else 5861 else
5848 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 5862 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
5849 fi 5863 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
5850 5864 fi
5851 5865
5852 if test -n "$SV_MODULE_LIB"; then 5866
5853 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 5867 if test -z "$SV_MODULE_FAILED"; then
5868 if test -n "$SV_MODULE_LIB"; then
5869 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5855 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 5871 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5856 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 5872 if eval \${$as_ac_Lib+:} false; then :
5857 $as_echo_n "(cached) " >&6 5873 $as_echo_n "(cached) " >&6
5858 else 5874 else
5859 ac_check_lib_save_LIBS=$LIBS 5875 ac_check_lib_save_LIBS=$LIBS
5860 LIBS="-l$SV_MODULE_LIB $LIBS" 5876 LIBS="-l$SV_MODULE_LIB $LIBS"
5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5890 $as_echo "$ac_res" >&6; } 5906 $as_echo "$ac_res" >&6; }
5891 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : 5907 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5892 LIBS="$LIBS -l$SV_MODULE_LIB" 5908 LIBS="$LIBS -l$SV_MODULE_LIB"
5893 else 5909 else
5894 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 5910 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
5895 fi 5911 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
5896 5912 fi
5913
5914 fi
5897 fi 5915 fi
5898 fi 5916 fi
5899 5917
5900 5918
5901 5919 SV_MODULE_MODULE=portaudio_2_0
5902 SV_MODULE_MODULE=liblo 5920 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19"
5903 SV_MODULE_VERSION_TEST="" 5921 SV_MODULE_HEADER=portaudio.h
5904 SV_MODULE_HEADER=lo/lo.h 5922 SV_MODULE_LIB=portaudio
5905 SV_MODULE_LIB=lo 5923 SV_MODULE_FUNC=Pa_IsFormatSupported
5906 SV_MODULE_FUNC=lo_address_new 5924 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z')
5907 SV_MODULE_HAVE=HAVE_$(echo liblo | tr 'a-z' 'A-Z')
5908 SV_MODULE_FAILED=1 5925 SV_MODULE_FAILED=1
5909 if test -n "$liblo_LIBS" ; then 5926 if test -n "$portaudio_2_0_LIBS" ; then
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 5927 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5911 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 5928 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5912 CXXFLAGS="$CXXFLAGS $liblo_CFLAGS" 5929 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS"
5913 LIBS="$LIBS $liblo_LIBS" 5930 LIBS="$LIBS $portaudio_2_0_LIBS"
5914 SV_MODULE_FAILED="" 5931 SV_MODULE_FAILED=""
5915 fi 5932 fi
5916 if test -z "$SV_MODULE_VERSION_TEST" ; then 5933 if test -z "$SV_MODULE_VERSION_TEST" ; then
5917 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 5934 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5918 fi 5935 fi
5919 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 5936 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5920 5937
5921 pkg_failed=no 5938 pkg_failed=no
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liblo" >&5 5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5
5923 $as_echo_n "checking for liblo... " >&6; } 5940 $as_echo_n "checking for portaudio_2_0... " >&6; }
5924 5941
5925 if test -n "$PKG_CONFIG"; then 5942 if test -n "$portaudio_2_0_CFLAGS"; then
5926 if test -n "$liblo_CFLAGS"; then 5943 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS"
5927 pkg_cv_liblo_CFLAGS="$liblo_CFLAGS" 5944 elif test -n "$PKG_CONFIG"; then
5928 else 5945 if test -n "$PKG_CONFIG" && \
5929 if test -n "$PKG_CONFIG" && \
5930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5931 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5947 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5932 ac_status=$? 5948 ac_status=$?
5933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5934 test $ac_status = 0; }; then 5950 test $ac_status = 0; }; then
5935 pkg_cv_liblo_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5951 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5952 test "x$?" != "x0" && pkg_failed=yes
5936 else 5953 else
5937 pkg_failed=yes 5954 pkg_failed=yes
5938 fi 5955 fi
5939 fi 5956 else
5940 else 5957 pkg_failed=untried
5941 pkg_failed=untried 5958 fi
5942 fi 5959 if test -n "$portaudio_2_0_LIBS"; then
5943 if test -n "$PKG_CONFIG"; then 5960 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS"
5944 if test -n "$liblo_LIBS"; then 5961 elif test -n "$PKG_CONFIG"; then
5945 pkg_cv_liblo_LIBS="$liblo_LIBS" 5962 if test -n "$PKG_CONFIG" && \
5946 else
5947 if test -n "$PKG_CONFIG" && \
5948 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5949 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5964 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5950 ac_status=$? 5965 ac_status=$?
5951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5952 test $ac_status = 0; }; then 5967 test $ac_status = 0; }; then
5953 pkg_cv_liblo_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5968 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5969 test "x$?" != "x0" && pkg_failed=yes
5954 else 5970 else
5955 pkg_failed=yes 5971 pkg_failed=yes
5956 fi 5972 fi
5957 fi 5973 else
5958 else 5974 pkg_failed=untried
5959 pkg_failed=untried
5960 fi 5975 fi
5961 5976
5962 5977
5963 5978
5964 if test $pkg_failed = yes; then 5979 if test $pkg_failed = yes; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5965 5982
5966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 5983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5967 _pkg_short_errors_supported=yes 5984 _pkg_short_errors_supported=yes
5968 else 5985 else
5969 _pkg_short_errors_supported=no 5986 _pkg_short_errors_supported=no
5970 fi 5987 fi
5971 if test $_pkg_short_errors_supported = yes; then 5988 if test $_pkg_short_errors_supported = yes; then
5972 liblo_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5989 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5973 else 5990 else
5974 liblo_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 5991 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5975 fi 5992 fi
5976 # Put the nasty error message in config.log where it belongs 5993 # Put the nasty error message in config.log where it belongs
5977 echo "$liblo_PKG_ERRORS" >&5 5994 echo "$portaudio_2_0_PKG_ERRORS" >&5
5978 5995
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5996 { $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
5980 $as_echo "no" >&6; }
5981 { $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
5982 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5997 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5983 elif test $pkg_failed = untried; then 5998 elif test $pkg_failed = untried; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 $as_echo "no" >&6; }
5984 { $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 6001 { $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
5985 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6002 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5986 else 6003 else
5987 liblo_CFLAGS=$pkg_cv_liblo_CFLAGS 6004 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS
5988 liblo_LIBS=$pkg_cv_liblo_LIBS 6005 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5990 $as_echo "yes" >&6; } 6007 $as_echo "yes" >&6; }
5991 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $liblo_CFLAGS";LIBS="$LIBS $liblo_LIBS";SV_MODULE_FAILED="" 6008 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED=""
5992 fi 6009 fi
5993 fi 6010 fi
5994 if test -n "$SV_MODULE_FAILED"; then 6011 if test -n "$SV_MODULE_FAILED"; then
5995 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6012 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5996 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6013 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6005 if test -z "$SV_MODULE_FAILED"; then 6022 if test -z "$SV_MODULE_FAILED"; then
6006 if test -n "$SV_MODULE_LIB"; then 6023 if test -n "$SV_MODULE_LIB"; then
6007 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 6024 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6009 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6026 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6010 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 6027 if eval \${$as_ac_Lib+:} false; then :
6011 $as_echo_n "(cached) " >&6 6028 $as_echo_n "(cached) " >&6
6012 else 6029 else
6013 ac_check_lib_save_LIBS=$LIBS 6030 ac_check_lib_save_LIBS=$LIBS
6014 LIBS="-l$SV_MODULE_LIB $LIBS" 6031 LIBS="-l$SV_MODULE_LIB $LIBS"
6015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6052 fi 6069 fi
6053 fi 6070 fi
6054 fi 6071 fi
6055 6072
6056 6073
6057 SV_MODULE_MODULE=portaudio_2_0 6074 SV_MODULE_MODULE=JACK
6058 SV_MODULE_VERSION_TEST="portaudio-2.0 >= 19" 6075 SV_MODULE_VERSION_TEST="jack >= 0.100"
6059 SV_MODULE_HEADER=portaudio.h 6076 SV_MODULE_HEADER=jack/jack.h
6060 SV_MODULE_LIB=portaudio 6077 SV_MODULE_LIB=jack
6061 SV_MODULE_FUNC=Pa_IsFormatSupported 6078 SV_MODULE_FUNC=jack_client_open
6062 SV_MODULE_HAVE=HAVE_$(echo portaudio_2_0 | tr 'a-z' 'A-Z') 6079 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z')
6063 SV_MODULE_FAILED=1 6080 SV_MODULE_FAILED=1
6064 if test -n "$portaudio_2_0_LIBS" ; then 6081 if test -n "$JACK_LIBS" ; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6082 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6066 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6083 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6067 CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS" 6084 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS"
6068 LIBS="$LIBS $portaudio_2_0_LIBS" 6085 LIBS="$LIBS $JACK_LIBS"
6069 SV_MODULE_FAILED="" 6086 SV_MODULE_FAILED=""
6070 fi 6087 fi
6071 if test -z "$SV_MODULE_VERSION_TEST" ; then 6088 if test -z "$SV_MODULE_VERSION_TEST" ; then
6072 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6089 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6073 fi 6090 fi
6074 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6091 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6075 6092
6076 pkg_failed=no 6093 pkg_failed=no
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for portaudio_2_0" >&5 6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
6078 $as_echo_n "checking for portaudio_2_0... " >&6; } 6095 $as_echo_n "checking for JACK... " >&6; }
6079 6096
6080 if test -n "$PKG_CONFIG"; then 6097 if test -n "$JACK_CFLAGS"; then
6081 if test -n "$portaudio_2_0_CFLAGS"; then 6098 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
6082 pkg_cv_portaudio_2_0_CFLAGS="$portaudio_2_0_CFLAGS" 6099 elif test -n "$PKG_CONFIG"; then
6083 else 6100 if test -n "$PKG_CONFIG" && \
6084 if test -n "$PKG_CONFIG" && \
6085 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6101 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6086 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6102 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6087 ac_status=$? 6103 ac_status=$?
6088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6089 test $ac_status = 0; }; then 6105 test $ac_status = 0; }; then
6090 pkg_cv_portaudio_2_0_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6106 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6107 test "x$?" != "x0" && pkg_failed=yes
6091 else 6108 else
6092 pkg_failed=yes 6109 pkg_failed=yes
6093 fi 6110 fi
6094 fi 6111 else
6095 else 6112 pkg_failed=untried
6096 pkg_failed=untried 6113 fi
6097 fi 6114 if test -n "$JACK_LIBS"; then
6098 if test -n "$PKG_CONFIG"; then 6115 pkg_cv_JACK_LIBS="$JACK_LIBS"
6099 if test -n "$portaudio_2_0_LIBS"; then 6116 elif test -n "$PKG_CONFIG"; then
6100 pkg_cv_portaudio_2_0_LIBS="$portaudio_2_0_LIBS" 6117 if test -n "$PKG_CONFIG" && \
6101 else
6102 if test -n "$PKG_CONFIG" && \
6103 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6118 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6104 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6119 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6105 ac_status=$? 6120 ac_status=$?
6106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6107 test $ac_status = 0; }; then 6122 test $ac_status = 0; }; then
6108 pkg_cv_portaudio_2_0_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6123 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6124 test "x$?" != "x0" && pkg_failed=yes
6109 else 6125 else
6110 pkg_failed=yes 6126 pkg_failed=yes
6111 fi 6127 fi
6112 fi 6128 else
6113 else 6129 pkg_failed=untried
6114 pkg_failed=untried
6115 fi 6130 fi
6116 6131
6117 6132
6118 6133
6119 if test $pkg_failed = yes; then 6134 if test $pkg_failed = yes; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6120 6137
6121 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6122 _pkg_short_errors_supported=yes 6139 _pkg_short_errors_supported=yes
6123 else 6140 else
6124 _pkg_short_errors_supported=no 6141 _pkg_short_errors_supported=no
6125 fi 6142 fi
6126 if test $_pkg_short_errors_supported = yes; then 6143 if test $_pkg_short_errors_supported = yes; then
6127 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6144 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6128 else 6145 else
6129 portaudio_2_0_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6146 JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6130 fi 6147 fi
6131 # Put the nasty error message in config.log where it belongs 6148 # Put the nasty error message in config.log where it belongs
6132 echo "$portaudio_2_0_PKG_ERRORS" >&5 6149 echo "$JACK_PKG_ERRORS" >&5
6133 6150
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6151 { $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
6135 $as_echo "no" >&6; }
6136 { $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
6137 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6152 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6138 elif test $pkg_failed = untried; then 6153 elif test $pkg_failed = untried; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6139 { $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 6156 { $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
6140 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6157 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6141 else 6158 else
6142 portaudio_2_0_CFLAGS=$pkg_cv_portaudio_2_0_CFLAGS 6159 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
6143 portaudio_2_0_LIBS=$pkg_cv_portaudio_2_0_LIBS 6160 JACK_LIBS=$pkg_cv_JACK_LIBS
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6145 $as_echo "yes" >&6; } 6162 $as_echo "yes" >&6; }
6146 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $portaudio_2_0_CFLAGS";LIBS="$LIBS $portaudio_2_0_LIBS";SV_MODULE_FAILED="" 6163 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED=""
6147 fi 6164 fi
6148 fi 6165 fi
6149 if test -n "$SV_MODULE_FAILED"; then 6166 if test -n "$SV_MODULE_FAILED"; then
6150 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6167 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6151 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6168 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6160 if test -z "$SV_MODULE_FAILED"; then 6177 if test -z "$SV_MODULE_FAILED"; then
6161 if test -n "$SV_MODULE_LIB"; then 6178 if test -n "$SV_MODULE_LIB"; then
6162 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 6179 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6164 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6181 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6165 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 6182 if eval \${$as_ac_Lib+:} false; then :
6166 $as_echo_n "(cached) " >&6 6183 $as_echo_n "(cached) " >&6
6167 else 6184 else
6168 ac_check_lib_save_LIBS=$LIBS 6185 ac_check_lib_save_LIBS=$LIBS
6169 LIBS="-l$SV_MODULE_LIB $LIBS" 6186 LIBS="-l$SV_MODULE_LIB $LIBS"
6170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6207 fi 6224 fi
6208 fi 6225 fi
6209 fi 6226 fi
6210 6227
6211 6228
6212 SV_MODULE_MODULE=JACK 6229 SV_MODULE_MODULE=libpulse
6213 SV_MODULE_VERSION_TEST="jack >= 0.100" 6230 SV_MODULE_VERSION_TEST="libpulse >= 0.9"
6214 SV_MODULE_HEADER=jack/jack.h 6231 SV_MODULE_HEADER=pulse/pulseaudio.h
6215 SV_MODULE_LIB=jack 6232 SV_MODULE_LIB=pulse
6216 SV_MODULE_FUNC=jack_client_open 6233 SV_MODULE_FUNC=pa_stream_new
6217 SV_MODULE_HAVE=HAVE_$(echo JACK | tr 'a-z' 'A-Z') 6234 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z')
6218 SV_MODULE_FAILED=1 6235 SV_MODULE_FAILED=1
6219 if test -n "$JACK_LIBS" ; then 6236 if test -n "$libpulse_LIBS" ; then
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6237 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6221 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6238 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6222 CXXFLAGS="$CXXFLAGS $JACK_CFLAGS" 6239 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS"
6223 LIBS="$LIBS $JACK_LIBS" 6240 LIBS="$LIBS $libpulse_LIBS"
6224 SV_MODULE_FAILED="" 6241 SV_MODULE_FAILED=""
6225 fi 6242 fi
6226 if test -z "$SV_MODULE_VERSION_TEST" ; then 6243 if test -z "$SV_MODULE_VERSION_TEST" ; then
6227 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6244 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6228 fi 6245 fi
6229 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6246 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6230 6247
6231 pkg_failed=no 6248 pkg_failed=no
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5
6233 $as_echo_n "checking for JACK... " >&6; } 6250 $as_echo_n "checking for libpulse... " >&6; }
6234 6251
6235 if test -n "$PKG_CONFIG"; then 6252 if test -n "$libpulse_CFLAGS"; then
6236 if test -n "$JACK_CFLAGS"; then 6253 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS"
6237 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" 6254 elif test -n "$PKG_CONFIG"; then
6238 else 6255 if test -n "$PKG_CONFIG" && \
6239 if test -n "$PKG_CONFIG" && \
6240 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6241 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6257 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6242 ac_status=$? 6258 ac_status=$?
6243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6244 test $ac_status = 0; }; then 6260 test $ac_status = 0; }; then
6245 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6261 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6262 test "x$?" != "x0" && pkg_failed=yes
6246 else 6263 else
6247 pkg_failed=yes 6264 pkg_failed=yes
6248 fi 6265 fi
6249 fi 6266 else
6250 else 6267 pkg_failed=untried
6251 pkg_failed=untried 6268 fi
6252 fi 6269 if test -n "$libpulse_LIBS"; then
6253 if test -n "$PKG_CONFIG"; then 6270 pkg_cv_libpulse_LIBS="$libpulse_LIBS"
6254 if test -n "$JACK_LIBS"; then 6271 elif test -n "$PKG_CONFIG"; then
6255 pkg_cv_JACK_LIBS="$JACK_LIBS" 6272 if test -n "$PKG_CONFIG" && \
6256 else
6257 if test -n "$PKG_CONFIG" && \
6258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6273 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6259 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6274 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6260 ac_status=$? 6275 ac_status=$?
6261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6262 test $ac_status = 0; }; then 6277 test $ac_status = 0; }; then
6263 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6278 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6279 test "x$?" != "x0" && pkg_failed=yes
6264 else 6280 else
6265 pkg_failed=yes 6281 pkg_failed=yes
6266 fi 6282 fi
6267 fi 6283 else
6268 else 6284 pkg_failed=untried
6269 pkg_failed=untried
6270 fi 6285 fi
6271 6286
6272 6287
6273 6288
6274 if test $pkg_failed = yes; then 6289 if test $pkg_failed = yes; then
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6275 6292
6276 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6277 _pkg_short_errors_supported=yes 6294 _pkg_short_errors_supported=yes
6278 else 6295 else
6279 _pkg_short_errors_supported=no 6296 _pkg_short_errors_supported=no
6280 fi 6297 fi
6281 if test $_pkg_short_errors_supported = yes; then 6298 if test $_pkg_short_errors_supported = yes; then
6282 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6299 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6283 else 6300 else
6284 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6301 libpulse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6285 fi 6302 fi
6286 # Put the nasty error message in config.log where it belongs 6303 # Put the nasty error message in config.log where it belongs
6287 echo "$JACK_PKG_ERRORS" >&5 6304 echo "$libpulse_PKG_ERRORS" >&5
6288 6305
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6306 { $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
6290 $as_echo "no" >&6; }
6291 { $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
6292 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6307 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6293 elif test $pkg_failed = untried; then 6308 elif test $pkg_failed = untried; then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6294 { $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 6311 { $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
6295 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6312 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6296 else 6313 else
6297 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS 6314 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS
6298 JACK_LIBS=$pkg_cv_JACK_LIBS 6315 libpulse_LIBS=$pkg_cv_libpulse_LIBS
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6300 $as_echo "yes" >&6; } 6317 $as_echo "yes" >&6; }
6301 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $JACK_CFLAGS";LIBS="$LIBS $JACK_LIBS";SV_MODULE_FAILED="" 6318 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED=""
6302 fi 6319 fi
6303 fi 6320 fi
6304 if test -n "$SV_MODULE_FAILED"; then 6321 if test -n "$SV_MODULE_FAILED"; then
6305 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6322 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6306 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6323 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6315 if test -z "$SV_MODULE_FAILED"; then 6332 if test -z "$SV_MODULE_FAILED"; then
6316 if test -n "$SV_MODULE_LIB"; then 6333 if test -n "$SV_MODULE_LIB"; then
6317 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 6334 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6319 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6336 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6320 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 6337 if eval \${$as_ac_Lib+:} false; then :
6321 $as_echo_n "(cached) " >&6 6338 $as_echo_n "(cached) " >&6
6322 else 6339 else
6323 ac_check_lib_save_LIBS=$LIBS 6340 ac_check_lib_save_LIBS=$LIBS
6324 LIBS="-l$SV_MODULE_LIB $LIBS" 6341 LIBS="-l$SV_MODULE_LIB $LIBS"
6325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6362 fi 6379 fi
6363 fi 6380 fi
6364 fi 6381 fi
6365 6382
6366 6383
6367 SV_MODULE_MODULE=libpulse 6384 SV_MODULE_MODULE=lrdf
6368 SV_MODULE_VERSION_TEST="libpulse >= 0.9" 6385 SV_MODULE_VERSION_TEST="lrdf >= 0.2"
6369 SV_MODULE_HEADER=pulse/pulseaudio.h 6386 SV_MODULE_HEADER=lrdf.h
6370 SV_MODULE_LIB=pulse 6387 SV_MODULE_LIB=lrdf
6371 SV_MODULE_FUNC=pa_stream_new 6388 SV_MODULE_FUNC=lrdf_init
6372 SV_MODULE_HAVE=HAVE_$(echo libpulse | tr 'a-z' 'A-Z') 6389 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z')
6373 SV_MODULE_FAILED=1 6390 SV_MODULE_FAILED=1
6374 if test -n "$libpulse_LIBS" ; then 6391 if test -n "$lrdf_LIBS" ; then
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6392 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6376 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6393 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6377 CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS" 6394 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS"
6378 LIBS="$LIBS $libpulse_LIBS" 6395 LIBS="$LIBS $lrdf_LIBS"
6379 SV_MODULE_FAILED="" 6396 SV_MODULE_FAILED=""
6380 fi 6397 fi
6381 if test -z "$SV_MODULE_VERSION_TEST" ; then 6398 if test -z "$SV_MODULE_VERSION_TEST" ; then
6382 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6399 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6383 fi 6400 fi
6384 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6401 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6385 6402
6386 pkg_failed=no 6403 pkg_failed=no
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpulse" >&5 6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5
6388 $as_echo_n "checking for libpulse... " >&6; } 6405 $as_echo_n "checking for lrdf... " >&6; }
6389 6406
6390 if test -n "$PKG_CONFIG"; then 6407 if test -n "$lrdf_CFLAGS"; then
6391 if test -n "$libpulse_CFLAGS"; then 6408 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS"
6392 pkg_cv_libpulse_CFLAGS="$libpulse_CFLAGS" 6409 elif test -n "$PKG_CONFIG"; then
6393 else 6410 if test -n "$PKG_CONFIG" && \
6394 if test -n "$PKG_CONFIG" && \
6395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6396 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6412 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6397 ac_status=$? 6413 ac_status=$?
6398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6399 test $ac_status = 0; }; then 6415 test $ac_status = 0; }; then
6400 pkg_cv_libpulse_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6416 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6417 test "x$?" != "x0" && pkg_failed=yes
6401 else 6418 else
6402 pkg_failed=yes 6419 pkg_failed=yes
6403 fi 6420 fi
6404 fi 6421 else
6405 else 6422 pkg_failed=untried
6406 pkg_failed=untried 6423 fi
6407 fi 6424 if test -n "$lrdf_LIBS"; then
6408 if test -n "$PKG_CONFIG"; then 6425 pkg_cv_lrdf_LIBS="$lrdf_LIBS"
6409 if test -n "$libpulse_LIBS"; then 6426 elif test -n "$PKG_CONFIG"; then
6410 pkg_cv_libpulse_LIBS="$libpulse_LIBS" 6427 if test -n "$PKG_CONFIG" && \
6411 else
6412 if test -n "$PKG_CONFIG" && \
6413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6428 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6414 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6429 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6415 ac_status=$? 6430 ac_status=$?
6416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6417 test $ac_status = 0; }; then 6432 test $ac_status = 0; }; then
6418 pkg_cv_libpulse_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6433 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6434 test "x$?" != "x0" && pkg_failed=yes
6419 else 6435 else
6420 pkg_failed=yes 6436 pkg_failed=yes
6421 fi 6437 fi
6422 fi 6438 else
6423 else 6439 pkg_failed=untried
6424 pkg_failed=untried
6425 fi 6440 fi
6426 6441
6427 6442
6428 6443
6429 if test $pkg_failed = yes; then 6444 if test $pkg_failed = yes; then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6446 $as_echo "no" >&6; }
6430 6447
6431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6432 _pkg_short_errors_supported=yes 6449 _pkg_short_errors_supported=yes
6433 else 6450 else
6434 _pkg_short_errors_supported=no 6451 _pkg_short_errors_supported=no
6435 fi 6452 fi
6436 if test $_pkg_short_errors_supported = yes; then 6453 if test $_pkg_short_errors_supported = yes; then
6437 libpulse_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6454 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6438 else 6455 else
6439 libpulse_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6456 lrdf_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6440 fi 6457 fi
6441 # Put the nasty error message in config.log where it belongs 6458 # Put the nasty error message in config.log where it belongs
6442 echo "$libpulse_PKG_ERRORS" >&5 6459 echo "$lrdf_PKG_ERRORS" >&5
6443 6460
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6461 { $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
6445 $as_echo "no" >&6; }
6446 { $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
6447 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6462 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6448 elif test $pkg_failed = untried; then 6463 elif test $pkg_failed = untried; then
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6449 { $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 6466 { $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
6450 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6467 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6451 else 6468 else
6452 libpulse_CFLAGS=$pkg_cv_libpulse_CFLAGS 6469 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS
6453 libpulse_LIBS=$pkg_cv_libpulse_LIBS 6470 lrdf_LIBS=$pkg_cv_lrdf_LIBS
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6455 $as_echo "yes" >&6; } 6472 $as_echo "yes" >&6; }
6456 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $libpulse_CFLAGS";LIBS="$LIBS $libpulse_LIBS";SV_MODULE_FAILED="" 6473 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED=""
6457 fi 6474 fi
6458 fi 6475 fi
6459 if test -n "$SV_MODULE_FAILED"; then 6476 if test -n "$SV_MODULE_FAILED"; then
6460 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6477 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6461 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6478 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6470 if test -z "$SV_MODULE_FAILED"; then 6487 if test -z "$SV_MODULE_FAILED"; then
6471 if test -n "$SV_MODULE_LIB"; then 6488 if test -n "$SV_MODULE_LIB"; then
6472 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 6489 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6474 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6491 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6475 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 6492 if eval \${$as_ac_Lib+:} false; then :
6476 $as_echo_n "(cached) " >&6 6493 $as_echo_n "(cached) " >&6
6477 else 6494 else
6478 ac_check_lib_save_LIBS=$LIBS 6495 ac_check_lib_save_LIBS=$LIBS
6479 LIBS="-l$SV_MODULE_LIB $LIBS" 6496 LIBS="-l$SV_MODULE_LIB $LIBS"
6480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517 fi 6534 fi
6518 fi 6535 fi
6519 fi 6536 fi
6520 6537
6521 6538
6522 SV_MODULE_MODULE=lrdf 6539 SV_MODULE_MODULE=oggz
6523 SV_MODULE_VERSION_TEST="lrdf >= 0.2" 6540 SV_MODULE_VERSION_TEST="oggz >= 1.0.0"
6524 SV_MODULE_HEADER=lrdf.h 6541 SV_MODULE_HEADER=oggz/oggz.h
6525 SV_MODULE_LIB=lrdf 6542 SV_MODULE_LIB=oggz
6526 SV_MODULE_FUNC=lrdf_init 6543 SV_MODULE_FUNC=oggz_run
6527 SV_MODULE_HAVE=HAVE_$(echo lrdf | tr 'a-z' 'A-Z') 6544 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z')
6528 SV_MODULE_FAILED=1 6545 SV_MODULE_FAILED=1
6529 if test -n "$lrdf_LIBS" ; then 6546 if test -n "$oggz_LIBS" ; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6547 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6531 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6548 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6532 CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS" 6549 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS"
6533 LIBS="$LIBS $lrdf_LIBS" 6550 LIBS="$LIBS $oggz_LIBS"
6534 SV_MODULE_FAILED="" 6551 SV_MODULE_FAILED=""
6535 fi 6552 fi
6536 if test -z "$SV_MODULE_VERSION_TEST" ; then 6553 if test -z "$SV_MODULE_VERSION_TEST" ; then
6537 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6554 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6538 fi 6555 fi
6539 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6556 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6540 6557
6541 pkg_failed=no 6558 pkg_failed=no
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrdf" >&5 6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5
6543 $as_echo_n "checking for lrdf... " >&6; } 6560 $as_echo_n "checking for oggz... " >&6; }
6544 6561
6545 if test -n "$PKG_CONFIG"; then 6562 if test -n "$oggz_CFLAGS"; then
6546 if test -n "$lrdf_CFLAGS"; then 6563 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS"
6547 pkg_cv_lrdf_CFLAGS="$lrdf_CFLAGS" 6564 elif test -n "$PKG_CONFIG"; then
6548 else 6565 if test -n "$PKG_CONFIG" && \
6549 if test -n "$PKG_CONFIG" && \
6550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6551 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6567 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6552 ac_status=$? 6568 ac_status=$?
6553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6554 test $ac_status = 0; }; then 6570 test $ac_status = 0; }; then
6555 pkg_cv_lrdf_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6571 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6572 test "x$?" != "x0" && pkg_failed=yes
6556 else 6573 else
6557 pkg_failed=yes 6574 pkg_failed=yes
6558 fi 6575 fi
6559 fi 6576 else
6560 else 6577 pkg_failed=untried
6561 pkg_failed=untried 6578 fi
6562 fi 6579 if test -n "$oggz_LIBS"; then
6563 if test -n "$PKG_CONFIG"; then 6580 pkg_cv_oggz_LIBS="$oggz_LIBS"
6564 if test -n "$lrdf_LIBS"; then 6581 elif test -n "$PKG_CONFIG"; then
6565 pkg_cv_lrdf_LIBS="$lrdf_LIBS" 6582 if test -n "$PKG_CONFIG" && \
6566 else
6567 if test -n "$PKG_CONFIG" && \
6568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6569 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6584 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6570 ac_status=$? 6585 ac_status=$?
6571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6572 test $ac_status = 0; }; then 6587 test $ac_status = 0; }; then
6573 pkg_cv_lrdf_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6588 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6589 test "x$?" != "x0" && pkg_failed=yes
6574 else 6590 else
6575 pkg_failed=yes 6591 pkg_failed=yes
6576 fi 6592 fi
6577 fi 6593 else
6578 else 6594 pkg_failed=untried
6579 pkg_failed=untried
6580 fi 6595 fi
6581 6596
6582 6597
6583 6598
6584 if test $pkg_failed = yes; then 6599 if test $pkg_failed = yes; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6601 $as_echo "no" >&6; }
6585 6602
6586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6603 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6587 _pkg_short_errors_supported=yes 6604 _pkg_short_errors_supported=yes
6588 else 6605 else
6589 _pkg_short_errors_supported=no 6606 _pkg_short_errors_supported=no
6590 fi 6607 fi
6591 if test $_pkg_short_errors_supported = yes; then 6608 if test $_pkg_short_errors_supported = yes; then
6592 lrdf_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6609 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6593 else 6610 else
6594 lrdf_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6611 oggz_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6595 fi 6612 fi
6596 # Put the nasty error message in config.log where it belongs 6613 # Put the nasty error message in config.log where it belongs
6597 echo "$lrdf_PKG_ERRORS" >&5 6614 echo "$oggz_PKG_ERRORS" >&5
6598 6615
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6616 { $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
6600 $as_echo "no" >&6; }
6601 { $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
6602 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6617 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6603 elif test $pkg_failed = untried; then 6618 elif test $pkg_failed = untried; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6604 { $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 6621 { $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
6605 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6622 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6606 else 6623 else
6607 lrdf_CFLAGS=$pkg_cv_lrdf_CFLAGS 6624 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS
6608 lrdf_LIBS=$pkg_cv_lrdf_LIBS 6625 oggz_LIBS=$pkg_cv_oggz_LIBS
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6610 $as_echo "yes" >&6; } 6627 $as_echo "yes" >&6; }
6611 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $lrdf_CFLAGS";LIBS="$LIBS $lrdf_LIBS";SV_MODULE_FAILED="" 6628 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED=""
6612 fi 6629 fi
6613 fi 6630 fi
6614 if test -n "$SV_MODULE_FAILED"; then 6631 if test -n "$SV_MODULE_FAILED"; then
6615 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6632 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6616 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6633 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6625 if test -z "$SV_MODULE_FAILED"; then 6642 if test -z "$SV_MODULE_FAILED"; then
6626 if test -n "$SV_MODULE_LIB"; then 6643 if test -n "$SV_MODULE_LIB"; then
6627 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 6644 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6629 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6646 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6630 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 6647 if eval \${$as_ac_Lib+:} false; then :
6631 $as_echo_n "(cached) " >&6 6648 $as_echo_n "(cached) " >&6
6632 else 6649 else
6633 ac_check_lib_save_LIBS=$LIBS 6650 ac_check_lib_save_LIBS=$LIBS
6634 LIBS="-l$SV_MODULE_LIB $LIBS" 6651 LIBS="-l$SV_MODULE_LIB $LIBS"
6635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6672 fi 6689 fi
6673 fi 6690 fi
6674 fi 6691 fi
6675 6692
6676 6693
6677 SV_MODULE_MODULE=oggz 6694 SV_MODULE_MODULE=fishsound
6678 SV_MODULE_VERSION_TEST="oggz >= 1.0.0" 6695 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0"
6679 SV_MODULE_HEADER=oggz/oggz.h 6696 SV_MODULE_HEADER=fishsound/fishsound.h
6680 SV_MODULE_LIB=oggz 6697 SV_MODULE_LIB=fishsound
6681 SV_MODULE_FUNC=oggz_run 6698 SV_MODULE_FUNC=fish_sound_new
6682 SV_MODULE_HAVE=HAVE_$(echo oggz | tr 'a-z' 'A-Z') 6699 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z')
6683 SV_MODULE_FAILED=1 6700 SV_MODULE_FAILED=1
6684 if test -n "$oggz_LIBS" ; then 6701 if test -n "$fishsound_LIBS" ; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6702 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6686 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6703 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6687 CXXFLAGS="$CXXFLAGS $oggz_CFLAGS" 6704 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS"
6688 LIBS="$LIBS $oggz_LIBS" 6705 LIBS="$LIBS $fishsound_LIBS"
6689 SV_MODULE_FAILED="" 6706 SV_MODULE_FAILED=""
6690 fi 6707 fi
6691 if test -z "$SV_MODULE_VERSION_TEST" ; then 6708 if test -z "$SV_MODULE_VERSION_TEST" ; then
6692 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6709 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6693 fi 6710 fi
6694 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6711 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6695 6712
6696 pkg_failed=no 6713 pkg_failed=no
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for oggz" >&5 6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5
6698 $as_echo_n "checking for oggz... " >&6; } 6715 $as_echo_n "checking for fishsound... " >&6; }
6699 6716
6700 if test -n "$PKG_CONFIG"; then 6717 if test -n "$fishsound_CFLAGS"; then
6701 if test -n "$oggz_CFLAGS"; then 6718 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS"
6702 pkg_cv_oggz_CFLAGS="$oggz_CFLAGS" 6719 elif test -n "$PKG_CONFIG"; then
6703 else 6720 if test -n "$PKG_CONFIG" && \
6704 if test -n "$PKG_CONFIG" && \
6705 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6721 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6706 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6722 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6707 ac_status=$? 6723 ac_status=$?
6708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6709 test $ac_status = 0; }; then 6725 test $ac_status = 0; }; then
6710 pkg_cv_oggz_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6726 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6727 test "x$?" != "x0" && pkg_failed=yes
6711 else 6728 else
6712 pkg_failed=yes 6729 pkg_failed=yes
6713 fi 6730 fi
6714 fi 6731 else
6715 else 6732 pkg_failed=untried
6716 pkg_failed=untried 6733 fi
6717 fi 6734 if test -n "$fishsound_LIBS"; then
6718 if test -n "$PKG_CONFIG"; then 6735 pkg_cv_fishsound_LIBS="$fishsound_LIBS"
6719 if test -n "$oggz_LIBS"; then 6736 elif test -n "$PKG_CONFIG"; then
6720 pkg_cv_oggz_LIBS="$oggz_LIBS" 6737 if test -n "$PKG_CONFIG" && \
6721 else
6722 if test -n "$PKG_CONFIG" && \
6723 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6724 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6739 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6725 ac_status=$? 6740 ac_status=$?
6726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6727 test $ac_status = 0; }; then 6742 test $ac_status = 0; }; then
6728 pkg_cv_oggz_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6743 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6744 test "x$?" != "x0" && pkg_failed=yes
6729 else 6745 else
6730 pkg_failed=yes 6746 pkg_failed=yes
6731 fi 6747 fi
6732 fi 6748 else
6733 else 6749 pkg_failed=untried
6734 pkg_failed=untried
6735 fi 6750 fi
6736 6751
6737 6752
6738 6753
6739 if test $pkg_failed = yes; then 6754 if test $pkg_failed = yes; then
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6740 6757
6741 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6742 _pkg_short_errors_supported=yes 6759 _pkg_short_errors_supported=yes
6743 else 6760 else
6744 _pkg_short_errors_supported=no 6761 _pkg_short_errors_supported=no
6745 fi 6762 fi
6746 if test $_pkg_short_errors_supported = yes; then 6763 if test $_pkg_short_errors_supported = yes; then
6747 oggz_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6764 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6748 else 6765 else
6749 oggz_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6766 fishsound_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6750 fi 6767 fi
6751 # Put the nasty error message in config.log where it belongs 6768 # Put the nasty error message in config.log where it belongs
6752 echo "$oggz_PKG_ERRORS" >&5 6769 echo "$fishsound_PKG_ERRORS" >&5
6753 6770
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6771 { $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
6755 $as_echo "no" >&6; }
6756 { $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
6757 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6772 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6758 elif test $pkg_failed = untried; then 6773 elif test $pkg_failed = untried; then
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775 $as_echo "no" >&6; }
6759 { $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 6776 { $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
6760 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6777 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6761 else 6778 else
6762 oggz_CFLAGS=$pkg_cv_oggz_CFLAGS 6779 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS
6763 oggz_LIBS=$pkg_cv_oggz_LIBS 6780 fishsound_LIBS=$pkg_cv_fishsound_LIBS
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6765 $as_echo "yes" >&6; } 6782 $as_echo "yes" >&6; }
6766 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $oggz_CFLAGS";LIBS="$LIBS $oggz_LIBS";SV_MODULE_FAILED="" 6783 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED=""
6767 fi 6784 fi
6768 fi 6785 fi
6769 if test -n "$SV_MODULE_FAILED"; then 6786 if test -n "$SV_MODULE_FAILED"; then
6770 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6787 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6771 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6788 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6780 if test -z "$SV_MODULE_FAILED"; then 6797 if test -z "$SV_MODULE_FAILED"; then
6781 if test -n "$SV_MODULE_LIB"; then 6798 if test -n "$SV_MODULE_LIB"; then
6782 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 6799 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6784 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6801 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6785 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 6802 if eval \${$as_ac_Lib+:} false; then :
6786 $as_echo_n "(cached) " >&6 6803 $as_echo_n "(cached) " >&6
6787 else 6804 else
6788 ac_check_lib_save_LIBS=$LIBS 6805 ac_check_lib_save_LIBS=$LIBS
6789 LIBS="-l$SV_MODULE_LIB $LIBS" 6806 LIBS="-l$SV_MODULE_LIB $LIBS"
6790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827 fi 6844 fi
6828 fi 6845 fi
6829 fi 6846 fi
6830 6847
6831 6848
6832 SV_MODULE_MODULE=fishsound 6849 SV_MODULE_MODULE=mad
6833 SV_MODULE_VERSION_TEST="fishsound >= 1.0.0" 6850 SV_MODULE_VERSION_TEST="mad >= 0.15.0"
6834 SV_MODULE_HEADER=fishsound/fishsound.h 6851 SV_MODULE_HEADER=mad.h
6835 SV_MODULE_LIB=fishsound 6852 SV_MODULE_LIB=mad
6836 SV_MODULE_FUNC=fish_sound_new 6853 SV_MODULE_FUNC=mad_decoder_init
6837 SV_MODULE_HAVE=HAVE_$(echo fishsound | tr 'a-z' 'A-Z') 6854 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z')
6838 SV_MODULE_FAILED=1 6855 SV_MODULE_FAILED=1
6839 if test -n "$fishsound_LIBS" ; then 6856 if test -n "$mad_LIBS" ; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 6857 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6841 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 6858 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6842 CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS" 6859 CXXFLAGS="$CXXFLAGS $mad_CFLAGS"
6843 LIBS="$LIBS $fishsound_LIBS" 6860 LIBS="$LIBS $mad_LIBS"
6844 SV_MODULE_FAILED="" 6861 SV_MODULE_FAILED=""
6845 fi 6862 fi
6846 if test -z "$SV_MODULE_VERSION_TEST" ; then 6863 if test -z "$SV_MODULE_VERSION_TEST" ; then
6847 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 6864 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
6848 fi 6865 fi
6849 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 6866 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
6850 6867
6851 pkg_failed=no 6868 pkg_failed=no
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fishsound" >&5 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5
6853 $as_echo_n "checking for fishsound... " >&6; } 6870 $as_echo_n "checking for mad... " >&6; }
6854 6871
6855 if test -n "$PKG_CONFIG"; then 6872 if test -n "$mad_CFLAGS"; then
6856 if test -n "$fishsound_CFLAGS"; then 6873 pkg_cv_mad_CFLAGS="$mad_CFLAGS"
6857 pkg_cv_fishsound_CFLAGS="$fishsound_CFLAGS" 6874 elif test -n "$PKG_CONFIG"; then
6858 else 6875 if test -n "$PKG_CONFIG" && \
6859 if test -n "$PKG_CONFIG" && \
6860 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6876 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6861 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6877 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6862 ac_status=$? 6878 ac_status=$?
6863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6864 test $ac_status = 0; }; then 6880 test $ac_status = 0; }; then
6865 pkg_cv_fishsound_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6881 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6882 test "x$?" != "x0" && pkg_failed=yes
6866 else 6883 else
6867 pkg_failed=yes 6884 pkg_failed=yes
6868 fi 6885 fi
6869 fi 6886 else
6870 else 6887 pkg_failed=untried
6871 pkg_failed=untried 6888 fi
6872 fi 6889 if test -n "$mad_LIBS"; then
6873 if test -n "$PKG_CONFIG"; then 6890 pkg_cv_mad_LIBS="$mad_LIBS"
6874 if test -n "$fishsound_LIBS"; then 6891 elif test -n "$PKG_CONFIG"; then
6875 pkg_cv_fishsound_LIBS="$fishsound_LIBS" 6892 if test -n "$PKG_CONFIG" && \
6876 else
6877 if test -n "$PKG_CONFIG" && \
6878 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 6893 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
6879 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 6894 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
6880 ac_status=$? 6895 ac_status=$?
6881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6882 test $ac_status = 0; }; then 6897 test $ac_status = 0; }; then
6883 pkg_cv_fishsound_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 6898 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
6899 test "x$?" != "x0" && pkg_failed=yes
6884 else 6900 else
6885 pkg_failed=yes 6901 pkg_failed=yes
6886 fi 6902 fi
6887 fi 6903 else
6888 else 6904 pkg_failed=untried
6889 pkg_failed=untried
6890 fi 6905 fi
6891 6906
6892 6907
6893 6908
6894 if test $pkg_failed = yes; then 6909 if test $pkg_failed = yes; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6895 6912
6896 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
6897 _pkg_short_errors_supported=yes 6914 _pkg_short_errors_supported=yes
6898 else 6915 else
6899 _pkg_short_errors_supported=no 6916 _pkg_short_errors_supported=no
6900 fi 6917 fi
6901 if test $_pkg_short_errors_supported = yes; then 6918 if test $_pkg_short_errors_supported = yes; then
6902 fishsound_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6919 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6903 else 6920 else
6904 fishsound_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 6921 mad_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
6905 fi 6922 fi
6906 # Put the nasty error message in config.log where it belongs 6923 # Put the nasty error message in config.log where it belongs
6907 echo "$fishsound_PKG_ERRORS" >&5 6924 echo "$mad_PKG_ERRORS" >&5
6908 6925
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6926 { $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
6910 $as_echo "no" >&6; }
6911 { $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
6912 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6927 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6913 elif test $pkg_failed = untried; then 6928 elif test $pkg_failed = untried; then
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 $as_echo "no" >&6; }
6914 { $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 6931 { $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
6915 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 6932 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
6916 else 6933 else
6917 fishsound_CFLAGS=$pkg_cv_fishsound_CFLAGS 6934 mad_CFLAGS=$pkg_cv_mad_CFLAGS
6918 fishsound_LIBS=$pkg_cv_fishsound_LIBS 6935 mad_LIBS=$pkg_cv_mad_LIBS
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6920 $as_echo "yes" >&6; } 6937 $as_echo "yes" >&6; }
6921 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $fishsound_CFLAGS";LIBS="$LIBS $fishsound_LIBS";SV_MODULE_FAILED="" 6938 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED=""
6922 fi 6939 fi
6923 fi 6940 fi
6924 if test -n "$SV_MODULE_FAILED"; then 6941 if test -n "$SV_MODULE_FAILED"; then
6925 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 6942 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
6926 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 6943 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
6935 if test -z "$SV_MODULE_FAILED"; then 6952 if test -z "$SV_MODULE_FAILED"; then
6936 if test -n "$SV_MODULE_LIB"; then 6953 if test -n "$SV_MODULE_LIB"; then
6937 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 6954 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
6939 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 6956 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
6940 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 6957 if eval \${$as_ac_Lib+:} false; then :
6941 $as_echo_n "(cached) " >&6 6958 $as_echo_n "(cached) " >&6
6942 else 6959 else
6943 ac_check_lib_save_LIBS=$LIBS 6960 ac_check_lib_save_LIBS=$LIBS
6944 LIBS="-l$SV_MODULE_LIB $LIBS" 6961 LIBS="-l$SV_MODULE_LIB $LIBS"
6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6982 fi 6999 fi
6983 fi 7000 fi
6984 fi 7001 fi
6985 7002
6986 7003
6987 SV_MODULE_MODULE=mad
6988 SV_MODULE_VERSION_TEST="mad >= 0.15.0"
6989 SV_MODULE_HEADER=mad.h
6990 SV_MODULE_LIB=mad
6991 SV_MODULE_FUNC=mad_decoder_init
6992 SV_MODULE_HAVE=HAVE_$(echo mad | tr 'a-z' 'A-Z')
6993 SV_MODULE_FAILED=1
6994 if test -n "$mad_LIBS" ; then
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
6996 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
6997 CXXFLAGS="$CXXFLAGS $mad_CFLAGS"
6998 LIBS="$LIBS $mad_LIBS"
6999 SV_MODULE_FAILED=""
7000 fi
7001 if test -z "$SV_MODULE_VERSION_TEST" ; then
7002 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
7003 fi
7004 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
7005
7006 pkg_failed=no
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad" >&5
7008 $as_echo_n "checking for mad... " >&6; }
7009
7010 if test -n "$PKG_CONFIG"; then
7011 if test -n "$mad_CFLAGS"; then
7012 pkg_cv_mad_CFLAGS="$mad_CFLAGS"
7013 else
7014 if test -n "$PKG_CONFIG" && \
7015 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7016 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7017 ac_status=$?
7018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7019 test $ac_status = 0; }; then
7020 pkg_cv_mad_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7021 else
7022 pkg_failed=yes
7023 fi
7024 fi
7025 else
7026 pkg_failed=untried
7027 fi
7028 if test -n "$PKG_CONFIG"; then
7029 if test -n "$mad_LIBS"; then
7030 pkg_cv_mad_LIBS="$mad_LIBS"
7031 else
7032 if test -n "$PKG_CONFIG" && \
7033 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7034 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7035 ac_status=$?
7036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7037 test $ac_status = 0; }; then
7038 pkg_cv_mad_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7039 else
7040 pkg_failed=yes
7041 fi
7042 fi
7043 else
7044 pkg_failed=untried
7045 fi
7046
7047
7048
7049 if test $pkg_failed = yes; then
7050
7051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7052 _pkg_short_errors_supported=yes
7053 else
7054 _pkg_short_errors_supported=no
7055 fi
7056 if test $_pkg_short_errors_supported = yes; then
7057 mad_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
7058 else
7059 mad_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"`
7060 fi
7061 # Put the nasty error message in config.log where it belongs
7062 echo "$mad_PKG_ERRORS" >&5
7063
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7065 $as_echo "no" >&6; }
7066 { $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
7067 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7068 elif test $pkg_failed = untried; then
7069 { $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
7070 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7071 else
7072 mad_CFLAGS=$pkg_cv_mad_CFLAGS
7073 mad_LIBS=$pkg_cv_mad_LIBS
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7075 $as_echo "yes" >&6; }
7076 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $mad_CFLAGS";LIBS="$LIBS $mad_LIBS";SV_MODULE_FAILED=""
7077 fi
7078 fi
7079 if test -n "$SV_MODULE_FAILED"; then
7080 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
7081 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
7082 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7083 HAVES="$HAVES $SV_MODULE_HAVE";SV_MODULE_FAILED=""
7084 else
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&5
7086 $as_echo "$as_me: Failed to find header $SV_MODULE_HEADER for optional module $SV_MODULE_MODULE" >&6;}
7087 fi
7088
7089
7090 if test -z "$SV_MODULE_FAILED"; then
7091 if test -n "$SV_MODULE_LIB"; then
7092 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
7094 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
7095 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
7096 $as_echo_n "(cached) " >&6
7097 else
7098 ac_check_lib_save_LIBS=$LIBS
7099 LIBS="-l$SV_MODULE_LIB $LIBS"
7100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7102
7103 /* Override any GCC internal prototype to avoid an error.
7104 Use char because int might match the return type of a GCC
7105 builtin and then its argument prototype would still apply. */
7106 #ifdef __cplusplus
7107 extern "C"
7108 #endif
7109 char $SV_MODULE_FUNC ();
7110 int
7111 main ()
7112 {
7113 return $SV_MODULE_FUNC ();
7114 ;
7115 return 0;
7116 }
7117 _ACEOF
7118 if ac_fn_cxx_try_link "$LINENO"; then :
7119 eval "$as_ac_Lib=yes"
7120 else
7121 eval "$as_ac_Lib=no"
7122 fi
7123 rm -f core conftest.err conftest.$ac_objext \
7124 conftest$ac_exeext conftest.$ac_ext
7125 LIBS=$ac_check_lib_save_LIBS
7126 fi
7127 eval ac_res=\$$as_ac_Lib
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7129 $as_echo "$ac_res" >&6; }
7130 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
7131 LIBS="$LIBS -l$SV_MODULE_LIB"
7132 else
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&5
7134 $as_echo "$as_me: Failed to find library $SV_MODULE_LIB for optional module $SV_MODULE_MODULE" >&6;}
7135 fi
7136
7137 fi
7138 fi
7139 fi
7140
7141
7142 SV_MODULE_MODULE=id3tag 7004 SV_MODULE_MODULE=id3tag
7143 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0" 7005 SV_MODULE_VERSION_TEST="id3tag >= 0.15.0"
7144 SV_MODULE_HEADER=id3tag.h 7006 SV_MODULE_HEADER=id3tag.h
7145 SV_MODULE_LIB=id3tag 7007 SV_MODULE_LIB=id3tag
7146 SV_MODULE_FUNC=id3_tag_new 7008 SV_MODULE_FUNC=id3_tag_new
7160 7022
7161 pkg_failed=no 7023 pkg_failed=no
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5 7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for id3tag" >&5
7163 $as_echo_n "checking for id3tag... " >&6; } 7025 $as_echo_n "checking for id3tag... " >&6; }
7164 7026
7165 if test -n "$PKG_CONFIG"; then 7027 if test -n "$id3tag_CFLAGS"; then
7166 if test -n "$id3tag_CFLAGS"; then 7028 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS"
7167 pkg_cv_id3tag_CFLAGS="$id3tag_CFLAGS" 7029 elif test -n "$PKG_CONFIG"; then
7168 else 7030 if test -n "$PKG_CONFIG" && \
7169 if test -n "$PKG_CONFIG" && \
7170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 7031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7171 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 7032 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7172 ac_status=$? 7033 ac_status=$?
7173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7174 test $ac_status = 0; }; then 7035 test $ac_status = 0; }; then
7175 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 7036 pkg_cv_id3tag_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7037 test "x$?" != "x0" && pkg_failed=yes
7176 else 7038 else
7177 pkg_failed=yes 7039 pkg_failed=yes
7178 fi 7040 fi
7179 fi 7041 else
7180 else 7042 pkg_failed=untried
7181 pkg_failed=untried 7043 fi
7182 fi 7044 if test -n "$id3tag_LIBS"; then
7183 if test -n "$PKG_CONFIG"; then 7045 pkg_cv_id3tag_LIBS="$id3tag_LIBS"
7184 if test -n "$id3tag_LIBS"; then 7046 elif test -n "$PKG_CONFIG"; then
7185 pkg_cv_id3tag_LIBS="$id3tag_LIBS" 7047 if test -n "$PKG_CONFIG" && \
7186 else
7187 if test -n "$PKG_CONFIG" && \
7188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 7048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
7189 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 7049 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
7190 ac_status=$? 7050 ac_status=$?
7191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7192 test $ac_status = 0; }; then 7052 test $ac_status = 0; }; then
7193 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 7053 pkg_cv_id3tag_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
7054 test "x$?" != "x0" && pkg_failed=yes
7194 else 7055 else
7195 pkg_failed=yes 7056 pkg_failed=yes
7196 fi 7057 fi
7197 fi 7058 else
7198 else 7059 pkg_failed=untried
7199 pkg_failed=untried
7200 fi 7060 fi
7201 7061
7202 7062
7203 7063
7204 if test $pkg_failed = yes; then 7064 if test $pkg_failed = yes; then
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7205 7067
7206 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 7068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
7207 _pkg_short_errors_supported=yes 7069 _pkg_short_errors_supported=yes
7208 else 7070 else
7209 _pkg_short_errors_supported=no 7071 _pkg_short_errors_supported=no
7210 fi 7072 fi
7211 if test $_pkg_short_errors_supported = yes; then 7073 if test $_pkg_short_errors_supported = yes; then
7212 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 7074 id3tag_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7213 else 7075 else
7214 id3tag_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$SV_MODULE_VERSION_TEST"` 7076 id3tag_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
7215 fi 7077 fi
7216 # Put the nasty error message in config.log where it belongs 7078 # Put the nasty error message in config.log where it belongs
7217 echo "$id3tag_PKG_ERRORS" >&5 7079 echo "$id3tag_PKG_ERRORS" >&5
7218 7080
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7081 { $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
7220 $as_echo "no" >&6; }
7221 { $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
7222 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7082 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7223 elif test $pkg_failed = untried; then 7083 elif test $pkg_failed = untried; then
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7085 $as_echo "no" >&6; }
7224 { $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 7086 { $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
7225 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 7087 $as_echo "$as_me: Failed to find optional module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
7226 else 7088 else
7227 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS 7089 id3tag_CFLAGS=$pkg_cv_id3tag_CFLAGS
7228 id3tag_LIBS=$pkg_cv_id3tag_LIBS 7090 id3tag_LIBS=$pkg_cv_id3tag_LIBS
7245 if test -z "$SV_MODULE_FAILED"; then 7107 if test -z "$SV_MODULE_FAILED"; then
7246 if test -n "$SV_MODULE_LIB"; then 7108 if test -n "$SV_MODULE_LIB"; then
7247 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` 7109 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
7249 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } 7111 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
7250 if eval "test \"\${$as_ac_Lib+set}\"" = set; then : 7112 if eval \${$as_ac_Lib+:} false; then :
7251 $as_echo_n "(cached) " >&6 7113 $as_echo_n "(cached) " >&6
7252 else 7114 else
7253 ac_check_lib_save_LIBS=$LIBS 7115 ac_check_lib_save_LIBS=$LIBS
7254 LIBS="-l$SV_MODULE_LIB $LIBS" 7116 LIBS="-l$SV_MODULE_LIB $LIBS"
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7377 t end 7239 t end
7378 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7240 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7379 :end' >>confcache 7241 :end' >>confcache
7380 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7242 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7381 if test -w "$cache_file"; then 7243 if test -w "$cache_file"; then
7382 test "x$cache_file" != "x/dev/null" && 7244 if test "x$cache_file" != "x/dev/null"; then
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7245 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7384 $as_echo "$as_me: updating cache $cache_file" >&6;} 7246 $as_echo "$as_me: updating cache $cache_file" >&6;}
7385 cat confcache >$cache_file 7247 if test ! -f "$cache_file" || test -h "$cache_file"; then
7248 cat confcache >"$cache_file"
7249 else
7250 case $cache_file in #(
7251 */* | ?:*)
7252 mv -f confcache "$cache_file"$$ &&
7253 mv -f "$cache_file"$$ "$cache_file" ;; #(
7254 *)
7255 mv -f confcache "$cache_file" ;;
7256 esac
7257 fi
7258 fi
7386 else 7259 else
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7260 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7388 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7261 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7389 fi 7262 fi
7390 fi 7263 fi
7448 7321
7449 LTLIBOBJS=$ac_ltlibobjs 7322 LTLIBOBJS=$ac_ltlibobjs
7450 7323
7451 7324
7452 7325
7453 : ${CONFIG_STATUS=./config.status} 7326 : "${CONFIG_STATUS=./config.status}"
7454 ac_write_fail=0 7327 ac_write_fail=0
7455 ac_clean_files_save=$ac_clean_files 7328 ac_clean_files_save=$ac_clean_files
7456 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7329 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7458 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7331 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7549 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 7422 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7550 # splitting by setting IFS to empty value.) 7423 # splitting by setting IFS to empty value.)
7551 IFS=" "" $as_nl" 7424 IFS=" "" $as_nl"
7552 7425
7553 # Find who we are. Look in the path if we contain no directory separator. 7426 # Find who we are. Look in the path if we contain no directory separator.
7427 as_myself=
7554 case $0 in #(( 7428 case $0 in #((
7555 *[\\/]* ) as_myself=$0 ;; 7429 *[\\/]* ) as_myself=$0 ;;
7556 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7430 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7557 for as_dir in $PATH 7431 for as_dir in $PATH
7558 do 7432 do
7856 # Save the log message, to keep $0 and so on meaningful, and to 7730 # Save the log message, to keep $0 and so on meaningful, and to
7857 # report actual input values of CONFIG_FILES etc. instead of their 7731 # report actual input values of CONFIG_FILES etc. instead of their
7858 # values after options handling. 7732 # values after options handling.
7859 ac_log=" 7733 ac_log="
7860 This file was extended by SVgui $as_me 1.8, which was 7734 This file was extended by SVgui $as_me 1.8, which was
7861 generated by GNU Autoconf 2.67. Invocation command line was 7735 generated by GNU Autoconf 2.68. Invocation command line was
7862 7736
7863 CONFIG_FILES = $CONFIG_FILES 7737 CONFIG_FILES = $CONFIG_FILES
7864 CONFIG_HEADERS = $CONFIG_HEADERS 7738 CONFIG_HEADERS = $CONFIG_HEADERS
7865 CONFIG_LINKS = $CONFIG_LINKS 7739 CONFIG_LINKS = $CONFIG_LINKS
7866 CONFIG_COMMANDS = $CONFIG_COMMANDS 7740 CONFIG_COMMANDS = $CONFIG_COMMANDS
7909 _ACEOF 7783 _ACEOF
7910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7911 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7785 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7912 ac_cs_version="\\ 7786 ac_cs_version="\\
7913 SVgui config.status 1.8 7787 SVgui config.status 1.8
7914 configured by $0, generated by GNU Autoconf 2.67, 7788 configured by $0, generated by GNU Autoconf 2.68,
7915 with options \\"\$ac_cs_config\\" 7789 with options \\"\$ac_cs_config\\"
7916 7790
7917 Copyright (C) 2010 Free Software Foundation, Inc. 7791 Copyright (C) 2010 Free Software Foundation, Inc.
7918 This config.status script is free software; the Free Software Foundation 7792 This config.status script is free software; the Free Software Foundation
7919 gives unlimited permission to copy, distribute and modify it." 7793 gives unlimited permission to copy, distribute and modify it."
8022 for ac_config_target in $ac_config_targets 7896 for ac_config_target in $ac_config_targets
8023 do 7897 do
8024 case $ac_config_target in 7898 case $ac_config_target in
8025 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;; 7899 "config.pri") CONFIG_FILES="$CONFIG_FILES config.pri" ;;
8026 7900
8027 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 7901 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8028 esac 7902 esac
8029 done 7903 done
8030 7904
8031 7905
8032 # If the user did not use the arguments to specify the items to instantiate, 7906 # If the user did not use the arguments to specify the items to instantiate,
8043 # Hook for its removal unless debugging. 7917 # Hook for its removal unless debugging.
8044 # Note that there is a small window in which the directory will not be cleaned: 7918 # Note that there is a small window in which the directory will not be cleaned:
8045 # after its creation but before its name has been assigned to `$tmp'. 7919 # after its creation but before its name has been assigned to `$tmp'.
8046 $debug || 7920 $debug ||
8047 { 7921 {
8048 tmp= 7922 tmp= ac_tmp=
8049 trap 'exit_status=$? 7923 trap 'exit_status=$?
8050 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 7924 : "${ac_tmp:=$tmp}"
7925 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8051 ' 0 7926 ' 0
8052 trap 'as_fn_exit 1' 1 2 13 15 7927 trap 'as_fn_exit 1' 1 2 13 15
8053 } 7928 }
8054 # Create a (secure) tmp directory for tmp files. 7929 # Create a (secure) tmp directory for tmp files.
8055 7930
8056 { 7931 {
8057 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 7932 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8058 test -n "$tmp" && test -d "$tmp" 7933 test -d "$tmp"
8059 } || 7934 } ||
8060 { 7935 {
8061 tmp=./conf$$-$RANDOM 7936 tmp=./conf$$-$RANDOM
8062 (umask 077 && mkdir "$tmp") 7937 (umask 077 && mkdir "$tmp")
8063 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 7938 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7939 ac_tmp=$tmp
8064 7940
8065 # Set up the scripts for CONFIG_FILES section. 7941 # Set up the scripts for CONFIG_FILES section.
8066 # No need to generate them if there are no CONFIG_FILES. 7942 # No need to generate them if there are no CONFIG_FILES.
8067 # This happens for instance with `./config.status config.h'. 7943 # This happens for instance with `./config.status config.h'.
8068 if test -n "$CONFIG_FILES"; then 7944 if test -n "$CONFIG_FILES"; then
8080 ac_cs_awk_cr='\\r' 7956 ac_cs_awk_cr='\\r'
8081 else 7957 else
8082 ac_cs_awk_cr=$ac_cr 7958 ac_cs_awk_cr=$ac_cr
8083 fi 7959 fi
8084 7960
8085 echo 'BEGIN {' >"$tmp/subs1.awk" && 7961 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8086 _ACEOF 7962 _ACEOF
8087 7963
8088 7964
8089 { 7965 {
8090 echo "cat >conf$$subs.awk <<_ACEOF" && 7966 echo "cat >conf$$subs.awk <<_ACEOF" &&
8108 fi 7984 fi
8109 done 7985 done
8110 rm -f conf$$subs.sh 7986 rm -f conf$$subs.sh
8111 7987
8112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8113 cat >>"\$tmp/subs1.awk" <<\\_ACAWK && 7989 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
8114 _ACEOF 7990 _ACEOF
8115 sed -n ' 7991 sed -n '
8116 h 7992 h
8117 s/^/S["/; s/!.*/"]=/ 7993 s/^/S["/; s/!.*/"]=/
8118 p 7994 p
8156 } 8032 }
8157 ' >>$CONFIG_STATUS || ac_write_fail=1 8033 ' >>$CONFIG_STATUS || ac_write_fail=1
8158 rm -f conf$$subs.awk 8034 rm -f conf$$subs.awk
8159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8160 _ACAWK 8036 _ACAWK
8161 cat >>"\$tmp/subs1.awk" <<_ACAWK && 8037 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
8162 for (key in S) S_is_set[key] = 1 8038 for (key in S) S_is_set[key] = 1
8163 FS = "" 8039 FS = ""
8164 8040
8165 } 8041 }
8166 { 8042 {
8188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8189 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8065 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8190 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8066 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8191 else 8067 else
8192 cat 8068 cat
8193 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ 8069 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
8194 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8070 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
8195 _ACEOF 8071 _ACEOF
8196 8072
8197 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8073 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8198 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8074 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
8228 case $ac_tag in 8104 case $ac_tag in
8229 :[FHLC]) ac_mode=$ac_tag; continue;; 8105 :[FHLC]) ac_mode=$ac_tag; continue;;
8230 esac 8106 esac
8231 case $ac_mode$ac_tag in 8107 case $ac_mode$ac_tag in
8232 :[FHL]*:*);; 8108 :[FHL]*:*);;
8233 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 8109 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
8234 :[FH]-) ac_tag=-:-;; 8110 :[FH]-) ac_tag=-:-;;
8235 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8111 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8236 esac 8112 esac
8237 ac_save_IFS=$IFS 8113 ac_save_IFS=$IFS
8238 IFS=: 8114 IFS=:
8247 :[FH]) 8123 :[FH])
8248 ac_file_inputs= 8124 ac_file_inputs=
8249 for ac_f 8125 for ac_f
8250 do 8126 do
8251 case $ac_f in 8127 case $ac_f in
8252 -) ac_f="$tmp/stdin";; 8128 -) ac_f="$ac_tmp/stdin";;
8253 *) # Look for the file first in the build tree, then in the source tree 8129 *) # Look for the file first in the build tree, then in the source tree
8254 # (if the path is not absolute). The absolute path cannot be DOS-style, 8130 # (if the path is not absolute). The absolute path cannot be DOS-style,
8255 # because $ac_f cannot contain `:'. 8131 # because $ac_f cannot contain `:'.
8256 test -f "$ac_f" || 8132 test -f "$ac_f" ||
8257 case $ac_f in 8133 case $ac_f in
8258 [\\/$]*) false;; 8134 [\\/$]*) false;;
8259 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8135 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8260 esac || 8136 esac ||
8261 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 8137 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8262 esac 8138 esac
8263 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8139 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8264 as_fn_append ac_file_inputs " '$ac_f'" 8140 as_fn_append ac_file_inputs " '$ac_f'"
8265 done 8141 done
8266 8142
8282 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8158 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8283 *) ac_sed_conf_input=$configure_input;; 8159 *) ac_sed_conf_input=$configure_input;;
8284 esac 8160 esac
8285 8161
8286 case $ac_tag in 8162 case $ac_tag in
8287 *:-:* | *:-) cat >"$tmp/stdin" \ 8163 *:-:* | *:-) cat >"$ac_tmp/stdin" \
8288 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8164 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
8289 esac 8165 esac
8290 ;; 8166 ;;
8291 esac 8167 esac
8292 8168
8293 ac_dir=`$as_dirname -- "$ac_file" || 8169 ac_dir=`$as_dirname -- "$ac_file" ||
8419 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8295 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8420 s&@INSTALL@&$ac_INSTALL&;t t 8296 s&@INSTALL@&$ac_INSTALL&;t t
8421 s&@MKDIR_P@&$ac_MKDIR_P&;t t 8297 s&@MKDIR_P@&$ac_MKDIR_P&;t t
8422 $ac_datarootdir_hack 8298 $ac_datarootdir_hack
8423 " 8299 "
8424 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ 8300 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
8425 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8301 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8426 8302
8427 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8303 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8428 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 8304 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
8429 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 8305 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8306 "$ac_tmp/out"`; test -z "$ac_out"; } &&
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8431 which seems to be undefined. Please make sure it is defined" >&5 8308 which seems to be undefined. Please make sure it is defined" >&5
8432 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8309 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8433 which seems to be undefined. Please make sure it is defined" >&2;} 8310 which seems to be undefined. Please make sure it is defined" >&2;}
8434 8311
8435 rm -f "$tmp/stdin" 8312 rm -f "$ac_tmp/stdin"
8436 case $ac_file in 8313 case $ac_file in
8437 -) cat "$tmp/out" && rm -f "$tmp/out";; 8314 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8438 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; 8315 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8439 esac \ 8316 esac \
8440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8317 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8441 ;; 8318 ;;
8442 8319
8443 8320