On 09/09/2010 11:44 PM, Ralf Wildenhues wrote:
[ adding bug-autoconf ]
* Mats Erik Andersson wrote on Fri, Sep 10, 2010 at 12:19:08AM CEST:
The quick punch lines first:
*<utmp.h> is __NOT__ self-contained, neither for OpenBSD, nor FreeBSD.
*<libutil.h> is __NOT__ self-contained for FreeBSD.
In contrast,
*<util.h> __is__ self-contained for OpenBSD.
[...]
All these failures are rescued by the simple insertion of a single
#include<sys/types.h>
before either of the original header files, but not after!
I think such knowledge has a place in autoconf.texi and maybe also
Autoconf macros, too. This is not just interesting for gnulib.
Hmm - autoconf already has a node Header Portability, where this could
be added. But right now, gnulib's documentation is already much more
extensive than autoconf's, it may be easier to just point to the gnulib
manual with all its collected wisdom on these various headers than to
try and maintain this information in two separate lists.
--
Eric Blake ebl...@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org