From 6f70f697f9e6976828347b81f55f38b7c3e46027 Mon Sep 17 00:00:00 2001 From: Richard Dawe Date: Mon, 3 Mar 2003 20:13:50 +0000 Subject: [PATCH] tests/atspecific.m4: Normalize the 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. --- ChangeLog | 7 +++++++ tests/atspecific.m4 | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bab212530..4ad707b46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-03-01 Richard Dawe + + * 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 * doc/autoconf.texi (Present But Cannot Be Compiled): New. diff --git a/tests/atspecific.m4 b/tests/atspecific.m4 index 242d4434e..6e6d7a62e 100644 --- a/tests/atspecific.m4 +++ b/tests/atspecific.m4 @@ -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])]) ]) -- 2.47.3