bug-autoconf
[Top][All Lists]
Advanced

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

Re: AC_INCLUDES_DEFAULT does not need to probe for headers that are part


From: Zack Weinberg
Subject: Re: AC_INCLUDES_DEFAULT does not need to probe for headers that are part of C89 or POSIX.1 anymore
Date: Wed, 4 Apr 2012 19:30:55 -0700

On Wed, Apr 4, 2012 at 7:28 PM, Paul Eggert <address@hidden> wrote:
> No doubt the set of default headers
> should be modernized, but it's going too far, I expect,
> to have Autoconf assumes that headers like <unistd.h>
> exist.  Autoconf-generated scripts are sometimes used
> to configure on MSVC platforms, for example, and MSVC
> doesn't have <unistd.h>.

I was under the impression that MSVC *did* have all the POSIX.1
headers nowadays, but I could well be wrong.  Anyway, I think that
AC_INCLUDES_DEFAULT should *only* include headers that it can safely
include without doing any checks at all -- if that means limiting it
to C89, so be it.

zw



reply via email to

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