[spice-gtk 2/2] build-sys: Use SPICE_CHECK_LZ4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]