[Spice-commits] m4/spice-deps.m4

Victor Toso de Carvalho victortoso at kemper.freedesktop.org
Tue Aug 9 14:40:33 UTC 2016


 m4/spice-deps.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 642308ececaf8ded152aa834366eb7561306fe4c
Author: Victor Toso <victortoso at redhat.com>
Date:   Tue Aug 9 15:02:40 2016 +0200

    build-sys: requires liblz4 129 or newer
    
    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
    
    Acked-by: Pavel Grunt <pgrunt at redhat.com>
    Reported-by: Fabio Fantoni <fantonifabio at tiscali.it>

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-commits mailing list