doc: Fix cross-reference for AC_TRY_LINK

Jonathan Wakely <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
The documentation for AC_TRY_LINK at 
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
has a cross-reference to "Running the Compiler". Presumably this
should be "Running the Linker" instead.

Patch attached to fix it, and also make the link in AC_TRY_LINK_FUNC
consistent.
patch.txt (text/plain, 966 B)
commit cdd471db27b731338f938b39b9221b666c471133
Author: Jonathan Wakely <[email protected]>
Date:   Tue Sep 22 10:06:03 2020 +0100

    doc: Fix cross-reference for AC_TRY_LINK
    
        * doc/autoconf.texi (Obsolete Macros): Link to AC_LINK_IFELSE node
        rather than AC_COMPILE_IFELSE. Use consistent link for
        AC_TRY_LINK_FUNC.

diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 38646a16..60407fc2 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -24294,7 +24294,7 @@ AC_LINK_IFELSE(
 @end example
 
 @noindent
-@xref{Running the Compiler}.
+@xref{Running the Linker}.
 
 This macro double quotes both @var{includes} and @var{function-body}.
 
@@ -24323,7 +24323,7 @@ AC_LINK_IFELSE([AC_LANG_CALL([], [@var{function}])],
   [@var{action-if-found}], [@var{action-if-not-found}])
 @end example
 @noindent
-@xref{AC_LINK_IFELSE}.
+@xref{Running the Linker}.
 @end defmac
 
 @defmac AC_TRY_RUN (@var{program}, @ovar{action-if-true}, @
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.