[Libvir] Please check my autoconf libvirt.m4

Richard W.M. Jones rjones at redhat.com
Thu May 24 06:56:55 UTC 2007


Thanks Jim, Dan.  Discussing this has clarified my thinking on this a lot.

Originally I wanted to test whether a particular instance of libvirt had 
support for the remote driver.  Since the drivers don't usually export 
symbols directly from the library, it seemed that what I needed was a 
version check function.  In fact that's wrong: even later versions of 
libvirt could be compiled --without-FEATURE.  The only way to do this 
reliably is to test for presence of drivers at runtime.  virGetVersion 
allows me to do this for drivers.

Having said that, I think AC_LIBVIRT_PYTHON could be a useful check for 
virt-manager.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070524/82f2ba10/attachment-0001.bin>


More information about the libvir-list mailing list