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