Mercurial > hg > svcore
comparison configure @ 802:98cf98a217d2 qt5
Merge
author | Chris Cannam |
---|---|
date | Thu, 09 May 2013 17:31:31 +0100 |
parents | c808c57e5560 |
children | 2bd629a29fa3 |
comparison
equal
deleted
inserted
replaced
801:ed3779b2b4a8 | 802:98cf98a217d2 |
---|---|
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 |
5164 fi | 5156 fi |
5165 fi | 5157 fi |
5166 | 5158 |
5167 | 5159 |
5168 SV_MODULE_MODULE=vamphostsdk | 5160 SV_MODULE_MODULE=vamphostsdk |
5169 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.3.1" | 5161 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.5" |
5170 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h | 5162 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h |
5171 SV_MODULE_LIB=vamp-hostsdk | 5163 SV_MODULE_LIB=vamp-hostsdk |
5172 SV_MODULE_FUNC=libvamphostsdk_v_2_3_1_present | 5164 SV_MODULE_FUNC=libvamphostsdk_v_2_5_present |
5173 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') | 5165 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z') |
5174 SV_MODULE_FAILED=1 | 5166 SV_MODULE_FAILED=1 |
5175 if test -n "$vamphostsdk_LIBS" ; then | 5167 if test -n "$vamphostsdk_LIBS" ; then |
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 | 5168 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5 |
5177 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | 5169 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} |
5404 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS | 5396 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS |
5405 rubberband_LIBS=$pkg_cv_rubberband_LIBS | 5397 rubberband_LIBS=$pkg_cv_rubberband_LIBS |
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5407 $as_echo "yes" >&6; } | 5399 $as_echo "yes" >&6; } |
5408 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS";LIBS="$LIBS $rubberband_LIBS";SV_MODULE_FAILED="" | 5400 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS";LIBS="$LIBS $rubberband_LIBS";SV_MODULE_FAILED="" |
5409 fi | |
5410 fi | |
5411 if test -n "$SV_MODULE_FAILED"; then | |
5412 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
5413 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
5414 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5415 HAVES="$HAVES $SV_MODULE_HAVE" | |
5416 else | |
5417 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | |
5418 fi | |
5419 | |
5420 | |
5421 if test -n "$SV_MODULE_LIB"; then | |
5422 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
5424 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
5425 if eval \${$as_ac_Lib+:} false; then : | |
5426 $as_echo_n "(cached) " >&6 | |
5427 else | |
5428 ac_check_lib_save_LIBS=$LIBS | |
5429 LIBS="-l$SV_MODULE_LIB $LIBS" | |
5430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5431 /* end confdefs.h. */ | |
5432 | |
5433 /* Override any GCC internal prototype to avoid an error. | |
5434 Use char because int might match the return type of a GCC | |
5435 builtin and then its argument prototype would still apply. */ | |
5436 #ifdef __cplusplus | |
5437 extern "C" | |
5438 #endif | |
5439 char $SV_MODULE_FUNC (); | |
5440 int | |
5441 main () | |
5442 { | |
5443 return $SV_MODULE_FUNC (); | |
5444 ; | |
5445 return 0; | |
5446 } | |
5447 _ACEOF | |
5448 if ac_fn_cxx_try_link "$LINENO"; then : | |
5449 eval "$as_ac_Lib=yes" | |
5450 else | |
5451 eval "$as_ac_Lib=no" | |
5452 fi | |
5453 rm -f core conftest.err conftest.$ac_objext \ | |
5454 conftest$ac_exeext conftest.$ac_ext | |
5455 LIBS=$ac_check_lib_save_LIBS | |
5456 fi | |
5457 eval ac_res=\$$as_ac_Lib | |
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5459 $as_echo "$ac_res" >&6; } | |
5460 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
5461 LIBS="$LIBS -l$SV_MODULE_LIB" | |
5462 else | |
5463 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | |
5464 fi | |
5465 | |
5466 fi | |
5467 fi | |
5468 | |
5469 | |
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 | 5401 fi |
5561 fi | 5402 fi |
5562 if test -n "$SV_MODULE_FAILED"; then | 5403 if test -n "$SV_MODULE_FAILED"; then |
5563 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | 5404 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" | 5405 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" |