|
From: | Eric Blake |
Subject: | Re: Detection of utmp/pty for *BSD. |
Date: | Fri, 10 Sep 2010 07:55:27 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100806 Fedora/3.1.2-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.2 |
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 address@hidden +1-801-349-2682 Libvirt virtualization library http://libvirt.org
[Prev in Thread] | Current Thread | [Next in Thread] |