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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux