>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:
Alexandre> Because some compilers just print a warning message and
Alexandre> proceed. GCC on HP/UX without GNU as is a good example.
>> Aaah! OK, thanks. But what can drive someone to make such a
>> decision?
Alexandre> Maybe the fact that, way back, when autoconf wasn't widely
Alexandre> used, programs would always use `-g'?
Actually, I still think this is not right. We should check that the
compiler does produce some object code, but not that it complains.
After all, if it complains but works, we can rely on this behavior to
call it with -g from the Makefile, no?
This would allow to have a saner and more modern approach. See the
recent example of the Fortran compiler which displays a banner. Maybe
some day someone will do something like this, and this is not a sign
that the compiler does not support -g.
So, I think we should base our conclusion upon conftest.o, not
stderr+stdout.
What do you think?
Akim