]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
spice: require spice-protocol >= 0.8.1
authorAlon Levy <alevy@redhat.com>
Wed, 7 Mar 2012 14:19:03 +0000 (16:19 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 3 May 2012 08:45:04 +0000 (10:45 +0200)
Requiring spice-server >= 0.8.2 is not enough since spice-server.pc
doesn't require spice-protocol (any version). Until that is fixed
upstream an explicit requirement in qemu fixes compilation broken since

commit 2e1a98c9c1b90ca093278c6b43244dc46604d7b7
Author: Alon Levy <alevy@redhat.com>
Date:   Fri Feb 24 23:19:30 2012 +0200

    qxl: introduce QXLCookie

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
configure

index 0111774cb05a93f8aeead3f33a8ee0b82f4d512e..62aa7609e1d5726503381a4d08e6dd19248fba15 100755 (executable)
--- a/configure
+++ b/configure
@@ -2592,6 +2592,7 @@ EOF
   spice_cflags=$($pkg_config --cflags spice-protocol spice-server 2>/dev/null)
   spice_libs=$($pkg_config --libs spice-protocol spice-server 2>/dev/null)
   if $pkg_config --atleast-version=0.8.2 spice-server >/dev/null 2>&1 && \
+     $pkg_config --atleast-version=0.8.1 spice-protocol > /dev/null 2>&1 && \
      compile_prog "$spice_cflags" "$spice_libs" ; then
     spice="yes"
     libs_softmmu="$libs_softmmu $spice_libs"