Hello,

On Tue, Oct 24, 2006 at 12:26:58PM -0700, Paul Eggert wrote:
> Thanks for reporting that.  I installed the following to pacify
> Autoconf 'make check' for now.  I suppose we can install a better
> check later.

OK, then I took the liberty to walk one more step that path:
I committed a variation of the previously posted patch, adding a
check which verifies that $% ``flattens'' the parameter list.
See below.

(Again, we can install a more complex check later...)

Stepan
2006-10-24  Stepan Kasal  <[EMAIL PROTECTED]>

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

Index: tests/tools.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/tools.at,v
retrieving revision 1.93
diff -u -r1.93 tools.at
--- tests/tools.at      24 Oct 2006 19:25:46 -0000      1.93
+++ tests/tools.at      24 Oct 2006 19:36:01 -0000
@@ -139,13 +139,6 @@
 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 @@
 [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
 
 

Reply via email to