+2004-12-21 Akim Demaille <akim@epita.fr>
+
+ * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
+ avoid cluttering displayed messages. Rather, prepend srcdir where
+ AT_LINE is used for log files.
+
2004-12-21 Stepan Kasal <kasal@ucw.cz>
* lib/autoconf/status.m4: Quote ``$tmp'' in many places.
# even think about using `?' or `\?'. Bah, `*' will do.
# Pleeeeeeeease, Gary, provide us with dirname and ERE!
m4_define([AT_LINE],
-[$at_srcdir/m4_bpatsubst(__file__, [^\(.*/\)*\(.*\)], [[\2]]):__line__])
+[m4_bpatsubst(__file__, [^\(.*/\)*\(.*\)], [[\2]]):__line__])
# AT_INIT([TESTSUITE-NAME])
_AS_PATH_WALK([$PATH], [test -f $as_dir/$at_program && break])
if test -f $as_dir/$at_program; then
{
- echo "AT_LINE: $as_dir/$at_program --version"
+ echo "$at_srcdir/AT_LINE: $as_dir/$at_program --version"
$as_dir/$at_program --version
echo
} >&AS_MESSAGE_LOG_FD 2>&1
#
m4_define([_AT_CHECK],
[$at_traceoff
-echo "AT_LINE: AS_ESCAPE([$1])"
+echo "$at_srcdir/AT_LINE: AS_ESCAPE([$1])"
echo AT_LINE >"$at_check_line_file"
at_trace_this=
[ignore],
[ *);;],
[ m4_default([$2], [0])) ;;
- *) echo "AT_LINE: exit code was $at_status, expected m4_default([$2], [0])"
+ *) echo "$at_srcdir/AT_LINE: exit code was $at_status, expected m4_default([$2], [0])"
at_failed=:;;])
esac
AS_IF($at_failed, [$5