[Spice-devel] [RFC 14/33] configure.ac: add check for spice-server (allowed to fail)

Alon Levy alevy at redhat.com
Wed Apr 27 08:56:03 PDT 2011


---
 configure.ac |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index ce67b41..99bc517 100644
--- a/configure.ac
+++ b/configure.ac
@@ -76,6 +76,14 @@ AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes)
 
 # Checks for libraries.
 
+PKG_CHECK_MODULES([SPICE], [spice-server >= 0.6.3],
+[
+    AC_SUBST(SPICE_CFLAGS)
+    AC_SUBST(SPICE_LIBS)
+],
+[
+]
+)
 PKG_CHECK_MODULES([SPICE_PROTOCOL], [spice-protocol >= 0.7.0])
 
 DRIVER_NAME=qxl
-- 
1.7.4.4



More information about the Spice-devel mailing list