diff --git a/configure.ac b/configure.ac index 685997223..61de2b9d3 100644 --- a/configure.ac +++ b/configure.ac @@ -122,7 +122,8 @@ AC_F77_LIBRARY_LDFLAGS AC_PROG_FC AC_FC_LIBRARY_LDFLAGS if test "X$FC" != "X" ; then - fortran_ok=yes + fortran_ok=yes + F77=$FC fi dnl AM_CONDITIONAL( USE_GFORTRAN, [test "$F77" = "gfortran"])