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

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

 



Hi,

On Tue, Aug 09, 2016 at 03:14:25PM +0200, Pavel Grunt wrote:
> Ack,
>

Before pushing, I'll be including:
Reported-by: Fabio Fantoni <fantonifabio@xxxxxxxxxx>

Best,

> 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])
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]