[libvirt] usage of PKG_CHECK_ in libvirt

Daniel P. Berrange berrange at redhat.com
Fri Oct 15 11:14:05 UTC 2010


On Thu, Oct 14, 2010 at 09:33:18PM +0200, Matthias Bolte wrote:
> 2010/10/14 Alejandro Mery <amery at geeks.cl>:
> > hi,
> >
> > I want to try to add some basic support for (linux-)vserver to libvirt
> > and after reading some old mail threads I noticed you vanished
> > PKG_CHECK_EXISTS back in 2008. is it still not welcomed in libvirt?
> > PKG_CHECK_MODULES also?
>
> No idea about PKG_CHECK_EXISTS, but if you look at configure.ac you'll
> find multiple instances of PKG_CHECK_MODULES, so this one is perfectly
> fine.

We stopped using PKG_CHECK_EXISTS because it did not allow us to handle
missing modules gracefully without terminating configure. CHECK_MODULES
allows for flexible error handling.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list