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@redhat.com>
Reported-by: Fabio Fantoni <fantonifabio@tiscali.it>
This commit is contained in:
Victor Toso 2016-08-09 15:02:40 +02:00
parent 38047fb46f
commit 642308ecec

View File

@ -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])