[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: novice can't get autotools to give me makefile that uses gfortran
From: |
Ralf Wildenhues |
Subject: |
Re: novice can't get autotools to give me makefile that uses gfortran |
Date: |
Tue, 11 Mar 2008 01:16:09 +0100 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hello Tim,
Please do not top-post, thank you.
* Tim Dennis wrote on Mon, Mar 10, 2008 at 04:57:09PM CET:
> > * JoeOutflow wrote on Sun, Mar 09, 2008 at 10:17:25PM CET:
> >>
> >> The only specifically fortran-related macro in my configure.ac file is
> >> AC_PROG_FC. autoreconf --install runs without complaint as does a
> >> subsuquent call to the configure script. Nonetheless, when I run
> >> make, two strange things happen. First, the configure script runs
> >> again.
Question: which make implementation do you use, and which versions of
autoconf and automake (I assume 2.59, and 1.9.6, respectively)?
I don't see a reconfiguration happening with your example files.
I do see autoheader running once with Automake 1.9.6.
> >> Second the makefile tries to compile using f77 as the compiler
> >> command.
The compiler search order has been changed in newer Autoconf versions,
they try gfortran first. Please update, or use
./configure FC=gfortran
Cheers,
Ralf