comparison configure @ 2208:f1437611e916 rubberband-static

Finish undoing bundling
author Chris Cannam
date Thu, 31 Jan 2019 11:06:11 +0000
parents 57a54d84120c
children 4d2a94af1cf6
comparison
equal deleted inserted replaced
2207:8fd5183efbd6 2208:f1437611e916
656 capnp_CFLAGS 656 capnp_CFLAGS
657 serd_LIBS 657 serd_LIBS
658 serd_CFLAGS 658 serd_CFLAGS
659 sord_LIBS 659 sord_LIBS
660 sord_CFLAGS 660 sord_CFLAGS
661 rubberband_LIBS
662 rubberband_CFLAGS
661 libsamplerate_LIBS 663 libsamplerate_LIBS
662 libsamplerate_CFLAGS 664 libsamplerate_CFLAGS
663 sndfile_LIBS 665 sndfile_LIBS
664 sndfile_CFLAGS 666 sndfile_CFLAGS
665 fftw3f_LIBS 667 fftw3f_LIBS
756 fftw3f_LIBS 758 fftw3f_LIBS
757 sndfile_CFLAGS 759 sndfile_CFLAGS
758 sndfile_LIBS 760 sndfile_LIBS
759 libsamplerate_CFLAGS 761 libsamplerate_CFLAGS
760 libsamplerate_LIBS 762 libsamplerate_LIBS
763 rubberband_CFLAGS
764 rubberband_LIBS
761 sord_CFLAGS 765 sord_CFLAGS
762 sord_LIBS 766 sord_LIBS
763 serd_CFLAGS 767 serd_CFLAGS
764 serd_LIBS 768 serd_LIBS
765 capnp_CFLAGS 769 capnp_CFLAGS
1425 linker flags for sndfile, overriding pkg-config 1429 linker flags for sndfile, overriding pkg-config
1426 libsamplerate_CFLAGS 1430 libsamplerate_CFLAGS
1427 C compiler flags for libsamplerate, overriding pkg-config 1431 C compiler flags for libsamplerate, overriding pkg-config
1428 libsamplerate_LIBS 1432 libsamplerate_LIBS
1429 linker flags for libsamplerate, overriding pkg-config 1433 linker flags for libsamplerate, overriding pkg-config
1434 rubberband_CFLAGS
1435 C compiler flags for rubberband, overriding pkg-config
1436 rubberband_LIBS
1437 linker flags for rubberband, overriding pkg-config
1430 sord_CFLAGS C compiler flags for sord, overriding pkg-config 1438 sord_CFLAGS C compiler flags for sord, overriding pkg-config
1431 sord_LIBS linker flags for sord, overriding pkg-config 1439 sord_LIBS linker flags for sord, overriding pkg-config
1432 serd_CFLAGS C compiler flags for serd, overriding pkg-config 1440 serd_CFLAGS C compiler flags for serd, overriding pkg-config
1433 serd_LIBS linker flags for serd, overriding pkg-config 1441 serd_LIBS linker flags for serd, overriding pkg-config
1434 capnp_CFLAGS 1442 capnp_CFLAGS
5273 5281
5274 fi 5282 fi
5275 fi 5283 fi
5276 5284
5277 5285
5286 SV_MODULE_MODULE=rubberband
5287 SV_MODULE_VERSION_TEST="rubberband"
5288 SV_MODULE_HEADER=rubberband/RubberBandStretcher.h
5289 SV_MODULE_LIB=rubberband
5290 SV_MODULE_FUNC=rubberband_new
5291 SV_MODULE_HAVE=HAVE_$(echo rubberband | tr 'a-z' 'A-Z')
5292 SV_MODULE_FAILED=1
5293 if test -n "$rubberband_LIBS" ; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&5
5295 $as_echo "$as_me: User set ${SV_MODULE_MODULE}_LIBS explicitly, skipping test for $SV_MODULE_MODULE" >&6;}
5296 CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS"
5297 LIBS="$LIBS $rubberband_LIBS"
5298 SV_MODULE_FAILED=""
5299 fi
5300 if test -z "$SV_MODULE_VERSION_TEST" ; then
5301 SV_MODULE_VERSION_TEST=$SV_MODULE_MODULE
5302 fi
5303 if test -n "$SV_MODULE_FAILED" && test -n "$PKG_CONFIG"; then
5304
5305 pkg_failed=no
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rubberband" >&5
5307 $as_echo_n "checking for rubberband... " >&6; }
5308
5309 if test -n "$rubberband_CFLAGS"; then
5310 pkg_cv_rubberband_CFLAGS="$rubberband_CFLAGS"
5311 elif test -n "$PKG_CONFIG"; then
5312 if test -n "$PKG_CONFIG" && \
5313 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5314 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5315 ac_status=$?
5316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5317 test $ac_status = 0; }; then
5318 pkg_cv_rubberband_CFLAGS=`$PKG_CONFIG --cflags "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5319 test "x$?" != "x0" && pkg_failed=yes
5320 else
5321 pkg_failed=yes
5322 fi
5323 else
5324 pkg_failed=untried
5325 fi
5326 if test -n "$rubberband_LIBS"; then
5327 pkg_cv_rubberband_LIBS="$rubberband_LIBS"
5328 elif test -n "$PKG_CONFIG"; then
5329 if test -n "$PKG_CONFIG" && \
5330 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$SV_MODULE_VERSION_TEST\""; } >&5
5331 ($PKG_CONFIG --exists --print-errors "$SV_MODULE_VERSION_TEST") 2>&5
5332 ac_status=$?
5333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5334 test $ac_status = 0; }; then
5335 pkg_cv_rubberband_LIBS=`$PKG_CONFIG --libs "$SV_MODULE_VERSION_TEST" 2>/dev/null`
5336 test "x$?" != "x0" && pkg_failed=yes
5337 else
5338 pkg_failed=yes
5339 fi
5340 else
5341 pkg_failed=untried
5342 fi
5343
5344
5345
5346 if test $pkg_failed = yes; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5349
5350 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
5351 _pkg_short_errors_supported=yes
5352 else
5353 _pkg_short_errors_supported=no
5354 fi
5355 if test $_pkg_short_errors_supported = yes; then
5356 rubberband_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5357 else
5358 rubberband_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$SV_MODULE_VERSION_TEST" 2>&1`
5359 fi
5360 # Put the nasty error message in config.log where it belongs
5361 echo "$rubberband_PKG_ERRORS" >&5
5362
5363 { $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
5364 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5365 elif test $pkg_failed = untried; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5368 { $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
5369 $as_echo "$as_me: Failed to find required module $SV_MODULE_MODULE using pkg-config, trying again by old-fashioned means" >&6;}
5370 else
5371 rubberband_CFLAGS=$pkg_cv_rubberband_CFLAGS
5372 rubberband_LIBS=$pkg_cv_rubberband_LIBS
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5374 $as_echo "yes" >&6; }
5375 HAVES="$HAVES $SV_MODULE_HAVE";CXXFLAGS="$CXXFLAGS $rubberband_CFLAGS";LIBS="$LIBS $rubberband_LIBS";SV_MODULE_FAILED=""
5376 fi
5377 fi
5378 if test -n "$SV_MODULE_FAILED"; then
5379 as_ac_Header=`$as_echo "ac_cv_header_$SV_MODULE_HEADER" | $as_tr_sh`
5380 ac_fn_cxx_check_header_mongrel "$LINENO" "$SV_MODULE_HEADER" "$as_ac_Header" "$ac_includes_default"
5381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5382 HAVES="$HAVES $SV_MODULE_HAVE"
5383 else
5384 as_fn_error $? "Failed to find header $SV_MODULE_HEADER for required module $SV_MODULE_MODULE" "$LINENO" 5
5385 fi
5386
5387
5388 if test -n "$SV_MODULE_LIB"; then
5389 as_ac_Lib=`$as_echo "ac_cv_lib_$SV_MODULE_LIB''_$SV_MODULE_FUNC" | $as_tr_sh`
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB" >&5
5391 $as_echo_n "checking for $SV_MODULE_FUNC in -l$SV_MODULE_LIB... " >&6; }
5392 if eval \${$as_ac_Lib+:} false; then :
5393 $as_echo_n "(cached) " >&6
5394 else
5395 ac_check_lib_save_LIBS=$LIBS
5396 LIBS="-l$SV_MODULE_LIB $LIBS"
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5399
5400 /* Override any GCC internal prototype to avoid an error.
5401 Use char because int might match the return type of a GCC
5402 builtin and then its argument prototype would still apply. */
5403 #ifdef __cplusplus
5404 extern "C"
5405 #endif
5406 char $SV_MODULE_FUNC ();
5407 int
5408 main ()
5409 {
5410 return $SV_MODULE_FUNC ();
5411 ;
5412 return 0;
5413 }
5414 _ACEOF
5415 if ac_fn_cxx_try_link "$LINENO"; then :
5416 eval "$as_ac_Lib=yes"
5417 else
5418 eval "$as_ac_Lib=no"
5419 fi
5420 rm -f core conftest.err conftest.$ac_objext \
5421 conftest$ac_exeext conftest.$ac_ext
5422 LIBS=$ac_check_lib_save_LIBS
5423 fi
5424 eval ac_res=\$$as_ac_Lib
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5426 $as_echo "$ac_res" >&6; }
5427 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5428 LIBS="$LIBS -l$SV_MODULE_LIB"
5429 else
5430 as_fn_error $? "Failed to find library $SV_MODULE_LIB for required module $SV_MODULE_MODULE" "$LINENO" 5
5431 fi
5432
5433 fi
5434 fi
5435
5436
5278 SV_MODULE_MODULE=sord 5437 SV_MODULE_MODULE=sord
5279 SV_MODULE_VERSION_TEST="sord-0 >= 0.5" 5438 SV_MODULE_VERSION_TEST="sord-0 >= 0.5"
5280 SV_MODULE_HEADER=sord/sord.h 5439 SV_MODULE_HEADER=sord/sord.h
5281 SV_MODULE_LIB=sord-0 5440 SV_MODULE_LIB=sord-0
5282 SV_MODULE_FUNC=sord_world_new 5441 SV_MODULE_FUNC=sord_world_new