Salome HOME
Fix compilation problem on Calibre 5 configuration (f77 vs gfortran)
[modules/smesh.git] / configure.ac
index 6859972239370b10338fed7ff2852f0fde2066a4..61de2b9d3f4019aaf106fbaaf99f0dce24236c70 100644 (file)
@@ -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"])