[Spice-devel] [spice-common v1] build-sys: requires liblz4 129 or newer

Pavel Grunt pgrunt at redhat.com
Tue Aug 9 13:14:25 UTC 2016


Ack,

On Tue, 2016-08-09 at 15:09 +0200, Victor Toso wrote:
> LZ4 data compression on spicevmc channel uses LZ4_compress_default()
> API introduced in 129 release (see commit bellow)
> 
> [0] https://github.com/Cyan4973/lz4/commit/1b17bf2ab8cf66dd2b740e
> ---
>  m4/spice-deps.m4 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4
> index 6cb8bde..adedec4 100644
> --- a/m4/spice-deps.m4
> +++ b/m4/spice-deps.m4
> @@ -185,7 +185,7 @@ AC_DEFUN([SPICE_CHECK_LZ4], [
>  
>      have_lz4="no"
>      if test "x$enable_lz4" != "xno"; then
> -      PKG_CHECK_MODULES([LZ4], [liblz4], [have_lz4="yes"], [have_lz4="no"])
> +      PKG_CHECK_MODULES([LZ4], [liblz4 >= 129], [have_lz4="yes"],
> [have_lz4="no"])
>  
>        if test "x$have_lz4" = "xyes"; then
>          AC_DEFINE(USE_LZ4, [1], [Define to build with lz4 support])


More information about the Spice-devel mailing list