]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 5 Mar 2011 14:27:08 +0000 (15:27 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 5 Mar 2011 16:31:24 +0000 (17:31 +0100)
* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): Use -e I
not -d i, for Cray ftn.
* THANKS: Update.
Thanks to Tobias Burnus for feedback and testing.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
THANKS
lib/autoconf/fortran.m4

index 11edd26c9ee2100b357981f5c1c7948b46fdb1a1..ed4c467df37cf2a0a4e2d5de1fd7030abaf68e3d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-03-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE.
+       * lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): Use -e I
+       not -d i, for Cray ftn.
+       * THANKS: Update.
+       Thanks to Tobias Burnus for feedback and testing.
+
        docs: document several Fortran and OpenMP cache variables.
        * doc/autoconf.texi (Generic Compiler Characteristics)
        [AC_OPENMP]: Document associated cache variables.
diff --git a/THANKS b/THANKS
index d3973275587ed0b275c03a2d5c5fd6ef4b2b537d..648a5011e30e30c8c5d5e7bbfd3fe0c551714d56 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -399,6 +399,7 @@ Tim Freeman                 tim@fungible.com
 Tim Mooney                  mooney@dogbert.cc.ndsu.NoDak.edu
 Tim Rice                    tim@multitalents.net
 Tim Van Holder              tim.van.holder@pandora.be
+Tobias Burnus               burnus@net-b.de
 Tom Browder                 tom.browder@gmail.com
 Tom Epperly                 tepperly@llnl.gov
 Tom Lane                    tgl@sss.pgh.pa.us
index 237cdd9cfaf5e3f295592e8de7b310088ed28bbe..84f3162631be0b5391863ea5d11e9c1c246b27e2 100644 (file)
@@ -1470,7 +1470,7 @@ AC_LANG_POP([Fortran])dnl
 # Compaq: -u, -warn declarations
 # NAGWare: -u
 # Lahey: -in, --in, -AT
-# Cray: -Mdclchk -d i
+# Cray: -Mdclchk -e I
 # PGI: -Mcdlchk
 # f2c: -u
 AC_DEFUN([_AC_FC_IMPLICIT_NONE],
@@ -1480,7 +1480,7 @@ AC_CACHE_CHECK([for flag to disallow _AC_LANG implicit declarations],
 [ac_cv_[]_AC_LANG_ABBREV[]_implicit_none=unknown
 ac_fc_implicit_none_[]_AC_LANG_PREFIX[]FLAGS_save=$[]_AC_LANG_PREFIX[]FLAGS
 for ac_flag in none -fimplicit-none -u -Wimplicit -implicitnone +implicit_none \
-               -qundef "-warn declarations" -in --in -AT "-d i" -Mdclchk \
+               -qundef "-warn declarations" -in --in -AT "-e I" -Mdclchk \
                "-u -warn errors"
 do
   if test "x$ac_flag" != xnone; then