From: Ralf Wildenhues Date: Sat, 5 Mar 2011 14:27:08 +0000 (+0100) Subject: Fix Cray Fortran flag for AC_FC_IMPLICIT_NONE. X-Git-Tag: v2.68b~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63aaea5ecd84c39de578c85dd9eda3bf642322f9;p=thirdparty%2Fautoconf.git 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 --- diff --git a/ChangeLog b/ChangeLog index 11edd26c..ed4c467d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-03-05 Ralf Wildenhues + 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 d3973275..648a5011 100644 --- 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 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