(_AC_PROG_FC): Try cf77 before fort77

to get the option-enhanced interface on older Crays.  Try ftn for
Fortran 95 (newer Crays).
This commit is contained in:
Paul Eggert 2005-02-02 23:46:31 +00:00
parent c7761f20ad
commit 3c751297e4

View File

@ -1,6 +1,6 @@
# This file is part of Autoconf. -*- Autoconf -*-
# Fortran languages support.
# Copyright (C) 2001, 2003, 2004
# Copyright (C) 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
@ -334,6 +334,8 @@ AC_DEFUN([_AC_FC_DIALECT_YEAR],
# f77/f90/f95: generic compiler names
# g77: GNU Fortran 77 compiler
# gfortran: putative GNU Fortran 95+ compiler (in progress)
# ftn: native Fortran 95 compiler on Cray X1
# cf77: native F77 compiler under older Crays (prefer over fort77)
# fort77: native F77 compiler under HP-UX (and some older Crays)
# frt: Fujitsu F77 compiler
# pgf77/pgf90/pghpf/pgf95: Portland Group F77/F90/F95 compilers
@ -345,9 +347,9 @@ AC_DEFUN([_AC_FC_DIALECT_YEAR],
# fort: Compaq (now HP) Fortran 90/95 compiler for Tru64 and Linux/Alpha
# ifort, previously ifc: Intel Fortran 95 compiler for Linux/x86
# efc: Intel Fortran 95 compiler for IA64
m4_define([_AC_F95_FC], [f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran])
m4_define([_AC_F95_FC], [f95 fort xlf95 ifort ifc efc pgf95 lf95 gfortran ftn])
m4_define([_AC_F90_FC], [f90 xlf90 pgf90 pghpf epcf90])
m4_define([_AC_F77_FC], [g77 f77 xlf frt pgf77 fort77 fl32 af77])
m4_define([_AC_F77_FC], [g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77])
AC_DEFUN([_AC_PROG_FC],
[_AC_FORTRAN_ASSERT()dnl
AC_CHECK_TOOLS([]_AC_FC[],