automake
[Top][All Lists]
Advanced

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

Re: Fortran 9x support


From: Sander Niemeijer
Subject: Re: Fortran 9x support
Date: Fri, 10 Oct 2003 11:20:27 +0200

Hmmm... Seems I failed to read the right postings in the autoconf archive. I did some catching up and it all makes sense now. Sorry for the noise...

Regards,
Sander

On donderdag, okt 9, 2003, at 20:29 Europe/Amsterdam, Steven G. Johnson wrote:

On Thu, 9 Oct 2003, Sander Niemeijer wrote:
I can understand keeping F77/FFLAGS/FLIBS/AC_PROG_F77 for backwards
compatibility. However, the current approach is to keep using these
macros and variables for f77 and use the new FC* ones only for f90 and
upwards. My question is whether it is not possible to also include f77
in the FC approach?

It depends on what you mean. If you have F77 code that is compatible with
the latest Fortran standards, sure, you can compile it with $FC.

- Only allow the user to use either AC_PROG_F77 or AC_PROG_FC (the old
or the new way of doing fortran).

I think you are missing the point here.  The reason for keeping F77,
FFLAGS, etcetera, is not just for compatibility with old Makefile.in
files.  The reason is that Fortran 77 and Fortran 9x are essentially
different languages, and a number of people need to compile both in the
same project, using separate compilers and flags.  (This issue came up
whenever Fortran 9x support was discussed on the autoconf mailing list.)

So, it is essential that a user be able to call both AC_PROG_F77 and
AC_PROG_FC simultaneously.  This was the design goal (otherwise,
AC_PROG_FC would just be an alias for AC_PROG_F77.)

Steven






reply via email to

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