On 11/22/2013 09:22 AM, Daniel P. Berrange wrote:
From: Doug Goldstein <cardoe(a)cardoe.com>
Add LIBVIR_CHECK_VERSION from libvirt upstream so that we can check the
version of the library we are compiling against and support a range of
libvirt versions. The macro was added to libvirt in 1.2.0 so we must
provide it if its not defined.
---
libvirt-utils.h | 10 ++++++++++
1 file changed, 10 insertions(+)
+/**
+ * libvirt.h provides this as of version 1.1.5, but we want to be able
1.2.0, but we can clean up in a followup if necessary.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org