summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-08-04 15:29:20 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-08-04 15:32:43 +0200
commit25e77134c2234d25ddcf4baf2348e6b0f71d0ace (patch)
treec05d6ff0444930a5a938e1e018138a5164fe261c /configure
parent08213765193f4b3a2b5d15beb6354abb18505dcd (diff)
configure: require spice 0.5.3
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 56e7084f1..0998e86b6 100755
--- a/configure
+++ b/configure
@@ -2061,11 +2061,10 @@ if test "$spice" != "no" ; then
#include <spice.h>
int main(void) { spice_server_new(); return 0; }
EOF
- spice_proto_ver=$($pkgconfig --modversion spice-protocol 2>/dev/null)
- spice_server_ver=$($pkgconfig --modversion spice-server 2>/dev/null)
spice_cflags=$($pkgconfig --cflags spice-protocol spice-server 2>/dev/null)
spice_libs=$($pkgconfig --libs spice-protocol spice-server 2>/dev/null)
- if compile_prog "$spice_cflags" "$spice_libs" ; then
+ if $pkgconfig --atleast-version=0.5.3 spice-server &&\
+ compile_prog "$spice_cflags" "$spice_libs" ; then
spice="yes"
libs_softmmu="$libs_softmmu $spice_libs"
QEMU_CFLAGS="$QEMU_CFLAGS $spice_cflags"