[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Lack of clarity in description of AC_CHECK_DECL(S)
From: |
Reuben Thomas |
Subject: |
Lack of clarity in description of AC_CHECK_DECL(S) |
Date: |
Mon, 21 Jan 2008 17:00:29 +0000 (GMT) |
User-agent: |
Alpine 1.00 (DEB 882 2007-12-20) |
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)
- Lack of clarity in description of AC_CHECK_DECL(S),
Reuben Thomas <=