Hello,
On Fri, Mar 04, 2005 at 11:24:45AM -0500, John W. Eaton wrote:
> Same as `AC_LINK_IFELSE([AC_LANG_PROGRAM([[INCLUDES]],
> [[FUNCTION-BODY]])], [ACTION-IF-TRUE], [ACTION-IF-FALSE])' (*note
> Running the Compiler::).
you are quoting here the node with title "Obsolete Macros".
Yet I understand it's easy to miss the title when a search brings you
directly to the middle of the node.
And in the node "Quotation Rule Of Thumb", AC_TRY_LINK is used in an
example. It's not mentioned explicitely that it is obsolete.
Paul, can I commit the attached small doc patch?
(I'd cc it to autoconf-patches, then.)
Have a nice day,
Stepan Kasal
2005-03-07 Stepan Kasal <[EMAIL PROTECTED]>
* doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the
macro AC_TRY_LINK is obsolete.
Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.880
diff -u -r1.880 autoconf.texi
--- doc/autoconf.texi 23 Feb 2005 23:24:49 -0000 1.880
+++ doc/autoconf.texi 7 Mar 2005 14:15:14 -0000
@@ -8236,7 +8236,6 @@
[[]]
@end example
-
With macros that do not double quote their arguments (which is the
rule), double-quote the (risky) literals:
@@ -8251,6 +8250,9 @@
[ac_cv_var_tzname=no])
@end example
+Please note that the macro @code{AC_TRY_LINK} is obsolete, so you really
+should be using @code{AC_LINK_IFELSE} instead.
+
@xref{Quadrigraphs}, for what to do if you run into a hopeless case
where quoting does not suffice.
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf