[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf-2.57f: make check: 2 Errors related to fort77 (fink package
From: |
Steven G. Johnson |
Subject: |
Re: autoconf-2.57f: make check: 2 Errors related to fort77 (fink package) on Mac OS X |
Date: |
Fri, 3 Oct 2003 13:47:43 -0400 (EDT) |
On Fri, 3 Oct 2003, Sander Niemeijer wrote:
> However, IMHO producing an error when a fortran 77 compiler does not
> allow freeform code might not be desirable. It will prevent using
> autoconf for perfectly valid f77 code. But maybe you have some good
> reasons to not support non-freeform compilers that I am not aware of.
It won't prevent anyone from using autoconf. There is only an error if
the user specifically calls AC_FC_FREEFORM, i.e. if they specifically
request freeform support and it fails. (Also, the caller can override the
error failure if they have a fallback.) Presumably, a user of plain f77
code will not request freeform support.
The test suite is a different matter. With most compilers, the test suite
just gives a warning if Fortran doesn't accept free-form source, but it is
currently set to give an error if it fails for g77. Unfortunately,
as you point out, the g77 detection is somewhat flakey.
Actually, Akim, using 'if test "$G77" = yes; then' in tests/fortran.at
with AC_FC_FREEFORM is currently wrong anyway, because G77 is only set by
AC_PROG_F77, not by AC_PROG_FC.
Steven
Re: autoconf-2.57f: make check: 2 Errors related to fort77 (fink package) on Mac OS X, Steven G. Johnson, 2003/10/03