[Libvir] Mac OS X again (was: Re: PKG_CHECK_EXISTS)

Richard W.M. Jones rjones at redhat.com
Tue Jan 22 20:20:29 UTC 2008

Jim Meyering wrote:
> So, you have this file,
>     /opt/local/share/aclocal/pkg.m4
> yet your version of aclocal doesn't find it.
> This should be enough to make it work:
>     mkdir -p $(aclocal --print-ac-dir)
>     echo /opt/local/share/aclocal >> $(aclocal --print-ac-dir)/dirlist

OK, that got PKG_CHECK_EXISTS fine.  To be precise I had to do:

   echo /opt/local/share/aclocal >> $(aclocal --print-ac-dir)/dirlist
   aclocal -I m4 -I gnulib/m4
   CFLAGS=-I/opt/local/include \
   LDFLAGS=-L/opt/local/lib \
   ./configure --without-xen --without-qemu

For reasons which are unclear gl_COMPILER_FLAGS macro is not copied into 
aclocal.m4.  I think autom4te is refusing to believe that this macro is 
used, even though it's clearly in configure.in, but I didn't spend too 
long trying to delve into the internal machinations of autom4te. 
Instead I just commented out the two references to gl_COMPILER_FLAGS.


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/20080122/0dbfa545/attachment-0001.bin>

More information about the libvir-list mailing list