Hello Stefano,

* Stefano Lattarini wrote on Sat, Feb 06, 2010 at 04:14:45PM CET:
> I encountered the following strage behaviour in the latest stable 
> autoconf (2.65, Debian package version 2.65-2), and it really seems
> a bug to me:

Of the AC_PROG_{CC,CXX,F77,FC} macros, only the first one in the
configure script will check for object file extension and default
executable file name and fail if that doesn't work.

If you need to know whether any of the compilers work, then you need
to add a compile, link, or run test to find out.  This may seem
surprising, and I bet it's not documented well enough, but also I think
we probably cannot fix it without breaking bugward^Wbackward
compatibility.  Anyway the macros need to be prepared for non-fully
functional compilers/linkers for packages like GCC, IIRC.

(This is from memory now, I haven't re-checked.)

Cheers,
Ralf


Reply via email to