[Top][All Lists]

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

Re: Weird interactions between AC_PROG_CC and AC_PROG_F77

From: Ralf Wildenhues
Subject: Re: Weird interactions between AC_PROG_CC and AC_PROG_F77
Date: Sat, 6 Feb 2010 17:13:16 +0100
User-agent: Mutt/1.5.20 (2009-10-28)

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.)


reply via email to

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