]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (autoheader Invocation): Mention that the
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 May 2006 00:05:36 +0000 (00:05 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 May 2006 00:05:36 +0000 (00:05 +0000)
first arg of AC_DEFINE_UNQUOTED must not be a literal.

ChangeLog
doc/autoconf.texi

index cb5884958e937b5d4a7cd7b591d715dc25a5b728..faa80919ae4e67181bc433a2d54454c78236013d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,16 @@
 2006-05-26  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * doc/autoconf.texi (autoheader Invocation): Mention that the
+       first arg of AC_DEFINE_UNQUOTED must not be a literal.
+       Problem reported by Ben Pfaff in
+       <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>.
+
        * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed.
        * doc/autoconf.texi (Special Chars in Variables): New section.
        (Preset Output Variables): Warn about special chars in CPPFLAGS.
        (Installation Directory Variables): Quote $(datadir) better.
        (Limitations of Builtins): Describe some of eval's trickiness.
+
        * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting.
        * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise.
        * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space
index 3338d99e6f81b574e3056409ca05cc8cec4f9ac4..4da7c3f96e3b0fe109fb0d1e73553a67fb5625a7 100644 (file)
@@ -2888,7 +2888,8 @@ In order to do its job, @command{autoheader} needs you to document all
 of the symbols that you might use; i.e., there must be at least one
 @code{AC_DEFINE} or one @code{AC_DEFINE_UNQUOTED} call with a third
 argument for each symbol (@pxref{Defining Symbols}).  An additional
-constraint is that the first argument of @code{AC_DEFINE} must be a
+constraint is that the first argument of @code{AC_DEFINE}
+or @code{AC_DEFINE_UNQUOTED} must be a
 literal.  Note that all symbols defined by Autoconf's builtin tests are
 already documented properly; you only need to document those that you
 define yourself.