Could you please try this patch? Just apply it, and...
cd tests
make testsuite
./testsuite -k lineno
Thanks!
Index: ChangeLog
from Akim Demaille <[EMAIL PROTECTED]>
* tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset.
Fixes false failures on Darwin.
Index: tests/m4sh.at
===================================================================
RCS file: /cvsroot/autoconf/autoconf/tests/m4sh.at,v
retrieving revision 1.29
diff -u -u -r1.29 m4sh.at
--- tests/m4sh.at 10 Apr 2002 15:58:21 -0000 1.29
+++ tests/m4sh.at 18 Apr 2002 14:07:24 -0000
@@ -45,7 +45,9 @@
[AT_DATA([$1],
[[AS@&t@_INIT
if $2; then
- AS@&t@_UNSET([LINENO])
+ # If we can't unset LINENO, then this test makes no sense: skip it.
+ AS@&t@_UNSET([LINENO]) ||
+ AS_ERROR([cannot unset LINENO], 77)
fi
_AS@&t@_PREPARE
echo "Line: $3"
@@ -84,8 +86,8 @@
0, [expout])
AT_CHECK([sh ./test/test-2], 0, [expout])
-# Beware that *.lineno scripts can be *here* while the masters are in test/.
-AT_CLEANUP(reference test test-1.lineno test-2.lineno)
+AT_CLEANUP
+
## ------------ ##
@@ -232,7 +234,7 @@
AT_CHECK_M4SH
AT_CHECK([./script])
-AT_CLEANUP(1 a)
+AT_CLEANUP