]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
configure: print spice-protocol and spice-server versions
authorAlon Levy <alevy@redhat.com>
Wed, 22 Aug 2012 08:16:26 +0000 (11:16 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:58:29 +0000 (01:58 -0500)
Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 2e0e3c399aa8067148055b9ea0edb822c5b584d2)

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

index 18142b23c31c13bb5673fec1977a0ff921f5711f..8f501b0292f611ee4803ca4fe37e388bc0b6bb57 100755 (executable)
--- a/configure
+++ b/configure
@@ -2660,6 +2660,8 @@ EOF
     spice="yes"
     libs_softmmu="$libs_softmmu $spice_libs"
     QEMU_CFLAGS="$QEMU_CFLAGS $spice_cflags"
+    spice_protocol_version=$($pkg_config --modversion spice-protocol)
+    spice_server_version=$($pkg_config --modversion spice-server)
     if $pkg_config --atleast-version=0.12.0 spice-protocol >/dev/null 2>&1; then
         spice_qxl_io_monitors_config_async="yes"
     fi
@@ -3118,7 +3120,7 @@ echo "libcap-ng support $cap_ng"
 echo "vhost-net support $vhost_net"
 echo "Trace backend     $trace_backend"
 echo "Trace output file $trace_file-<pid>"
-echo "spice support     $spice"
+echo "spice support     $spice ($spice_protocol_version/$spice_server_version)"
 echo "rbd support       $rbd"
 echo "xfsctl support    $xfs"
 echo "nss used          $smartcard_nss"