autoconf
[Top][All Lists]
Advanced

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

Re: Call the AC_CHECK_HEADER macro on a condition


From: Paul Eggert
Subject: Re: Call the AC_CHECK_HEADER macro on a condition
Date: Mon, 18 Apr 2016 07:43:30 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

On 04/12/2016 08:24 AM, Eric Blake wrote:
Also, checking for <stdio.h> is pointless these days.  You can portably
assume a C89 compiler (and these days, often a C99 compiler), which
guarantees <stdio.h> is present.

Although it's safe to assume C89ish (or even C99ish) these days, there is the possibility that it's a freestanding C implementation, where the C standard does not require <stdio.h>. This might happen in a bootloader, say, where no operating system is available.



reply via email to

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