From 3b73b97c85f73541b5fb9f2866e466e7db7ee98a Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 27 May 2006 00:05:36 +0000 Subject: [PATCH] * doc/autoconf.texi (autoheader Invocation): Mention that the first arg of AC_DEFINE_UNQUOTED must not be a literal. --- ChangeLog | 6 ++++++ doc/autoconf.texi | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cb588495..faa80919 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,10 +1,16 @@ 2006-05-26 Paul Eggert + * 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 + . + * 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 diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 3338d99e..4da7c3f9 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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. -- 2.11.4.GIT