]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to
authorAkim Demaille <akim@epita.fr>
Wed, 22 Dec 2004 13:29:09 +0000 (13:29 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 22 Dec 2004 13:29:09 +0000 (13:29 +0000)
avoid cluttering displayed messages.  Rather, prepend srcdir where
AT_LINE is used for log files.

ChangeLog
lib/autotest/general.m4

index 2436685c5070bc3d55182f468eeae53e35473135..874ffc8f598f45333fee3fb05fb5ec1187ca3f63 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
index e0629b70a2ac742c3b1a5396bbc5e84fc07d4bc4..80fc0e21ec58f3f4df4054bc2f4f17732569a9f5 100644 (file)
@@ -131,7 +131,7 @@ m4_define([_m4_divert(TEST_SCRIPT)],        403)
 # 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])
@@ -533,7 +533,7 @@ do
   _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
@@ -1329,7 +1329,7 @@ m4_popdef([at_reason])])
 #
 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=
@@ -1374,7 +1374,7 @@ m4_case([$2],
   [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