]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: hoist qemu dependence on yajl to configure
authorEric Blake <eblake@redhat.com>
Wed, 13 Jun 2012 16:09:39 +0000 (10:09 -0600)
committerEric Blake <eblake@redhat.com>
Sat, 16 Jun 2012 01:49:00 +0000 (19:49 -0600)
commit350583c859deaaddc98d7319e1c2ad649e4d3e83
treed3ce64e6ef40e14f02c22025cf772e1ef5d954b9
parent2cd29c3107ff1f135e05fa55f3b389f37a6cb867
build: hoist qemu dependence on yajl to configure

Commit 6e769eba made it a runtime error if libvirt was compiled
without yajl support but targets a new enough qemu.  But enough
users are hitting this on self-compiled libvirt that it is worth
erroring out at compilation time, rather than an obscure failure
when trying to use the built executable.

* configure.ac: If qemu is requested and -version works, require
yajl when qemu version is new enough.
* src/qemu/qemu_capabilities.c (qemuCapsComputeCmdFlags): Add
comment.
configure.ac
src/qemu/qemu_capabilities.c