summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-03-05 07:55:51 +0100
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-03-05 09:42:04 +0100
commit5f11bce4563d94fd2a675f83909066d12f6243ef (patch)
treee329b322f3205b4b1bbfdf22f12ee4734a8ffdeb /doc
parent8476731b831de939182261f9f67fd656cd1242ba (diff)
downloadautoconf-5f11bce4563d94fd2a675f83909066d12f6243ef.tar.gz
New macros AC_{F77,FC}_IMPLICIT_NONE to disable Fortran implicit int.
* lib/autoconf/fortran.m4 (_AC_FC_IMPLICIT_NONE): New internal macro. (AC_F77_IMPLICIT_NONE, AC_FC_IMPLICIT_NONE): New macros. * doc/autoconf.texi (Fortran Compiler): Document them. * NEWS: Update. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/autoconf.texi17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index e6ff3ecf..29c6d2c9 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -8262,6 +8262,23 @@ The result of the macro is cached in the @code{ac_cv_fc_check_bounds}
variable.
@end defmac
+@defmac AC_F77_IMPLICIT_NONE (@ovar{action-if-success}, @
+ @dvar{action-if-failure, AC_MSG_FAILURE})
+@defmacx AC_FC_IMPLICIT_NONE (@ovar{action-if-success}, @
+ @dvar{action-if-failure, AC_MSG_FAILURE})
+@acindex{F77_IMPLICIT_NONE}
+@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.
+
+The result of these macros are cached in the
+@code{ac_cv_f77_implicit_none} and @code{ac_cv_fc_implicit_none}
+variables, respectively.
+@end defmac
+
@node Go Compiler
@subsection Go Compiler Characteristics