From: Ralf Wildenhues Date: Sat, 5 Mar 2011 10:41:37 +0000 (+0100) Subject: docs: fix description of AC_F77_IMPLICIT_NONE. X-Git-Tag: v2.68b~91 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9cbf626a186371287476a523a0233d219cf181e;p=thirdparty%2Fautoconf.git docs: fix description of AC_F77_IMPLICIT_NONE. * doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]: This macro modifies FFLAGS, not FCFLAGS. Fix grammar nit. --- diff --git a/ChangeLog b/ChangeLog index ff84c509..bb6cd467 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2011-03-05 Ralf Wildenhues + docs: fix description of AC_F77_IMPLICIT_NONE. + * doc/autoconf.texi (Fortran Compiler) [AC_F77_IMPLICIT_NONE]: + This macro modifies FFLAGS, not FCFLAGS. + AC_FC_SRCEXT: allow gfortran to compile .f77 files. * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Try '-x f77' for .f77 files, '-x f95' for others, for gfortran. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 29c6d2c9..1cd246b1 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -8270,9 +8270,10 @@ variable. @acindex{FC_IMPLICIT_NONE} Try to disallow implicit declarations in the Fortran compiler. If -successful, the @var{action-if-success} is called and any needed flags -are added to @code{FCFLAGS}. Otherwise, @var{action-if-failure} is -called, which defaults to failing with an error message. +successful, @var{action-if-success} is called and any needed flags +are added to @code{FFLAGS} or @code{FCFLAGS}, respectively. Otherwise, +@var{action-if-failure} is called, which defaults to failing with an error +message. The result of these macros are cached in the @code{ac_cv_f77_implicit_none} and @code{ac_cv_fc_implicit_none}