comparison configure @ 1150:5e6e1e074080 3.0-plus-imaf

Merge branches 3.0-integration and imaf_enc to 3.0-plus-imaf
author Chris Cannam
date Wed, 20 Apr 2016 12:06:28 +0100
parents ccc667cdb8ad 60d3575f8016
children
comparison
equal deleted inserted replaced
1149:3ba5bee2ace0 1150:5e6e1e074080
656 serd_CFLAGS 656 serd_CFLAGS
657 sord_LIBS 657 sord_LIBS
658 sord_CFLAGS 658 sord_CFLAGS
659 rubberband_LIBS 659 rubberband_LIBS
660 rubberband_CFLAGS 660 rubberband_CFLAGS
661 vamphostsdk_LIBS
662 vamphostsdk_CFLAGS
663 vamp_LIBS
664 vamp_CFLAGS
665 libsamplerate_LIBS 661 libsamplerate_LIBS
666 libsamplerate_CFLAGS 662 libsamplerate_CFLAGS
667 sndfile_LIBS 663 sndfile_LIBS
668 sndfile_CFLAGS 664 sndfile_CFLAGS
669 fftw3f_LIBS 665 fftw3f_LIBS
760 fftw3f_LIBS 756 fftw3f_LIBS
761 sndfile_CFLAGS 757 sndfile_CFLAGS
762 sndfile_LIBS 758 sndfile_LIBS
763 libsamplerate_CFLAGS 759 libsamplerate_CFLAGS
764 libsamplerate_LIBS 760 libsamplerate_LIBS
765 vamp_CFLAGS
766 vamp_LIBS
767 vamphostsdk_CFLAGS
768 vamphostsdk_LIBS
769 rubberband_CFLAGS 761 rubberband_CFLAGS
770 rubberband_LIBS 762 rubberband_LIBS
771 sord_CFLAGS 763 sord_CFLAGS
772 sord_LIBS 764 sord_LIBS
773 serd_CFLAGS 765 serd_CFLAGS
1431 linker flags for sndfile, overriding pkg-config 1423 linker flags for sndfile, overriding pkg-config
1432 libsamplerate_CFLAGS 1424 libsamplerate_CFLAGS
1433 C compiler flags for libsamplerate, overriding pkg-config 1425 C compiler flags for libsamplerate, overriding pkg-config
1434 libsamplerate_LIBS 1426 libsamplerate_LIBS
1435 linker flags for libsamplerate, overriding pkg-config 1427 linker flags for libsamplerate, overriding pkg-config
1436 vamp_CFLAGS C compiler flags for vamp, overriding pkg-config
1437 vamp_LIBS linker flags for vamp, overriding pkg-config
1438 vamphostsdk_CFLAGS
1439 C compiler flags for vamphostsdk, overriding pkg-config
1440 vamphostsdk_LIBS
1441 linker flags for vamphostsdk, overriding pkg-config
1442 rubberband_CFLAGS 1428 rubberband_CFLAGS
1443 C compiler flags for rubberband, overriding pkg-config 1429 C compiler flags for rubberband, overriding pkg-config
1444 rubberband_LIBS 1430 rubberband_LIBS
1445 linker flags for rubberband, overriding pkg-config 1431 linker flags for rubberband, overriding pkg-config
1446 sord_CFLAGS C compiler flags for sord, overriding pkg-config 1432 sord_CFLAGS C compiler flags for sord, overriding pkg-config
5236 5222
5237 fi 5223 fi
5238 fi 5224 fi
5239 5225
5240 5226
5241 SV_MODULE_MODULE=vamp
5242 SV_MODULE_VERSION_TEST="vamp >= 2.1"
5243 SV_MODULE_HEADER=vamp/vamp.h
5244 SV_MODULE_LIB=
5245 SV_MODULE_FUNC=
5246 SV_MODULE_HAVE=HAVE_$(echo vamp | tr 'a-z' 'A-Z')
5247 SV_MODULE_FAILED=1
5248 if test -n "$vamp_LIBS" ; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5250 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5251 CXXFLAGS="$CXXFLAGS $vamp_CFLAGS"
5252 LIBS="$LIBS $vamp_LIBS"
5253 SV_MODULE_FAILED=""
5254 fi
5255 if test -z "$SV_MODULE_VERSION_TEST" ; then
5256 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5257 fi
5258 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5259
5260 pkg_failed=no
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamp" >&5
5262 $as_echo_n "checking for vamp... " >&6; }
5263
5264 if test -n "$vamp_CFLAGS"; then
5265 pkg_cv_vamp_CFLAGS="$vamp_CFLAGS"
5266 elif test -n "$PKG_CONFIG"; then
5267 if test -n "$PKG_CONFIG" && \
5268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5269 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5270 ac_status=$?
5271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5272 test $ac_status = 0; }; then
5273 pkg_cv_vamp_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5274 test "x$?" != "x0" && pkg_failed=yes
5275 else
5276 pkg_failed=yes
5277 fi
5278 else
5279 pkg_failed=untried
5280 fi
5281 if test -n "$vamp_LIBS"; then
5282 pkg_cv_vamp_LIBS="$vamp_LIBS"
5283 elif test -n "$PKG_CONFIG"; then
5284 if test -n "$PKG_CONFIG" && \
5285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5286 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5287 ac_status=$?
5288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289 test $ac_status = 0; }; then
5290 pkg_cv_vamp_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5291 test "x$?" != "x0" && pkg_failed=yes
5292 else
5293 pkg_failed=yes
5294 fi
5295 else
5296 pkg_failed=untried
5297 fi
5298
5299
5300
5301 if test $pkg_failed = yes; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5304
5305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5306 _pkg_short_errors_supported=yes
5307 else
5308 _pkg_short_errors_supported=no
5309 fi
5310 if test $_pkg_short_errors_supported = yes; then
5311 vamp_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5312 else
5313 vamp_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5314 fi
5315 # Put the nasty error message in config.log where it belongs
5316 echo "$vamp_PKG_ERRORS" >&5
5317
5318 { $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
5319 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5320 elif test $pkg_failed = untried; then
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5323 { $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
5324 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5325 else
5326 vamp_CFLAGS=$pkg_cv_vamp_CFLAGS
5327 vamp_LIBS=$pkg_cv_vamp_LIBS
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5329 $as_echo "yes" >&6; }
5330 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamp_CFLAGS";LIBS="$LIBS $vamp_LIBS";SV_MODULE_FAILED=""
5331 fi
5332 fi
5333 if test -n "$SV_MODULE_FAILED"; then
5334 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5335 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5337 HAVES="$HAVES $SV_MODULE_HAVE"
5338 else
5339 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5340 fi
5341
5342
5343 if test -n "$SV_MODULE_LIB"; then
5344 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5346 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5347 if eval \${$as_ac_Lib+:} false; then :
5348 $as_echo_n "(cached) " >&6
5349 else
5350 ac_check_lib_save_LIBS=$LIBS
5351 LIBS="-l$SV_MODULE_LIB $LIBS"
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5354
5355 /* Override any GCC internal prototype to avoid an error.
5356 Use char because int might match the return type of a GCC
5357 builtin and then its argument prototype would still apply. */
5358 #ifdef __cplusplus
5359 extern "C"
5360 #endif
5361 char $SV_MODULE_FUNC ();
5362 int
5363 main ()
5364 {
5365 return $SV_MODULE_FUNC ();
5366 ;
5367 return 0;
5368 }
5369 _ACEOF
5370 if ac_fn_cxx_try_link "$LINENO"; then :
5371 eval "$as_ac_Lib=yes"
5372 else
5373 eval "$as_ac_Lib=no"
5374 fi
5375 rm -f core conftest.err conftest.$ac_objext \
5376 conftest$ac_exeext conftest.$ac_ext
5377 LIBS=$ac_check_lib_save_LIBS
5378 fi
5379 eval ac_res=\$$as_ac_Lib
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5381 $as_echo "$ac_res" >&6; }
5382 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5383 LIBS="$LIBS -l$SV_MODULE_LIB"
5384 else
5385 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5386 fi
5387
5388 fi
5389 fi
5390
5391
5392 SV_MODULE_MODULE=vamphostsdk
5393 SV_MODULE_VERSION_TEST="vamp-hostsdk >= 2.5"
5394 SV_MODULE_HEADER=vamp-hostsdk/PluginLoader.h
5395 SV_MODULE_LIB=vamp-hostsdk
5396 SV_MODULE_FUNC=libvamphostsdk_v_2_5_present
5397 SV_MODULE_HAVE=HAVE_$(echo vamphostsdk | tr 'a-z' 'A-Z')
5398 SV_MODULE_FAILED=1
5399 if test -n "$vamphostsdk_LIBS" ; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5401 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5402 CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS"
5403 LIBS="$LIBS $vamphostsdk_LIBS"
5404 SV_MODULE_FAILED=""
5405 fi
5406 if test -z "$SV_MODULE_VERSION_TEST" ; then
5407 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5408 fi
5409 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5410
5411 pkg_failed=no
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vamphostsdk" >&5
5413 $as_echo_n "checking for vamphostsdk... " >&6; }
5414
5415 if test -n "$vamphostsdk_CFLAGS"; then
5416 pkg_cv_vamphostsdk_CFLAGS="$vamphostsdk_CFLAGS"
5417 elif test -n "$PKG_CONFIG"; then
5418 if test -n "$PKG_CONFIG" && \
5419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5420 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5421 ac_status=$?
5422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5423 test $ac_status = 0; }; then
5424 pkg_cv_vamphostsdk_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5425 test "x$?" != "x0" && pkg_failed=yes
5426 else
5427 pkg_failed=yes
5428 fi
5429 else
5430 pkg_failed=untried
5431 fi
5432 if test -n "$vamphostsdk_LIBS"; then
5433 pkg_cv_vamphostsdk_LIBS="$vamphostsdk_LIBS"
5434 elif test -n "$PKG_CONFIG"; then
5435 if test -n "$PKG_CONFIG" && \
5436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5437 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5438 ac_status=$?
5439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5440 test $ac_status = 0; }; then
5441 pkg_cv_vamphostsdk_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5442 test "x$?" != "x0" && pkg_failed=yes
5443 else
5444 pkg_failed=yes
5445 fi
5446 else
5447 pkg_failed=untried
5448 fi
5449
5450
5451
5452 if test $pkg_failed = yes; then
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5455
5456 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5457 _pkg_short_errors_supported=yes
5458 else
5459 _pkg_short_errors_supported=no
5460 fi
5461 if test $_pkg_short_errors_supported = yes; then
5462 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5463 else
5464 vamphostsdk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5465 fi
5466 # Put the nasty error message in config.log where it belongs
5467 echo "$vamphostsdk_PKG_ERRORS" >&5
5468
5469 { $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
5470 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5471 elif test $pkg_failed = untried; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }
5474 { $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
5475 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5476 else
5477 vamphostsdk_CFLAGS=$pkg_cv_vamphostsdk_CFLAGS
5478 vamphostsdk_LIBS=$pkg_cv_vamphostsdk_LIBS
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5480 $as_echo "yes" >&6; }
5481 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $vamphostsdk_CFLAGS";LIBS="$LIBS $vamphostsdk_LIBS";SV_MODULE_FAILED=""
5482 fi
5483 fi
5484 if test -n "$SV_MODULE_FAILED"; then
5485 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5486 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5487 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5488 HAVES="$HAVES $SV_MODULE_HAVE"
5489 else
5490 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5491 fi
5492
5493
5494 if test -n "$SV_MODULE_LIB"; then
5495 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5497 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5498 if eval \${$as_ac_Lib+:} false; then :
5499 $as_echo_n "(cached) " >&6
5500 else
5501 ac_check_lib_save_LIBS=$LIBS
5502 LIBS="-l$SV_MODULE_LIB $LIBS"
5503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5504 /* end confdefs.h. */
5505
5506 /* Override any GCC internal prototype to avoid an error.
5507 Use char because int might match the return type of a GCC
5508 builtin and then its argument prototype would still apply. */
5509 #ifdef __cplusplus
5510 extern "C"
5511 #endif
5512 char $SV_MODULE_FUNC ();
5513 int
5514 main ()
5515 {
5516 return $SV_MODULE_FUNC ();
5517 ;
5518 return 0;
5519 }
5520 _ACEOF
5521 if ac_fn_cxx_try_link "$LINENO"; then :
5522 eval "$as_ac_Lib=yes"
5523 else
5524 eval "$as_ac_Lib=no"
5525 fi
5526 rm -f core conftest.err conftest.$ac_objext \
5527 conftest$ac_exeext conftest.$ac_ext
5528 LIBS=$ac_check_lib_save_LIBS
5529 fi
5530 eval ac_res=\$$as_ac_Lib
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5532 $as_echo "$ac_res" >&6; }
5533 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5534 LIBS="$LIBS -l$SV_MODULE_LIB"
5535 else
5536 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5537 fi
5538
5539 fi
5540 fi
5541
5542
5543 SV_MODULE_MODULE=rubberband 5227 SV_MODULE_MODULE=rubberband
5544 SV_MODULE_VERSION_TEST="rubberband" 5228 SV_MODULE_VERSION_TEST="rubberband"
5545 SV_MODULE_HEADER=rubberband/RubberBandStretcher.h 5229 SV_MODULE_HEADER=rubberband/RubberBandStretcher.h
5546 SV_MODULE_LIB=rubberband 5230 SV_MODULE_LIB=rubberband
5547 SV_MODULE_FUNC=rubberband_new 5231 SV_MODULE_FUNC=rubberband_new