[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Portland Fortran compiler changing executable name
From: |
Ralf Wildenhues |
Subject: |
Re: Portland Fortran compiler changing executable name |
Date: |
Sun, 15 Nov 2009 15:03:48 +0100 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
[ dropping bug-libtool, adding autoconf-patches ]
* Jeff Squyres wrote on Sat, Nov 14, 2009 at 04:11:13PM CET:
> If it matters, as I understand it, the name pgfortran is meant to
> symbolize that the compiler now supports things beyond Fortran 90 --
> it supports Fortran 95 and some Fortran 03 (and beyond?) features.
> So I don't know if you want to update the comment that specifically
> states F77 and F90 or not...
That comment is not all that important. But it might be useful to test
for it in AC_PROG_FC.
OK to commit this untested patch?
Thanks,
Ralf
Add pgfortran to list of Fortran 95+ compilers.
* lib/autoconf/fortran.m4 (_AC_F95_FC): Add pgfortran before
pgf95.
Based on report by Jeff Squyres.
diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index f5918d0..3239a6e 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -306,7 +306,7 @@ AC_DEFUN([_AC_FC_DIALECT_YEAR],
# 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
+# pgf77/pgf90/pghpf/pgf95/pgfortran: Portland Group F77/F90/F95 compilers
# xlf/xlf90/xlf95: IBM (AIX) F77/F90/F95 compilers
# Prefer xlf9x to the generic names because they do not reject file
# with extension `.f'.
@@ -317,7 +317,7 @@ 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], [gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95
ftn])
+m4_define([_AC_F95_FC], [gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran
pgf95 lf95 ftn])
m4_define([_AC_F90_FC], [xlf90 f90 pgf90 pghpf epcf90])
m4_define([_AC_F77_FC], [g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77])
AC_DEFUN([_AC_PROG_FC],
- Re: Portland Fortran compiler changing executable name,
Ralf Wildenhues <=