From e504913b0f118ddaa8e14ae9f8325c3dd5a339a6 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 28 Nov 2013 20:48:02 +0100 Subject: pcm: drop compatibility with libsamplerate older than 0.1.3 Remove compatibility code. --- configure.ac | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f7624a0f4..4ba2b2d3b 100644 --- a/configure.ac +++ b/configure.ac @@ -748,20 +748,12 @@ dnl Converter Plugins dnl --------------------------------------------------------------------------- dnl ------------------------------ libsamplerate ------------------------------ -MPD_AUTO_PKG(lsr, SAMPLERATE, [samplerate >= 0.0.15], +MPD_AUTO_PKG(lsr, SAMPLERATE, [samplerate >= 0.1.3], [libsamplerate resampling], [libsamplerate not found]) if test x$enable_lsr = xyes; then AC_DEFINE([HAVE_LIBSAMPLERATE], 1, [Define to enable libsamplerate]) fi - -if test x$enable_lsr = xyes; then - PKG_CHECK_MODULES([SAMPLERATE_013], - [samplerate >= 0.1.3],, - [AC_DEFINE([HAVE_LIBSAMPLERATE_NOINT], 1, - [libsamplerate doesn't provide src_int_to_float_array() (<0.1.3)])]) -fi - AM_CONDITIONAL(HAVE_LIBSAMPLERATE, test x$enable_lsr = xyes) dnl --------------------------------------------------------------------------- -- cgit v1.2.3