2011-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ docs: macro synopses document default failure cases.
+ * doc/autoconf.texi (Fortran Compiler, Obsolete Macros):
+ Document failure case for AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN,
+ AC_FC_SRCEXT, AC_FC_FREEFORM, AC_FC_FIXEDFORM,
+ AC_FC_LINE_LENGTH, and AC_TRY_RUN macros.
+
Reword Fortran macro documentation.
* doc/autoconf.texi (Fortran Compiler): Improve wording for
AC_FC_FREEFORM, AC_FC_FIXEDFORM, and AC_FC_LINE_LENGTH macros.
may not work with C/C++ compiler drivers.
@end defmac
-@defmac AC_F77_DUMMY_MAIN (@ovar{action-if-found}, @ovar{action-if-not-found})
-@defmacx AC_FC_DUMMY_MAIN (@ovar{action-if-found}, @ovar{action-if-not-found})
+@defmac AC_F77_DUMMY_MAIN (@ovar{action-if-found}, @dvar{action-if-not-found, @
+ AC_MSG_FAILURE})
+@defmacx AC_FC_DUMMY_MAIN (@ovar{action-if-found}, @dvar{action-if-not-found, @
+ AC_MSG_FAILURE})
@acindex{F77_DUMMY_MAIN}
@cvindex F77_DUMMY_MAIN
@acindex{FC_DUMMY_MAIN}
@end defmac
@defmac AC_FC_SRCEXT (@var{ext}, @ovar{action-if-success}, @
- @ovar{action-if-failure})
+ @dvar{action-if-failure, AC_MSG_FAILURE})
@acindex{FC_SRCEXT}
By default, the @code{FC} macros perform their tests using a @file{.f}
extension for source-code files. Some compilers, however, only enable
@end defmac
-@defmac AC_FC_FREEFORM (@ovar{action-if-success}, @ovar{action-if-failure})
+@defmac AC_FC_FREEFORM (@ovar{action-if-success}, @dvar{action-if-failure, @
+ AC_MSG_FAILURE})
@acindex{FC_FREEFORM}
Try to ensure that the Fortran compiler (@code{$FC}) allows free-format
message).
@end defmac
-@defmac AC_FC_FIXEDFORM (@ovar{action-if-success}, @ovar{action-if-failure})
+@defmac AC_FC_FIXEDFORM (@ovar{action-if-success}, @dvar{action-if-failure, @
+ AC_MSG_FAILURE})
@acindex{FC_FIXEDFORM}
Try to ensure that the Fortran compiler (@code{$FC}) allows the old
@end defmac
@defmac AC_FC_LINE_LENGTH (@ovar{length}, @ovar{action-if-success}, @
- @ovar{action-if-failure})
+ @dvar{action-if-failure, AC_MSG_FAILURE})
@acindex{FC_LINE_LENGTH}
Try to ensure that the Fortran compiler (@code{$FC}) accepts long source
@end defmac
@defmac AC_TRY_RUN (@var{program}, @ovar{action-if-true}, @
- @ovar{action-if-false}, @ovar{action-if-cross-compiling})
+ @ovar{action-if-false}, @dvar{action-if-cross-compiling, AC_MSG_FAILURE})
@acindex{TRY_RUN}
Same as: