bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Detection of utmp/pty for *BSD.


From: Ralf Wildenhues
Subject: Re: Detection of utmp/pty for *BSD.
Date: Fri, 10 Sep 2010 07:44:06 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

[ 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.

Thanks,
Ralf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]