>
> Peter Eisentraut <[EMAIL PROTECTED]> writes:
>
> > I've written about it before, here's the patch. It changes
> > AC_PROG_CC_STDC to try the `-std' flag rather than `-std1' (for OSF
> > or Ultrix) because the latter is kind of like 'gcc -ansi' (i.e.,
> > terminally strict).
>
> This of course depends on what the CC_STDC macro means, but if it
> tests for a `ANSI C' compiler, -std is not enough (it defines __STDC__
> to 0 to just mention one thing).
>
> In my experience there are more programs that compile with -std1 than
> with any other -std setting (excluding programs that rely on old
> constructs).
and those shouldn't be accommodated by making an incorrect AC_PROG_CC_STDC.
--
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey