mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-31 15:00:26 +08:00
* tools/trace.at (autoconf --trace: user macros): Test `$%'.
This commit is contained in:
parent
7736fa2754
commit
92cedb6df4
@ -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):
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user