]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
tests/atspecific.m4: Normalize the file name for the m4 program,
authorRichard Dawe <rich@phekda.freeserve.co.uk>
Mon, 3 Mar 2003 20:13:50 +0000 (20:13 +0000)
committerRichard Dawe <rich@phekda.freeserve.co.uk>
Mon, 3 Mar 2003 20:13:50 +0000 (20:13 +0000)
when it has an "exe" file extension. DJGPP's error messages include
the error code in brackets - remove the error code during normalization.

ChangeLog
tests/atspecific.m4

index bab212530eef08c22884d08693414f692c519267..4ad707b46d1976fb0364657531844b9e824e6777 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-03-01  Richard Dawe  <rich@phekda.freeserve.co.uk>
+
+       * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize
+       file name for the m4 program, when it has an "exe" file extension.
+       DJGPP's error messages include the error code in brackets -
+       remove the error code during normalization.
+
 2003-02-28  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (Present But Cannot Be Compiled): New.
index 242d4434e83f4cfda0845fa49ab6af34d2999f25..6e6d7a62eda42a2c2abc1274eabf4bb7cfe3bd51 100644 (file)
@@ -1,6 +1,6 @@
 # M4 macros used in building Autoconf test suites.        -*- Autotest -*-
 
-# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -55,6 +55,8 @@ m4_ifval([$4],
 [AT_CHECK([[sed -e 's,^\([^:]*\): *\([0-9][0-9]*\): *[^:]*m4: ,m4: \1: \2: ,' \
                 -e 's,^[^:]*m4: *\([^:]*\): *\([0-9][0-9]*\): ,m4: \1: \2: ,' \
                 -e 's/^autom4te: [^ ]*m4 /autom4te: m4 /' \
+                -e 's/^autom4te: [^ ]*m4.exe /autom4te: m4 /' \
+                -e 's/ (E[A-Z]*)$//' \
            stderr]], [0],[$4])])
 ])