Hello,
I commited the changes from the patch attached to this mail.
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.
(Installation Directory Variables): Change `AC_OUTPUT_FILES' to
`AC_CONFIG_FILES'.
--- doc/autoconf.texi.orig 2005-03-10 13:06:54.000000000 +0100
+++ doc/autoconf.texi 2005-03-10 13:11:07.000000000 +0100
@@ -2427,7 +2427,7 @@
you should add
@samp{-DDATADIR="$(datadir)"} to your @code{CPPFLAGS}.
-Similarly you should not rely on @code{AC_OUTPUT_FILES} to replace
+Similarly, you should not rely on @code{AC_CONFIG_FILES} to replace
@code{datadir} and friends in your shell scripts and other files, rather
let @command{make} manage their replacement. For instance Autoconf
ships templates of its shell scripts ending with @samp{.in}, and uses a
@@ -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.