comparison configure @ 730:27c861cce97b dataquay

Further fixes for Dataquay compatibility
author Chris Cannam
date Mon, 21 May 2012 14:33:35 +0100
parents 97fbb6b3e749
children 403a8064aceb
comparison
equal deleted inserted replaced
729:11289d40a57a 730:27c861cce97b
629 JACK_CFLAGS 629 JACK_CFLAGS
630 portaudio_2_0_LIBS 630 portaudio_2_0_LIBS
631 portaudio_2_0_CFLAGS 631 portaudio_2_0_CFLAGS
632 liblo_LIBS 632 liblo_LIBS
633 liblo_CFLAGS 633 liblo_CFLAGS
634 redland_LIBS 634 dataquay_LIBS
635 redland_CFLAGS 635 dataquay_CFLAGS
636 rasqal_LIBS
637 rasqal_CFLAGS
638 rubberband_LIBS 636 rubberband_LIBS
639 rubberband_CFLAGS 637 rubberband_CFLAGS
640 vamphostsdk_LIBS 638 vamphostsdk_LIBS
641 vamphostsdk_CFLAGS 639 vamphostsdk_CFLAGS
642 vamp_LIBS 640 vamp_LIBS
744 vamp_LIBS 742 vamp_LIBS
745 vamphostsdk_CFLAGS 743 vamphostsdk_CFLAGS
746 vamphostsdk_LIBS 744 vamphostsdk_LIBS
747 rubberband_CFLAGS 745 rubberband_CFLAGS
748 rubberband_LIBS 746 rubberband_LIBS
749 rasqal_CFLAGS 747 dataquay_CFLAGS
750 rasqal_LIBS 748 dataquay_LIBS
751 redland_CFLAGS
752 redland_LIBS
753 liblo_CFLAGS 749 liblo_CFLAGS
754 liblo_LIBS 750 liblo_LIBS
755 portaudio_2_0_CFLAGS 751 portaudio_2_0_CFLAGS
756 portaudio_2_0_LIBS 752 portaudio_2_0_LIBS
757 JACK_CFLAGS 753 JACK_CFLAGS
1421 linker flags for vamphostsdk, overriding pkg-config 1417 linker flags for vamphostsdk, overriding pkg-config
1422 rubberband_CFLAGS 1418 rubberband_CFLAGS
1423 C compiler flags for rubberband, overriding pkg-config 1419 C compiler flags for rubberband, overriding pkg-config
1424 rubberband_LIBS 1420 rubberband_LIBS
1425 linker flags for rubberband, overriding pkg-config 1421 linker flags for rubberband, overriding pkg-config
1426 rasqal_CFLAGS 1422 dataquay_CFLAGS
1427 C compiler flags for rasqal, overriding pkg-config 1423 C compiler flags for dataquay, overriding pkg-config
1428 rasqal_LIBS linker flags for rasqal, overriding pkg-config 1424 dataquay_LIBS
1429 redland_CFLAGS 1425 linker flags for dataquay, overriding pkg-config
1430 C compiler flags for redland, overriding pkg-config
1431 redland_LIBS
1432 linker flags for redland, overriding pkg-config
1433 liblo_CFLAGS 1426 liblo_CFLAGS
1434 C compiler flags for liblo, overriding pkg-config 1427 C compiler flags for liblo, overriding pkg-config
1435 liblo_LIBS linker flags for liblo, overriding pkg-config 1428 liblo_LIBS linker flags for liblo, overriding pkg-config
1436 portaudio_2_0_CFLAGS 1429 portaudio_2_0_CFLAGS
1437 C compiler flags for portaudio_2_0, overriding pkg-config 1430 C compiler flags for portaudio_2_0, overriding pkg-config
5456 5449
5457 fi 5450 fi
5458 fi 5451 fi
5459 5452
5460 5453
5461 SV_MODULE_MODULE=rasqal 5454 SV_MODULE_MODULE=dataquay
5462 SV_MODULE_VERSION_TEST="rasqal >= 0.9.19" 5455 SV_MODULE_VERSION_TEST="dataquay >= 0.9"
5463 SV_MODULE_HEADER=rasqal/rasqal.h 5456 SV_MODULE_HEADER=dataquay/Uri.h
5464 SV_MODULE_LIB=rasqal 5457 SV_MODULE_LIB=dataquay
5465 SV_MODULE_FUNC=rasqal_new_world 5458 SV_MODULE_FUNC=
5466 SV_MODULE_HAVE=HAVE_$(echo rasqal | tr 'a-z' 'A-Z') 5459 SV_MODULE_HAVE=HAVE_$(echo dataquay | tr 'a-z' 'A-Z')
5467 SV_MODULE_FAILED=1 5460 SV_MODULE_FAILED=1
5468 if test -n "$rasqal_LIBS" ; then 5461 if test -n "$dataquay_LIBS" ; then
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 5462 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5470 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} 5463 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5471 CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS" 5464 CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS"
5472 LIBS="$LIBS $rasqal_LIBS" 5465 LIBS="$LIBS $dataquay_LIBS"
5473 SV_MODULE_FAILED="" 5466 SV_MODULE_FAILED=""
5474 fi 5467 fi
5475 if test -z "$SV_MODULE_VERSION_TEST" ; then 5468 if test -z "$SV_MODULE_VERSION_TEST" ; then
5476 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE 5469 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5477 fi 5470 fi
5478 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then 5471 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5479 5472
5480 pkg_failed=no 5473 pkg_failed=no
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rasqal" >&5 5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dataquay" >&5
5482 $as_echo_n "checking for rasqal... " >&6; } 5475 $as_echo_n "checking for dataquay... " >&6; }
5483 5476
5484 if test -n "$rasqal_CFLAGS"; then 5477 if test -n "$dataquay_CFLAGS"; then
5485 pkg_cv_rasqal_CFLAGS="$rasqal_CFLAGS" 5478 pkg_cv_dataquay_CFLAGS="$dataquay_CFLAGS"
5486 elif test -n "$PKG_CONFIG"; then 5479 elif test -n "$PKG_CONFIG"; then
5487 if test -n "$PKG_CONFIG" && \ 5480 if test -n "$PKG_CONFIG" && \
5488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5481 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5489 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5482 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5490 ac_status=$? 5483 ac_status=$?
5491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5492 test $ac_status = 0; }; then 5485 test $ac_status = 0; }; then
5493 pkg_cv_rasqal_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5486 pkg_cv_dataquay_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5494 test "x$?" != "x0" && pkg_failed=yes 5487 test "x$?" != "x0" && pkg_failed=yes
5495 else 5488 else
5496 pkg_failed=yes 5489 pkg_failed=yes
5497 fi 5490 fi
5498 else 5491 else
5499 pkg_failed=untried 5492 pkg_failed=untried
5500 fi 5493 fi
5501 if test -n "$rasqal_LIBS"; then 5494 if test -n "$dataquay_LIBS"; then
5502 pkg_cv_rasqal_LIBS="$rasqal_LIBS" 5495 pkg_cv_dataquay_LIBS="$dataquay_LIBS"
5503 elif test -n "$PKG_CONFIG"; then 5496 elif test -n "$PKG_CONFIG"; then
5504 if test -n "$PKG_CONFIG" && \ 5497 if test -n "$PKG_CONFIG" && \
5505 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 5498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5506 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 5499 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5507 ac_status=$? 5500 ac_status=$?
5508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5509 test $ac_status = 0; }; then 5502 test $ac_status = 0; }; then
5510 pkg_cv_rasqal_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null` 5503 pkg_cv_dataquay_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5511 test "x$?" != "x0" && pkg_failed=yes 5504 test "x$?" != "x0" && pkg_failed=yes
5512 else 5505 else
5513 pkg_failed=yes 5506 pkg_failed=yes
5514 fi 5507 fi
5515 else 5508 else
5526 _pkg_short_errors_supported=yes 5519 _pkg_short_errors_supported=yes
5527 else 5520 else
5528 _pkg_short_errors_supported=no 5521 _pkg_short_errors_supported=no
5529 fi 5522 fi
5530 if test $_pkg_short_errors_supported = yes; then 5523 if test $_pkg_short_errors_supported = yes; then
5531 rasqal_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 5524 dataquay_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5532 else 5525 else
5533 rasqal_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` 5526 dataquay_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5534 fi 5527 fi
5535 # Put the nasty error message in config.log where it belongs 5528 # Put the nasty error message in config.log where it belongs
5536 echo "$rasqal_PKG_ERRORS" >&5 5529 echo "$dataquay_PKG_ERRORS" >&5
5537 5530
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 5531 { $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
5539 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5532 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5540 elif test $pkg_failed = untried; then 5533 elif test $pkg_failed = untried; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; } 5535 $as_echo "no" >&6; }
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 5536 { $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
5544 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} 5537 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5545 else 5538 else
5546 rasqal_CFLAGS=$pkg_cv_rasqal_CFLAGS 5539 dataquay_CFLAGS=$pkg_cv_dataquay_CFLAGS
5547 rasqal_LIBS=$pkg_cv_rasqal_LIBS 5540 dataquay_LIBS=$pkg_cv_dataquay_LIBS
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5549 $as_echo "yes" >&6; } 5542 $as_echo "yes" >&6; }
5550 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rasqal_CFLAGS";LIBS="$LIBS $rasqal_LIBS";SV_MODULE_FAILED="" 5543 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS";LIBS="$LIBS $dataquay_LIBS";SV_MODULE_FAILED=""
5551 fi
5552 fi
5553 if test -n "$SV_MODULE_FAILED"; then
5554 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5555 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5556 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5557 HAVES="$HAVES $SV_MODULE_HAVE"
5558 else
5559 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5560 fi
5561
5562
5563 if test -n "$SV_MODULE_LIB"; then
5564 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5566 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5567 if eval \${$as_ac_Lib+:} false; then :
5568 $as_echo_n "(cached) " >&6
5569 else
5570 ac_check_lib_save_LIBS=$LIBS
5571 LIBS="-l$SV_MODULE_LIB $LIBS"
5572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5574
5575 /* Override any GCC internal prototype to avoid an error.
5576 Use char because int might match the return type of a GCC
5577 builtin and then its argument prototype would still apply. */
5578 #ifdef __cplusplus
5579 extern "C"
5580 #endif
5581 char $SV_MODULE_FUNC ();
5582 int
5583 main ()
5584 {
5585 return $SV_MODULE_FUNC ();
5586 ;
5587 return 0;
5588 }
5589 _ACEOF
5590 if ac_fn_cxx_try_link "$LINENO"; then :
5591 eval "$as_ac_Lib=yes"
5592 else
5593 eval "$as_ac_Lib=no"
5594 fi
5595 rm -f core conftest.err conftest.$ac_objext \
5596 conftest$ac_exeext conftest.$ac_ext
5597 LIBS=$ac_check_lib_save_LIBS
5598 fi
5599 eval ac_res=\$$as_ac_Lib
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5601 $as_echo "$ac_res" >&6; }
5602 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5603 LIBS="$LIBS -l$SV_MODULE_LIB"
5604 else
5605 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5606 fi
5607
5608 fi
5609 fi
5610
5611
5612 SV_MODULE_MODULE=redland
5613 SV_MODULE_VERSION_TEST="redland >= 1.0.10"
5614 SV_MODULE_HEADER=librdf.h
5615 SV_MODULE_LIB=rdf
5616 SV_MODULE_FUNC=librdf_new_world
5617 SV_MODULE_HAVE=HAVE_$(echo redland | tr 'a-z' 'A-Z')
5618 SV_MODULE_FAILED=1
5619 if test -n "$redland_LIBS" ; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5621 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5622 CXXFLAGS="$CXXFLAGS $redland_CFLAGS"
5623 LIBS="$LIBS $redland_LIBS"
5624 SV_MODULE_FAILED=""
5625 fi
5626 if test -z "$SV_MODULE_VERSION_TEST" ; then
5627 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5628 fi
5629 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5630
5631 pkg_failed=no
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for redland" >&5
5633 $as_echo_n "checking for redland... " >&6; }
5634
5635 if test -n "$redland_CFLAGS"; then
5636 pkg_cv_redland_CFLAGS="$redland_CFLAGS"
5637 elif test -n "$PKG_CONFIG"; then
5638 if test -n "$PKG_CONFIG" && \
5639 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5640 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5641 ac_status=$?
5642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5643 test $ac_status = 0; }; then
5644 pkg_cv_redland_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5645 test "x$?" != "x0" && pkg_failed=yes
5646 else
5647 pkg_failed=yes
5648 fi
5649 else
5650 pkg_failed=untried
5651 fi
5652 if test -n "$redland_LIBS"; then
5653 pkg_cv_redland_LIBS="$redland_LIBS"
5654 elif test -n "$PKG_CONFIG"; then
5655 if test -n "$PKG_CONFIG" && \
5656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5657 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5658 ac_status=$?
5659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5660 test $ac_status = 0; }; then
5661 pkg_cv_redland_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5662 test "x$?" != "x0" && pkg_failed=yes
5663 else
5664 pkg_failed=yes
5665 fi
5666 else
5667 pkg_failed=untried
5668 fi
5669
5670
5671
5672 if test $pkg_failed = yes; then
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5674 $as_echo "no" >&6; }
5675
5676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5677 _pkg_short_errors_supported=yes
5678 else
5679 _pkg_short_errors_supported=no
5680 fi
5681 if test $_pkg_short_errors_supported = yes; then
5682 redland_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5683 else
5684 redland_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5685 fi
5686 # Put the nasty error message in config.log where it belongs
5687 echo "$redland_PKG_ERRORS" >&5
5688
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
5690 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5691 elif test $pkg_failed = untried; then
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5693 $as_echo "no" >&6; }
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
5695 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5696 else
5697 redland_CFLAGS=$pkg_cv_redland_CFLAGS
5698 redland_LIBS=$pkg_cv_redland_LIBS
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5700 $as_echo "yes" >&6; }
5701 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $redland_CFLAGS";LIBS="$LIBS $redland_LIBS";SV_MODULE_FAILED=""
5702 fi 5544 fi
5703 fi 5545 fi
5704 if test -n "$SV_MODULE_FAILED"; then 5546 if test -n "$SV_MODULE_FAILED"; then
5705 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` 5547 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5706 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" 5548 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"