[pulseaudio-discuss] [PATCH] build-sys: Don't enable libsamplerate by default

Alexander E. Patrakov patrakov at gmail.com
Mon Jan 5 06:12:00 PST 2015


05.01.2015 18:44, Tanu Kaskinen wrote:
> ---
>   configure.ac | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 6843729..564488d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -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"],

"==" is a bashism. Use "=". Otherwise, the patch is good.

>       [PKG_CHECK_MODULES(LIBSAMPLERATE, [ samplerate >= 0.1.0 ], HAVE_LIBSAMPLERATE=1, HAVE_LIBSAMPLERATE=0)],
>       HAVE_LIBSAMPLERATE=0)
>   

-- 
Alexander E. Patrakov


More information about the pulseaudio-discuss mailing list