`fc' is the f77-like script from the f2c distribution.

2000-05-31  Dave Love  <[EMAIL PROTECTED]>

        * aclang.m4 (AC_PROG_F77): Check for f95 and fc too.

Index: aclang.m4
===================================================================
RCS file: /cvs/autoconf/aclang.m4,v
retrieving revision 1.28
diff -u -p -c -r1.28 aclang.m4
cvs server: conflicting specifications of output style
*** aclang.m4   2000/05/26 17:30:07     1.28
--- aclang.m4   2000/05/31 18:14:17
*************** rm -f conftest*
*** 817,825 ****
  # for.
  AC_DEFUN([AC_PROG_F77],
  [AC_BEFORE([$0], [AC_PROG_CPP])dnl
  AC_LANG_PUSH(Fortran 77)
  AC_CHECK_TOOLS(F77,
!                m4_default([$1], [g77 f77 xlf cf77 fl32 fort77 f90 xlf90]))
  
  _AC_LANG_COMPILER_WORKS
  _AC_PROG_F77_GNU
--- 817,827 ----
  # for.
  AC_DEFUN([AC_PROG_F77],
  [AC_BEFORE([$0], [AC_PROG_CPP])dnl
+ dnl Fortran 95 isn't strictly backwards-compatiable with Fortran 77, but
+ dnl `f95' is worth trying.
  AC_LANG_PUSH(Fortran 77)
  AC_CHECK_TOOLS(F77,
!                m4_default([$1], [g77 f77 xlf cf77 fl32 fort77 f90 xlf90 f95 fc]))
  
  _AC_LANG_COMPILER_WORKS
  _AC_PROG_F77_GNU

Reply via email to