In the autoconf 2.61 info manual, the syntax of AC_CHECK_DECL is given as:
-- Macro: AC_CHECK_DECL (SYMBOL, [ACTION-IF-FOUND],
[ACTION-IF-NOT-FOUND], [INCLUDES = `default-includes'])
Only by searching for an example of its use did I discover that the INCLUDES
argument is actually some #include lines, and not, as I first thought, the
text:
INCLUDES = list-of-include files
This rather odd meta-syntax confused me (the default values for
ACTION-IF-FOUND &c. are not given, and the default for INCLUDES is explained
below anyway.
I would suggest removing "= `default-includes'" from the syntax description,
and adding a note to the effect that it is a list of #include directives.
--
http://rrt.sc3d.org/ | free, a. already paid for (Peyton Jones)