[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why doesn't F9x support use AC_FC_SRCEXT?
From: |
Steven G. Johnson |
Subject: |
Why doesn't F9x support use AC_FC_SRCEXT? |
Date: |
Thu, 02 Jun 2005 15:20:55 -0400 |
User-agent: |
Mozilla Thunderbird 1.0 (Macintosh/20041206) |
Is there some reason why the automake Fortran 9x support does not use
the AC_FC_SRCEXT macro to determine whether extra flags are needed to
compile files with .f90 or .f95 extensions? That is, if the user calls
AC_FC_SRCEXT(f90)
AC_FC_SRCEXT(f95)
then automake should use $FCFLAGS_f90 before any .f90 file on the
compilation line and $FCFLAGS_f95 before any .f95 file.
(Note that this *cannot* be done in autoconf, because all autoconf could
do would be to append something to $FCFLAGS, which will fail. Read the
AC_FC_SRCEXT documentation.)
Cordially,
Steven G. Johnson
PS. This would also give you a general way to decide whether to use the
$(F77) or $(FC) for a given source file - if the user calls
AC_FC_SRCEXT(foo), then $(FC) should be used for .foo files.
- Why doesn't F9x support use AC_FC_SRCEXT?,
Steven G. Johnson <=