autoconf: Fix testsuite to run with newer M4. (21f78)

https://github.com/libsdl-org/autoconf/commit/21f783e4c6d7881b6300175a3f368a8271909693

From 21f783e4c6d7881b6300175a3f368a8271909693 Mon Sep 17 00:00:00 2001
From: Paul Eggert <[EMAIL REDACTED]>
Date: Tue, 24 Oct 2006 19:25:46 +0000
Subject: [PATCH] Fix testsuite to run with newer M4.

* tests/tools.at (autoconf --trace: user macros): Remove test
for tracing multiline macros, since m4 1.4.7a uses a different
way to number lines.

(cherry picked from commit 29e73bdce0a07327cca4bff3b0cff70dfec4ca24)
---
 ChangeLog      |  6 ++++++
 tests/tools.at | 19 ++++++-------------
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 090045da..f8a8f214 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-10-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* tests/tools.at (autoconf --trace: user macros): Remove test
+	for tracing multiline macros, since m4 1.4.7a uses a different
+	way to number lines.  Problem reported by Ralf Wildenhues.
+
 2006-09-11  Stepan Kasal  <kasal@ucw.cz>
 
 	* tests/local.at (AT_CHECK_M4): Fix this so that the testsuite
diff --git a/tests/tools.at b/tests/tools.at
index 3f6dc742..9559ac2f 100644
--- a/tests/tools.at
+++ b/tests/tools.at
@@ -169,11 +169,12 @@ TRACE1(foo, TRACE1(bar, baz))
 TRACE1(foo, active, baz)
 TRACE1(foo, [active], TRACE1(active, [active]))
 
-# With arguments, multiple lines.
-TRACE1(foo
-bar,
-bar
-foo)
+# 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.
@@ -193,8 +194,6 @@ configure.ac:13:TRACE1:ACTIVE:active
 configure.ac:13:TRACE2:active
 configure.ac:13:TRACE1:foo:active::ACTIVE
 configure.ac:13:TRACE2:active::ACTIVE
-configure.ac:19:TRACE1:foo bar:bar foo
-configure.ac:19:TRACE2:bar foo
 ]])
 
 # Several line requests.
@@ -214,10 +213,6 @@ AT_CHECK_AUTOCONF([[-t TRACE1:'
 [ACTIVE], [active], [].
 
 [foo], [active], [].
-
-[foo
-bar], [bar
-foo], [].
 ]])
 
 # ${sep}@.
@@ -230,8 +225,6 @@ AT_CHECK_AUTOCONF([-t TRACE2:'${)===(}@'], 0,
 [ACTIVE])===([baz]
 [active]
 [active])===([])===([ACTIVE]
-[bar
-foo]
 ]])
 
 AT_CLEANUP