autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Autotest: srcdir display


From: Akim Demaille
Subject: FYI: Autotest: srcdir display
Date: Wed, 22 Dec 2004 14:28:27 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * 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.

Index: lib/autotest/general.m4
===================================================================
RCS file: /cvsroot/autoconf/autoconf/lib/autotest/general.m4,v
retrieving revision 1.167
diff -u -u -r1.167 general.m4
--- lib/autotest/general.m4 21 Dec 2004 12:47:57 -0000 1.167
+++ lib/autotest/general.m4 22 Dec 2004 13:27:35 -0000
@@ -131,7 +131,7 @@
 # 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 @@
   _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_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 @@
   [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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]