diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2011-03-05 15:27:08 +0100 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2011-03-05 17:31:24 +0100 |
commit | 63aaea5ecd84c39de578c85dd9eda3bf642322f9 (patch) | |
tree | c461683a6213529bed32d4da14a4f0d12913fe3a | |
parent | 1fb4fba330d0614f77b2254d1b3df1c5075cc7e7 (diff) | |
download | autoconf-63aaea5ecd84c39de578c85dd9eda3bf642322f9.tar.gz |
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.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | lib/autoconf/fortran.m4 | 4 |
3 files changed, 9 insertions, 2 deletions
@@ -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. @@ -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 diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 237cdd9c..84f31626 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -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 |