comparison configure @ 795:dc20458f6f85 qt5

Don't need to check for Dataquay, and in fact we can pick up the wrong version if we do. Just assume it is available (building in e.g. sv subdir configuration)
author Chris Cannam
date Tue, 07 May 2013 15:41:58 +0100
parents cefc9763dc0c
children c1fcfdf43a01
comparison
equal deleted inserted replaced
794:12f78ebc82bf 795:dc20458f6f85
648 JACK_CFLAGS 648 JACK_CFLAGS
649 portaudio_2_0_LIBS 649 portaudio_2_0_LIBS
650 portaudio_2_0_CFLAGS 650 portaudio_2_0_CFLAGS
651 liblo_LIBS 651 liblo_LIBS
652 liblo_CFLAGS 652 liblo_CFLAGS
653 dataquay_LIBS
654 dataquay_CFLAGS
655 rubberband_LIBS 653 rubberband_LIBS
656 rubberband_CFLAGS 654 rubberband_CFLAGS
657 vamphostsdk_LIBS 655 vamphostsdk_LIBS
658 vamphostsdk_CFLAGS 656 vamphostsdk_CFLAGS
659 vamp_LIBS 657 vamp_LIBS
761 vamp_LIBS 759 vamp_LIBS
762 vamphostsdk_CFLAGS 760 vamphostsdk_CFLAGS
763 vamphostsdk_LIBS 761 vamphostsdk_LIBS
764 rubberband_CFLAGS 762 rubberband_CFLAGS
765 rubberband_LIBS 763 rubberband_LIBS
766 dataquay_CFLAGS
767 dataquay_LIBS
768 liblo_CFLAGS 764 liblo_CFLAGS
769 liblo_LIBS 765 liblo_LIBS
770 portaudio_2_0_CFLAGS 766 portaudio_2_0_CFLAGS
771 portaudio_2_0_LIBS 767 portaudio_2_0_LIBS
772 JACK_CFLAGS 768 JACK_CFLAGS
1434 linker flags for vamphostsdk, overriding pkg-config 1430 linker flags for vamphostsdk, overriding pkg-config
1435 rubberband_CFLAGS 1431 rubberband_CFLAGS
1436 C compiler flags for rubberband, overriding pkg-config 1432 C compiler flags for rubberband, overriding pkg-config
1437 rubberband_LIBS 1433 rubberband_LIBS
1438 linker flags for rubberband, overriding pkg-config 1434 linker flags for rubberband, overriding pkg-config
1439 dataquay_CFLAGS
1440 C compiler flags for dataquay, overriding pkg-config
1441 dataquay_LIBS
1442 linker flags for dataquay, overriding pkg-config
1443 liblo_CFLAGS 1435 liblo_CFLAGS
1444 C compiler flags for liblo, overriding pkg-config 1436 C compiler flags for liblo, overriding pkg-config
1445 liblo_LIBS linker flags for liblo, overriding pkg-config 1437 liblo_LIBS linker flags for liblo, overriding pkg-config
1446 portaudio_2_0_CFLAGS 1438 portaudio_2_0_CFLAGS
1447 C compiler flags for portaudio_2_0, overriding pkg-config 1439 C compiler flags for portaudio_2_0, overriding pkg-config
5465 5457
5466 fi 5458 fi
5467 fi 5459 fi
5468 5460
5469 5461
5470 SV_MODULE_MODULE=dataquay
5471 SV_MODULE_VERSION_TEST="dataquay >= 0.9"
5472 SV_MODULE_HEADER=dataquay/Uri.h
5473 SV_MODULE_LIB=dataquay
5474 SV_MODULE_FUNC=dataquay_v_0_9_present
5475 SV_MODULE_HAVE=HAVE_$(echo dataquay | tr 'a-z' 'A-Z')
5476 SV_MODULE_FAILED=1
5477 if test -n "$dataquay_LIBS" ; then
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5479 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5480 CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS"
5481 LIBS="$LIBS $dataquay_LIBS"
5482 SV_MODULE_FAILED=""
5483 fi
5484 if test -z "$SV_MODULE_VERSION_TEST" ; then
5485 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5486 fi
5487 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5488
5489 pkg_failed=no
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dataquay" >&5
5491 $as_echo_n "checking for dataquay... " >&6; }
5492
5493 if test -n "$dataquay_CFLAGS"; then
5494 pkg_cv_dataquay_CFLAGS="$dataquay_CFLAGS"
5495 elif test -n "$PKG_CONFIG"; then
5496 if test -n "$PKG_CONFIG" && \
5497 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5498 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5499 ac_status=$?
5500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5501 test $ac_status = 0; }; then
5502 pkg_cv_dataquay_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5503 test "x$?" != "x0" && pkg_failed=yes
5504 else
5505 pkg_failed=yes
5506 fi
5507 else
5508 pkg_failed=untried
5509 fi
5510 if test -n "$dataquay_LIBS"; then
5511 pkg_cv_dataquay_LIBS="$dataquay_LIBS"
5512 elif test -n "$PKG_CONFIG"; then
5513 if test -n "$PKG_CONFIG" && \
5514 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5515 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5516 ac_status=$?
5517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5518 test $ac_status = 0; }; then
5519 pkg_cv_dataquay_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5520 test "x$?" != "x0" && pkg_failed=yes
5521 else
5522 pkg_failed=yes
5523 fi
5524 else
5525 pkg_failed=untried
5526 fi
5527
5528
5529
5530 if test $pkg_failed = yes; then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5533
5534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5535 _pkg_short_errors_supported=yes
5536 else
5537 _pkg_short_errors_supported=no
5538 fi
5539 if test $_pkg_short_errors_supported = yes; then
5540 dataquay_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5541 else
5542 dataquay_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5543 fi
5544 # Put the nasty error message in config.log where it belongs
5545 echo "$dataquay_PKG_ERRORS" >&5
5546
5547 { $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
5548 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5549 elif test $pkg_failed = untried; then
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5552 { $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
5553 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5554 else
5555 dataquay_CFLAGS=$pkg_cv_dataquay_CFLAGS
5556 dataquay_LIBS=$pkg_cv_dataquay_LIBS
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5558 $as_echo "yes" >&6; }
5559 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $dataquay_CFLAGS";LIBS="$LIBS $dataquay_LIBS";SV_MODULE_FAILED=""
5560 fi
5561 fi
5562 if test -n "$SV_MODULE_FAILED"; then
5563 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5564 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5565 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5566 HAVES="$HAVES $SV_MODULE_HAVE"
5567 else
5568 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5569 fi
5570
5571
5572 if test -n "$SV_MODULE_LIB"; then
5573 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5575 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5576 if eval \${$as_ac_Lib+:} false; then :
5577 $as_echo_n "(cached) " >&6
5578 else
5579 ac_check_lib_save_LIBS=$LIBS
5580 LIBS="-l$SV_MODULE_LIB $LIBS"
5581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5583
5584 /* Override any GCC internal prototype to avoid an error.
5585 Use char because int might match the return type of a GCC
5586 builtin and then its argument prototype would still apply. */
5587 #ifdef __cplusplus
5588 extern "C"
5589 #endif
5590 char $SV_MODULE_FUNC ();
5591 int
5592 main ()
5593 {
5594 return $SV_MODULE_FUNC ();
5595 ;
5596 return 0;
5597 }
5598 _ACEOF
5599 if ac_fn_cxx_try_link "$LINENO"; then :
5600 eval "$as_ac_Lib=yes"
5601 else
5602 eval "$as_ac_Lib=no"
5603 fi
5604 rm -f core conftest.err conftest.$ac_objext \
5605 conftest$ac_exeext conftest.$ac_ext
5606 LIBS=$ac_check_lib_save_LIBS
5607 fi
5608 eval ac_res=\$$as_ac_Lib
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5610 $as_echo "$ac_res" >&6; }
5611 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5612 LIBS="$LIBS -l$SV_MODULE_LIB"
5613 else
5614 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5615 fi
5616
5617 fi
5618 fi
5619
5620
5621 5462
5622 SV_MODULE_MODULE=liblo 5463 SV_MODULE_MODULE=liblo
5623 SV_MODULE_VERSION_TEST="" 5464 SV_MODULE_VERSION_TEST=""
5624 SV_MODULE_HEADER=lo/lo.h 5465 SV_MODULE_HEADER=lo/lo.h
5625 SV_MODULE_LIB=lo 5466 SV_MODULE_LIB=lo