fix AC_DEFINE documentation

This commit is contained in:
Stepan Kasal 2005-01-20 10:59:55 +00:00
parent c1e9cd093e
commit 4c38a43946
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-01-19 Stepan Kasal <kasal@ucw.cz>
* doc/autoconf.texi (Defining Symbols): Delete the false comment that
you cannot use AC_DEFINE to define macros containing `[' or `]'.
2005-01-13 Paul Eggert <eggert@cs.ucla.edu>
* doc/autoconf.texi (Limitations of Usual Tools): Document bug

View File

@ -7204,9 +7204,8 @@ output.
Define the C preprocessor variable @var{variable} to @var{value} (verbatim).
@var{value} should not contain literal newlines, and if you are not
using @code{AC_CONFIG_HEADERS} it should not contain any @samp{#}
characters, as @command{make} tends to eat them. To use a shell variable
(which you need to do in order to define a value containing the M4 quote
characters @samp{[} or @samp{]}), use @code{AC_DEFINE_UNQUOTED} instead.
characters, as @command{make} tends to eat them. To use a shell variable,
use @code{AC_DEFINE_UNQUOTED} instead.
@var{description} is only useful if you are using
@code{AC_CONFIG_HEADERS}. In this case, @var{description} is put into
the generated @file{config.h.in} as the comment before the macro define.