mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-06 19:01:30 +00:00
Detect LZ4_compress_fast_continue function
Newer lz4 headers give deprecated warning using LZ4_compress_continue instead of LZ_compress_fast_continue so detect this function to allow usage and avoid the warning. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
48da2c6654
commit
6b409c4a79
@ -198,6 +198,7 @@ AC_DEFUN([SPICE_CHECK_LZ4], [
|
||||
AC_CHECK_FUNC([LZ4_compress_default], [
|
||||
AC_DEFINE(USE_LZ4, [1], [Define to build with lz4 support])],
|
||||
[have_lz4="no"])
|
||||
AC_CHECK_FUNCS([LZ4_compress_fast_continue])
|
||||
|
||||
LIBS="$old_LIBS"
|
||||
CFLAGS="$old_CFLAGS"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user