]> 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)
committerCole Robinson <crobinso@redhat.com>
Sun, 12 Aug 2012 22:34:57 +0000 (18:34 -0400)
commit4cb2da8cd4f5bebcb36c1043b24d03b47796f6ad
tree2a753fca8f634822e9c97f80f20d78c223b1d894
parent9373f0b71b1b306c0e45383786e4e2f8403a34fd
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.
(cherry picked from commit 350583c859deaaddc98d7319e1c2ad649e4d3e83)
configure.ac
src/qemu/qemu_capabilities.c