Fix .exe-related test failure on MinGW.

* tests/local.at (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
for comparing warning output.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2008-03-24 15:38:49 +01:00
parent ec3a1f2269
commit 6a6062d59b
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix .exe-related test failure on MinGW.
* tests/local.at (AT_CHECK_M4): Normalize `/bin/m4.exe' correctly
for comparing warning output.
Fix Fortran testsuite failures with gfortran 4.3.
* lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): When scanning
verbose compiler output, skip lines that set variables; gfortran

View File

@ -107,6 +107,7 @@ m4_define([AT_CHECK_M4],
m4_case([$4], [], [], [ignore], [ignore], [stderr]))
m4_case([$4], [], [], [ignore], [],
[AT_CHECK([[sed 's/^[^:]*m4: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
s/^[^:]*m4\.exe: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
s/^\([^:]*:\) *\([0-9][0-9]*:\)[^:]*m4: /m4:\1\2 /
s/: C\(annot open \)\([^`:]*\):/: c\1`\2'\'':/
s/: include:\( cannot open\)/:\1/