configure: print spice-protocol and spice-server versions

Signed-off-by: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Alon Levy 2012-08-22 11:16:26 +03:00 committed by Gerd Hoffmann
parent 020af1c45f
commit 2e0e3c399a
1 changed files with 3 additions and 1 deletions

4
configure vendored
View File

@ -2701,6 +2701,8 @@ EOF
spice="yes" spice="yes"
libs_softmmu="$libs_softmmu $spice_libs" libs_softmmu="$libs_softmmu $spice_libs"
QEMU_CFLAGS="$QEMU_CFLAGS $spice_cflags" 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 if $pkg_config --atleast-version=0.12.0 spice-protocol >/dev/null 2>&1; then
spice_qxl_io_monitors_config_async="yes" spice_qxl_io_monitors_config_async="yes"
fi fi
@ -3159,7 +3161,7 @@ echo "libcap-ng support $cap_ng"
echo "vhost-net support $vhost_net" echo "vhost-net support $vhost_net"
echo "Trace backend $trace_backend" echo "Trace backend $trace_backend"
echo "Trace output file $trace_file-<pid>" 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 "rbd support $rbd"
echo "xfsctl support $xfs" echo "xfsctl support $xfs"
echo "nss used $smartcard_nss" echo "nss used $smartcard_nss"