On Wed, Apr 4, 2012 at 7:28 PM, Paul Eggert <egg...@cs.ucla.edu> 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