Let autoheader see through m4 macros in AC_DEFINE.
commit77350bd98ce38adde4fe3f80cd73f07fd414db58
authorEric Blake <ebb9@byu.net>
Sat, 25 Jul 2009 12:00:38 +0000 (25 06:00 -0600)
committerEric Blake <ebb9@byu.net>
Sat, 25 Jul 2009 12:00:38 +0000 (25 06:00 -0600)
treedaf7fd1b0786b96fddb71c9df253a17d7ae44ddc
parent0fcbbc3080d5a276cc63ae3fca8c250289c2ad16
Let autoheader see through m4 macros in AC_DEFINE.

* lib/autoconf/general.m4 (AC_DEFINE_TRACE): Expand macro before
tracing its name.
* lib/autoconf/autoheader.m4 (AH_VERBATIM, AH_TEMPLATE): Likewise,
for using the macro in a template file.
* tests/tools.at (autoheader and macros): New test.
* NEWS: Mention this.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
NEWS
lib/autoconf/autoheader.m4
lib/autoconf/general.m4
tests/tools.at