[Top][All Lists]
[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: |
Russ Allbery |
Subject: |
Re: AC_INCLUDES_DEFAULT does not need to probe for headers that are part of C89 or POSIX.1 anymore |
Date: |
Wed, 04 Apr 2012 19:41:32 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Zack Weinberg <address@hidden> writes:
> which, as well as the desired check, does
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> The only tests in that list that are worth doing nowadays are for
> stdint.h and inttypes.h, and I don't think they should be done
> implicitly.
I think you're assuming a hosted target. I'm not sure that you can make
that assumption. Can't Autoconf be used to cross-compile software for a
free-standing target, where several of those header files are not
required to exist?
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>