hand.
* tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
+2001-11-13 Akim Demaille <akim@epita.fr>
+
+ * tests/m4sh.at (LINENO): Protect from autom4te's substitution by
+ hand.
+ * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does.
+
2001-11-13 Akim Demaille <akim@epita.fr>
* lib/autotest/general.m4 (AT_INIT): After having run the test
# UNSET-LINENO is a shell condition to make sure the scripts have the
# same number of lines in the output, so that their outputs be identical.
m4_define([AT_DATA_LINENO],
-[AT_DATA_M4SH([$1],
-[[AS_INIT
+[AT_DATA([$1],
+[[AS@&t@_INIT
if $2; then
- AS_UNSET([LINENO])
+ AS@&t@_UNSET([LINENO])
fi
-AS_SHELL_SANITIZE
+AS@&t@_SHELL_SANITIZE
echo "Line: $3"
grep 'Line: .*$4' $[0] >/dev/null ||
- AS_ERROR([cannot find original script])
+ AS@&t@_ERROR([cannot find original script])
exit 0
]])
])# AT_DATA_LINENO
configure.ac:3: error: possibly undefined macro: _m4_bar
configure.ac:4: error: possibly undefined macro: AS_FOO
configure.ac:5: error: possibly undefined macro: _AS_BAR
-configure.ac:6: error: possibly undefined macro: d@&t@nl
+configure.ac:6: error: possibly undefined macro: dnl
]])
AT_CHECK_AUTOCONF([], 1, [], experr)