[PATCH] Fix FCFLAGS handing in libgfortran/configure.ac

Paolo Bonzini bonzini@gnu.org
Sat Nov 5 23:59:00 GMT 2005


Tobias Schlüter wrote:
> Richard Guenther wrote:
> 
>>The current setup doesn't allow overriding of compile-flags with
>>setting FCFLAGS.  Fixed by moving needed flags to AM_FCFLAGS.
>>
>>Ok for mainline/4.0?
> 
> 
> This looks like it's obvious, if one knows what autoconf's doing, which I
> don't, but you probably do.

It's more automake than autoconf actually.  Basically FCFLAGS is left 
for the user, and the flags that are really necessary for compilation to 
succeed go into AM_FCFLAGS.  For example, AM_CPPFLAGS should contain the 
-Iabc options to find the include files (traditionally named INCLUDES in 
programs/libraries not using automake).

Paolo



More information about the Fortran mailing list