[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: |
Thu, 2 Oct 2003 15:37:38 -0400 (EDT) |
On Thu, 2 Oct 2003, Akim Demaille wrote:
> Hm... Actually, Steven, is this GNU Fortran check really correct? I
> mean, it should be .F to have the preprocessor run.
That's what it should be doing. _AC_PROG_FC does:
ac_save_ext=$ac_ext
ac_ext=F
_AC_LANG_COMPILER_GNU
ac_ext=$ac_save_ext
When I create a sample configure script on my machine, it does indeed use
.F for this test; can you replicate the .f behavior?
> Arg. Sander, could you dig into your fort77 documentation to find
> whether there is an option to accept the freeform?
>
> Steven, do you believe that it is possible that some compiler do not
> support such an option? In this case, at least for the sake of the
> test suite, this AC_MSG_ERROR should exit 77, not exit 1.
I know of at least one compiler (VAST f90) that does not. Also, some
F77 compilers may not. Ok.
Sander wrote:
> Furthermore the fort77 script indeed has an option to set freeform
> code. This is the same option as used for f2c and is '-f'.
Ok.
See attached patch.
Steven
2003-10-02 Steven G. Johnson <address@hidden>
* lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Exit 77 upon failure
to fix test suite for non-freeform-supporting compilers. Support
-f freeform option for f2c/fort77 (thanks to Sander Niemeijer).
diff.out
Description: Text document
- Re: autoconf-2.57f: make check: 2 Errors related to fort77 (fink package) on Mac OS X,
Steven G. Johnson <=
Re: autoconf-2.57f: make check: 2 Errors related to fort77 (fink package) on Mac OS X, Steven G. Johnson, 2003/10/03