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