2010-03-02 Eric Blake <eblake@redhat.com>
+ Improve documentation on AC_{COMPILE,LINK}_IFELSE.
+ * doc/autoconf.texi (Running the Compiler): Mention that the
+ object file is available after a successful compile.
+ (Running the Linker): Likewise for the linker output.
+ Suggested by Paolo Bonzini.
+
Fix typo in docs.
* doc/autoconf.texi (Conditional constructs) <m4_ifblank>: Fix
typo.
It is customary to report unexpected failures with
@code{AC_MSG_FAILURE}. This macro does not try to link; use
@code{AC_LINK_IFELSE} if you need to do that (@pxref{Running the
-Linker}).
+Linker}). If needed, @var{action-if-true} can further access the
+just-linked object file @file{conftest.$ac_object}.
This macro uses @code{AC_REQUIRE} for the compiler associated with the
current language, which means that if the compiler has not yet been
language (@pxref{Language Choice}) on the @var{input}, run the shell
commands @var{action-if-true} on success, @var{action-if-false}
otherwise. The @var{input} can be made by @code{AC_LANG_PROGRAM} and
-friends.
+friends. If needed, @var{action-if-true} can further access the
+just-linked program file @file{conftest$ac_exeext}.
@code{LDFLAGS} and @code{LIBS} are used for linking, in addition to the
current compilation flags.