bug-gnulib
[Top][All Lists]
Advanced

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

Re: Getting AC_PROG_CC_C99


From: Bruno Haible
Subject: Re: Getting AC_PROG_CC_C99
Date: Fri, 30 Sep 2011 10:26:59 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Gary V. Vaughan wrote:
> > Do you have some specific modules in mind which could
> > be simplified by use of AC_REQUIRE([AC_PROG_CC_STDC])?
> 
> I hadn't even considered the possibility of simplifying any specific macros,
> I was thinking entirely about whether whole modules could be skipped by
> putting the compiler into an appropriate mode.  For example, I'm sure there
> must be circumstances where you can put the compiler in C99 mode and not
> need to use stdbool.

Well, C99 mode can help 'stdbool' on some platforms, but not on others. Citing
doc/posix-headers/stdbool.texi:

   This header file is missing on some platforms:
   AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1.

On HP-UX it may help, but on the other three platforms, asking the compiler
for more C99 compliance won't make an stdbool.h appear on the file system.

Bruno
-- 
In memoriam Kelsang Namtso 
<http://en.wikipedia.org/wiki/Nangpa_La_shooting_incident>



reply via email to

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