Re: AC_PROG_CC_STDC patch

2000-04-21 Thread Peter Eisentraut
Johan Danielsson writes: > This of course depends on what the CC_STDC macro means, It effectively tries to give a couple of flags to the compiler to make it a little more modern. That means accepting prototypes and perhaps const, etc. > but if it tests for a `ANSI C' compiler, -std is not enoug

Re: AC_PROG_CC_STDC patch

2000-04-20 Thread T.E.Dickey
> > 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

Re: AC_PROG_CC_STDC patch

2000-04-20 Thread Johan Danielsson
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

Re: AC_PROG_CC_STDC patch

2000-04-19 Thread Alexandre Oliva
On Apr 19, 2000, Peter Eisentraut <[EMAIL PROTECTED]> wrote: > 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). Sounds good, but

Re: AC_PROG_CC_STDC patch

2000-04-19 Thread T.E.Dickey
> > Peter Eisentraut 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). > > I've been wondering about this f

Re: AC_PROG_CC_STDC patch

2000-04-19 Thread Lars Hecking
Peter Eisentraut 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). I've been wondering about this for a while. And I co

AC_PROG_CC_STDC patch

2000-04-19 Thread Peter Eisentraut
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). Treat with caution, I don't actually have one of those, but that's what we're using i