Mercurial > hg > svcore
comparison configure @ 1126:39019ce29178 tony-2.0-integration
Merge through to branch for Tony 2.0
author | Chris Cannam |
---|---|
date | Thu, 20 Aug 2015 14:54:21 +0100 |
parents | def2db9c4ab0 |
children | 8a1328ab9c48 |
comparison
equal
deleted
inserted
replaced
1119:e22bfe8ca248 | 1126:39019ce29178 |
---|---|
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 rubberband_LIBS | |
654 rubberband_CFLAGS | |
655 vamphostsdk_LIBS | 653 vamphostsdk_LIBS |
656 vamphostsdk_CFLAGS | 654 vamphostsdk_CFLAGS |
657 vamp_LIBS | 655 vamp_LIBS |
658 vamp_CFLAGS | 656 vamp_CFLAGS |
659 samplerate_LIBS | 657 samplerate_LIBS |
758 samplerate_LIBS | 756 samplerate_LIBS |
759 vamp_CFLAGS | 757 vamp_CFLAGS |
760 vamp_LIBS | 758 vamp_LIBS |
761 vamphostsdk_CFLAGS | 759 vamphostsdk_CFLAGS |
762 vamphostsdk_LIBS | 760 vamphostsdk_LIBS |
763 rubberband_CFLAGS | |
764 rubberband_LIBS | |
765 liblo_CFLAGS | 761 liblo_CFLAGS |
766 liblo_LIBS | 762 liblo_LIBS |
767 portaudio_2_0_CFLAGS | 763 portaudio_2_0_CFLAGS |
768 portaudio_2_0_LIBS | 764 portaudio_2_0_LIBS |
769 JACK_CFLAGS | 765 JACK_CFLAGS |
1427 vamp_LIBS linker flags for vamp, overriding pkg-config | 1423 vamp_LIBS linker flags for vamp, overriding pkg-config |
1428 vamphostsdk_CFLAGS | 1424 vamphostsdk_CFLAGS |
1429 C compiler flags for vamphostsdk, overriding pkg-config | 1425 C compiler flags for vamphostsdk, overriding pkg-config |
1430 vamphostsdk_LIBS | 1426 vamphostsdk_LIBS |
1431 linker flags for vamphostsdk, overriding pkg-config | 1427 linker flags for vamphostsdk, overriding pkg-config |
1432 rubberband_CFLAGS | |
1433 C compiler flags for rubberband, overriding pkg-config | |
1434 rubberband_LIBS | |
1435 linker flags for rubberband, overriding pkg-config | |
1436 liblo_CFLAGS | 1428 liblo_CFLAGS |
1437 C compiler flags for liblo, overriding pkg-config | 1429 C compiler flags for liblo, overriding pkg-config |
1438 liblo_LIBS linker flags for liblo, overriding pkg-config | 1430 liblo_LIBS linker flags for liblo, overriding pkg-config |
1439 portaudio_2_0_CFLAGS | 1431 portaudio_2_0_CFLAGS |
1440 C compiler flags for portaudio_2_0, overriding pkg-config | 1432 C compiler flags for portaudio_2_0, overriding pkg-config |
5448 | 5440 |
5449 fi | 5441 fi |
5450 fi | 5442 fi |
5451 | 5443 |
5452 | 5444 |
5453 SV_MODULE_MODULE=rubberband | |
5454 SV_MODULE_VERSION_TEST="rubberband" | |
5455 SV_MODULE_HEADER=rubberband/RubberBandStretcher.h | |
5456 SV_MODULE_LIB=rubberband | |
5457 SV_MODULE_FUNC=rubberband_new | |
5458 SV_MODULE_HAVE=HAVE_$(echo rubberband | tr 'a-z' 'A-Z') | |
5459 SV_MODULE_FAILED=1 | |
5460 if test -n "$rubberband_LIBS" ; then | |
5461 { $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: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;} | |
5463 CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS" | |
5464 LIBS="$LIBS $rubberband_LIBS" | |
5465 SV_MODULE_FAILED="" | |
5466 fi | |
5467 if test -z "$SV_MODULE_VERSION_TEST" ; then | |
5468 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE | |
5469 fi | |
5470 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then | |
5471 | |
5472 pkg_failed=no | |
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5 | |
5474 $as_echo_n "checking for rubberband... " >&6; } | |
5475 | |
5476 if test -n "$rubberband_CFLAGS"; then | |
5477 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS" | |
5478 elif test -n "$PKG_CONFIG"; then | |
5479 if test -n "$PKG_CONFIG" && \ | |
5480 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5 | |
5481 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5 | |
5482 ac_status=$? | |
5483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | |
5484 test $ac_status = 0; }; then | |
5485 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null` | |
5486 test "x$?" != "x0" && pkg_failed=yes | |
5487 else | |
5488 pkg_failed=yes | |
5489 fi | |
5490 else | |
5491 pkg_failed=untried | |
5492 fi | |
5493 if test -n "$rubberband_LIBS"; then | |
5494 pkg_cv_rubberband_LIBS="$rubberband_LIBS" | |
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_rubberband_LIBS=`$PKG_CONFIG --libs "$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 | |
5511 | |
5512 | |
5513 if test $pkg_failed = yes; then | |
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5515 $as_echo "no" >&6; } | |
5516 | |
5517 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | |
5518 _pkg_short_errors_supported=yes | |
5519 else | |
5520 _pkg_short_errors_supported=no | |
5521 fi | |
5522 if test $_pkg_short_errors_supported = yes; then | |
5523 rubberband_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5524 else | |
5525 rubberband_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1` | |
5526 fi | |
5527 # Put the nasty error message in config.log where it belongs | |
5528 echo "$rubberband_PKG_ERRORS" >&5 | |
5529 | |
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 | |
5531 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5532 elif test $pkg_failed = untried; then | |
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | |
5534 $as_echo "no" >&6; } | |
5535 { $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: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;} | |
5537 else | |
5538 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS | |
5539 rubberband_LIBS=$pkg_cv_rubberband_LIBS | |
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | |
5541 $as_echo "yes" >&6; } | |
5542 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS";LIBS="$LIBS $rubberband_LIBS";SV_MODULE_FAILED="" | |
5543 fi | |
5544 fi | |
5545 if test -n "$SV_MODULE_FAILED"; then | |
5546 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh` | |
5547 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default" | |
5548 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | |
5549 HAVES="$HAVES $SV_MODULE_HAVE" | |
5550 else | |
5551 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5 | |
5552 fi | |
5553 | |
5554 | |
5555 if test -n "$SV_MODULE_LIB"; then | |
5556 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh` | |
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5 | |
5558 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; } | |
5559 if eval \${$as_ac_Lib+:} false; then : | |
5560 $as_echo_n "(cached) " >&6 | |
5561 else | |
5562 ac_check_lib_save_LIBS=$LIBS | |
5563 LIBS="-l$SV_MODULE_LIB $LIBS" | |
5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | |
5565 /* end confdefs.h. */ | |
5566 | |
5567 /* Override any GCC internal prototype to avoid an error. | |
5568 Use char because int might match the return type of a GCC | |
5569 builtin and then its argument prototype would still apply. */ | |
5570 #ifdef __cplusplus | |
5571 extern "C" | |
5572 #endif | |
5573 char $SV_MODULE_FUNC (); | |
5574 int | |
5575 main () | |
5576 { | |
5577 return $SV_MODULE_FUNC (); | |
5578 ; | |
5579 return 0; | |
5580 } | |
5581 _ACEOF | |
5582 if ac_fn_cxx_try_link "$LINENO"; then : | |
5583 eval "$as_ac_Lib=yes" | |
5584 else | |
5585 eval "$as_ac_Lib=no" | |
5586 fi | |
5587 rm -f core conftest.err conftest.$ac_objext \ | |
5588 conftest$ac_exeext conftest.$ac_ext | |
5589 LIBS=$ac_check_lib_save_LIBS | |
5590 fi | |
5591 eval ac_res=\$$as_ac_Lib | |
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | |
5593 $as_echo "$ac_res" >&6; } | |
5594 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then : | |
5595 LIBS="$LIBS -l$SV_MODULE_LIB" | |
5596 else | |
5597 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5 | |
5598 fi | |
5599 | |
5600 fi | |
5601 fi | |
5602 | |
5603 | |
5604 | 5445 |
5605 SV_MODULE_MODULE=liblo | 5446 SV_MODULE_MODULE=liblo |
5606 SV_MODULE_VERSION_TEST="" | 5447 SV_MODULE_VERSION_TEST="" |
5607 SV_MODULE_HEADER=lo/lo.h | 5448 SV_MODULE_HEADER=lo/lo.h |
5608 SV_MODULE_LIB=lo | 5449 SV_MODULE_LIB=lo |