]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(Generic Declarations): Clarify that AC_CHECK_DECL
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Sep 2006 20:41:13 +0000 (20:41 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 Sep 2006 20:41:13 +0000 (20:41 +0000)
can apply to constants too, and that it checks for macro defns.

doc/autoconf.texi

index b155edff68a449f3582e3e271a56a1f148601ebf..45bf8c5330cbda474f5e9e5909610c9638853468 100644 (file)
@@ -5645,14 +5645,15 @@ test macros.
 
 @defmac AC_CHECK_DECL (@var{symbol}, @ovar{action-if-found}, @ovar{action-if-not-found}, @dvar{includes, default-includes})
 @acindex{CHECK_DECL}
-If @var{symbol} (a function or a variable) is not declared in
+If @var{symbol} (a function, variable, or constant) is not declared in
 @var{includes} and a declaration is needed, run the shell commands
 @var{action-if-not-found}, otherwise @var{action-if-found}.  If no
 @var{includes} are specified, the default includes are used
 (@pxref{Default Includes}).
 
-This macro actually tests whether it is valid to use @var{symbol} as an
-r-value, not if it is really declared, because it is much safer to avoid
+This macro actually tests whether @var{symbol} is defined as a macro or
+can be used as an r-value, not whether it is really declared, because it
+is much safer to avoid
 introducing extra declarations when they are not needed.
 @end defmac