diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2010-08-04 15:29:20 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2010-08-04 15:32:43 +0200 |
commit | 25e77134c2234d25ddcf4baf2348e6b0f71d0ace (patch) | |
tree | c05d6ff0444930a5a938e1e018138a5164fe261c /configure | |
parent | 08213765193f4b3a2b5d15beb6354abb18505dcd (diff) |
configure: require spice 0.5.3
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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" |