]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tools/trace.at (autoconf --trace: user macros): Test `$%'.
authorStepan Kasal <kasal@ucw.cz>
Tue, 24 Oct 2006 19:44:31 +0000 (19:44 +0000)
committerStepan Kasal <kasal@ucw.cz>
Tue, 24 Oct 2006 19:44:31 +0000 (19:44 +0000)
ChangeLog
tests/tools.at

index a36b356369089337b5d00b081d8870f49cc52818..cd401c955d2244767114b2b6fdbfb4b0c0884f9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 7d3662c8ac6b5d18cc463c44319b5c37159c3e2d..b41a758006ccca4cb77d76ca93aa468177c5b85b 100644 (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