* tools/trace.at (autoconf --trace: user macros): Test `$%'.

This commit is contained in:
Stepan Kasal 2006-10-24 19:44:31 +00:00
parent 7736fa2754
commit 92cedb6df4
2 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2006-10-24 Stepan Kasal <kasal@ucw.cz>
* tools/trace.at (autoconf --trace: user macros): Test `$%'.
2006-10-24 Paul Eggert <eggert@cs.ucla.edu>
* lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):

View File

@ -139,13 +139,6 @@ TRACE1(foo, @bar, @baz)
TRACE1(foo, TRACE1(bar, baz))
TRACE1(foo, active, baz)
TRACE1(foo, [active], TRACE1(active, [active]))
# Disable this since m4-1.4.7a behaves differently from m4-1.4.7 and earlier.
## With arguments, multiple lines.
#TRACE1(foo
#bar,
#bar
#foo)
]])
# Several --traces.
@ -198,6 +191,19 @@ AT_CHECK_AUTOCONF([-t TRACE2:'${)===(}@'], 0,
[active])===([])===([ACTIVE]
]])
# Arguments spanning multiple lines.
AT_DATA([configure.ac],
[[m4_define([TRACE], [])
TRACE(foo
bar,
bar
foo)
]])
AT_CHECK_AUTOCONF([-t TRACE:'$%'], 0,
[[foo bar:bar foo
]])
AT_CLEANUP