mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 14:18:36 +00:00
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:
parent
38047fb46f
commit
642308ecec
@ -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])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user