autoconf-patches
[Top][All Lists]
Advanced

[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: Tue, 28 Oct 2003 17:45:28 -0500 (EST)

On Mon, 27 Oct 2003, Akim Demaille wrote:
>  > 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.
> 
> But fortran.at tests Fortran 77, not Fortran.  I don't know how I am
> expected to solve this issue.  Please, help me!

If fortran.at is only supposed to be testing Fortran 77, then none of the
AC_FC_* macros should be in there.  (I'm not sure where you want to put
them, though.)

I would just remove the $G77-specific AC_FREEFORM test entirely from
fortran.at.  You could, of course, use $ac_cv_fc_compiler_gnu instead of
$G77, but that still wouldn't really be right, because in the near future
$FC may well be gfortran and not g77, and who knows what flags it will
accept.

(Isn't AC_FC_FREEFORM already tested in acfortran.at?  I have to admit I
don't completely understand these different files in the tests/
directory.)

Steven





reply via email to

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