[Spice-devel] [spice-gtk 2/2] build-sys: Use SPICE_CHECK_LZ4
Christophe Fergeau
cfergeau at redhat.com
Mon Jun 22 10:49:49 PDT 2015
spice-common now has an m4 macro adding a --enable-lz4 option and
doing the needed checks, so we can use it in configure.ac rather than
duplicating it here.
---
configure.ac | 13 +------------
spice-common | 2 +-
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5732c95..d1234c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -677,18 +677,7 @@ if test "x$enable_dbus" != "xno"; then
fi
fi
-AC_ARG_ENABLE([lz4],
- AS_HELP_STRING([--enable-lz4=@<:@yes/no@:>@],
- [Enable lz4 compression algorithm @<:@default=no@:>@]),
- [],
- [enable_lz4="no"])
-
-if test "x$enable_lz4" = "xyes"; then
- PKG_CHECK_MODULES(LZ4, liblz4)
- AC_DEFINE([USE_LZ4], [1], [Define to build with Lz4 support])
-fi
-AC_SUBST(LZ4_CFLAGS)
-AC_SUBST(LZ4_LIBS)
+SPICE_CHECK_LZ4([LZ4])
dnl ===========================================================================
dnl check compiler flags
diff --git a/spice-common b/spice-common
index fec8031..1b5edbe 160000
--- a/spice-common
+++ b/spice-common
@@ -1 +1 @@
-Subproject commit fec803156b1844a2deb705cf55933294ca60a5ea
+Subproject commit 1b5edbe49e5c36c4f35453de448b54f770e1c1be
--
2.4.3
More information about the Spice-devel
mailing list