Re: [Libvir] Please check my autoconf libvirt.m4

2007-05-24 Thread Mark McLoughlin
Hi Rich, I'd stick with just using pkg-config to check for the library itself and using a runtime check for supported drivers. As for checking for the python module, I don't really think virt-manager wants to do this at build time since it's not actually a build dep. Personally I t

Re: [Libvir] Please check my autoconf libvirt.m4

2007-05-23 Thread Richard W.M. Jones
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 versi

Re: [Libvir] Please check my autoconf libvirt.m4

2007-05-23 Thread Jim Meyering
"Richard W.M. Jones" <[EMAIL PROTECTED]> wrote: > Attached is an autoconf snippet which allows you to check that the > libvirt library is installed (not necessarily development headers > though) and check the version number. > > If any autoconf experts (hello, Mark) would like to check it makes > s

Re: [Libvir] Please check my autoconf libvirt.m4

2007-05-23 Thread Daniel P. Berrange
On Wed, May 23, 2007 at 07:13:05PM +0100, Richard W.M. Jones wrote: > Daniel P. Berrange wrote: > >On Wed, May 23, 2007 at 06:31:19PM +0100, Richard W.M. Jones wrote: > >>Richard W.M. Jones wrote: > >>>Attached is an autoconf snippet which allows you to check that the > >>>libvirt library is insta

Re: [Libvir] Please check my autoconf libvirt.m4

2007-05-23 Thread Richard W.M. Jones
Daniel P. Berrange wrote: On Wed, May 23, 2007 at 06:31:19PM +0100, Richard W.M. Jones wrote: Richard W.M. Jones wrote: Attached is an autoconf snippet which allows you to check that the libvirt library is installed (not necessarily development headers though) and check the version number. I

Re: [Libvir] Please check my autoconf libvirt.m4

2007-05-23 Thread Daniel P. Berrange
On Wed, May 23, 2007 at 06:31:19PM +0100, Richard W.M. Jones wrote: > Richard W.M. Jones wrote: > >Attached is an autoconf snippet which allows you to check that the > >libvirt library is installed (not necessarily development headers > >though) and check the version number. > > > >If any autocon

Re: [Libvir] Please check my autoconf libvirt.m4

2007-05-23 Thread Richard W.M. Jones
Richard W.M. Jones wrote: Attached is an autoconf snippet which allows you to check that the libvirt library is installed (not necessarily development headers though) and check the version number. If any autoconf experts (hello, Mark) would like to check it makes sense, that'd be great. I s

[Libvir] Please check my autoconf libvirt.m4

2007-05-23 Thread Richard W.M. Jones
Attached is an autoconf snippet which allows you to check that the libvirt library is installed (not necessarily development headers though) and check the version number. If any autoconf experts (hello, Mark) would like to check it makes sense, that'd be great. Rich. -- Emerging Technologie