build-sys: Don't enable libsamplerate by default
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 5 Jan 2015 13:44:15 +0000 (15:44 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Mon, 5 Jan 2015 14:14:19 +0000 (16:14 +0200)
The libsamplerate based resamplers have been deprecated, so it's best
to not build them by default.

configure.ac

index 6843729..2ccf094 100644 (file)
@@ -673,9 +673,9 @@ fi
 #### Libsamplerate support (optional) ####
 
 AC_ARG_ENABLE([samplerate],
-    AS_HELP_STRING([--disable-samplerate],[Disable optional libsamplerate support]))
+    AS_HELP_STRING([--enable-samplerate],[Enable optional libsamplerate support (DEPRECATED)]))
 
-AS_IF([test "x$enable_samplerate" != "xno"],
+AS_IF([test "x$enable_samplerate" = "xyes"],
     [PKG_CHECK_MODULES(LIBSAMPLERATE, [ samplerate >= 0.1.0 ], HAVE_LIBSAMPLERATE=1, HAVE_LIBSAMPLERATE=0)],
     HAVE_LIBSAMPLERATE=0)