From: Stefano Lattarini Date: Tue, 25 May 2010 16:58:24 +0000 (+0200) Subject: Don't expose AC_{COMPILE,LINK}_IFELSE internals in documentation. X-Git-Tag: v2.66~49 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f44e1243ec5207a8d01b0e9e04f4b8f4799895bc;p=thirdparty%2Fautoconf.git Don't expose AC_{COMPILE,LINK}_IFELSE internals in documentation. * doc/autoconf.texi (Runtime) : Suggest to use `conftest$EXEEXT' rather than `conftest$ac_exeext' to acces the just-linked program file. (Runtime) : Suggest to use `conftest.$OBJEXT' rather than `conftest.$ac_object' to access the just-compiled object file. Also, refer to the object file as "just-compiled" rather than "just-linked". --- diff --git a/ChangeLog b/ChangeLog index f9b7d041..1452eb32 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2010-05-25 Stefano Lattarini + Eric Blake + + Don't expose AC_{COMPILE,LINK}_IFELSE internals in documentation. + * doc/autoconf.texi (Runtime) : Suggest to use + `conftest$EXEEXT' rather than `conftest$ac_exeext' to acces the + just-linked program file. + (Runtime) : Suggest to use `conftest.$OBJEXT' + rather than `conftest.$ac_object' to access the just-compiled + object file. Also, refer to the object file as "just-compiled" + rather than "just-linked". + 2010-05-20 Eric Blake Mention another line-counting alternative. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index cbdb56b8..3df0d3ff 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -8915,7 +8915,7 @@ 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}). If needed, @var{action-if-true} can further access the -just-linked object file @file{conftest.$ac_object}. +just-compiled object file @file{conftest.$OBJEXT}. This macro uses @code{AC_REQUIRE} for the compiler associated with the current language, which means that if the compiler has not yet been @@ -8961,7 +8961,7 @@ 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. If needed, @var{action-if-true} can further access the -just-linked program file @file{conftest$ac_exeext}. +just-linked program file @file{conftest$EXEEXT}. @code{LDFLAGS} and @code{LIBS} are used for linking, in addition to the current compilation flags.