]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
configure: Require at least spice-protocol-0.12.3
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 1 Mar 2013 07:43:18 +0000 (08:43 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 2 Apr 2013 16:48:51 +0000 (11:48 -0500)
As of 5a49d3e9 we assume SPICE_PORT_EVENT_BREAK to be defined.
However, it is defined not in 0.12.2 what we require now, but in
0.12.3.  Therefore in order to prevent build failure we must
adjust our minimal requirements.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 358689fe299c306f1d81bea57a5067d0abb56699)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
configure

index 5fb388a4fd25f29deeb1c1e065c9a1b4cf306860..e7468a98b7524a8cec05a2387ace9948f914dc2a 100755 (executable)
--- a/configure
+++ b/configure
@@ -2833,7 +2833,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.12.0 spice-server >/dev/null 2>&1 && \
-     $pkg_config --atleast-version=0.12.2 spice-protocol > /dev/null 2>&1 && \
+     $pkg_config --atleast-version=0.12.3 spice-protocol > /dev/null 2>&1 && \
      compile_prog "$spice_cflags" "$spice_libs" ; then
     spice="yes"
     libs_softmmu="$libs_softmmu $spice_libs"