PKG_CHECK_EXISTS (was: Re: [Libvir] libvirt on OS X Leopard 10.5.1)

Richard W.M. Jones rjones at
Tue Jan 22 12:41:16 UTC 2008

Richard W.M. Jones wrote:
> * PKG_CHECK_EXISTS macro doesn't exist and has to be commented out 
> everywhere.  This is despite the fact that I have pkg-config from 
> Macports installed.

Looking into this in a bit more detail -- Macports installs everything 
under /opt/local and there is a pkg.m4 file under there which contains 

$ grep PKG_CHECK_EXISTS /opt/local/share/aclocal/pkg.m4

What do I need to do to make autoconf use this macro?  At the moment 
autoconf leaves the macro unexpanded, and as a result ./configure fails.

checking for iptables... /sbin/iptables
./configure: line 35741: syntax error near unexpected token 
./configure: line 35741: `    PKG_CHECK_EXISTS(libxml-2.0,LIBXML_FOUND=yes)'


Emerging Technologies, Red Hat -
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: <>

More information about the libvir-list mailing list