* Vincent Lefevre wrote on Fri, Mar 21, 2008 at 04:51:54PM CET: > On 2008-03-21 15:31:16 +0100, Ralf Wildenhues wrote: > > On Fri, March 21, 2008 14:30, Vincent Lefevre wrote: > > > > > > First, on a Debian/unstable machine, "make check" gives the following > > > failures: > > > > > > 194: AC_F77_MAIN FAILED > > > (acfortran.at:13)
> > Could you send tests/testsuite.log for this? Thanks. > > Attached. Thanks. I'm applying this patch, and putting you in THANKS. Could you please check that it fixes the failures you encounter? Rerun them with make check TESTSUITEFLAGS='-k ".*_F77_.*" -k ".*_FC_.*"' Cheers, Ralf 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 4.3 sets LIBRARY_PATH, COMPILER_PATH, COLLECT_GCC_OPTIONS. * THANKS: Update. Report by Vincent Lefèvre. Signed-off-by: Ralf Wildenhues <[EMAIL PROTECTED]> diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index fa476b3..96ce4b8 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -1,6 +1,6 @@ # This file is part of Autoconf. -*- Autoconf -*- # Fortran languages support. -# Copyright (C) 2001, 2003, 2004, 2005, 2006, 2007 +# Copyright (C) 2001, 2003, 2004, 2005, 2006, 2007, 2008 # Free Software Foundation, Inc. # # This program is free software: you can redistribute it and/or modify @@ -549,7 +549,10 @@ _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS m4_default([$1], [$ac_cv_prog_ eval "set x $ac_link" shift _AS_ECHO_LOG([$[*]]) -ac_[]_AC_LANG_ABBREV[]_v_output=`eval $ac_link AS_MESSAGE_LOG_FD>&1 2>&1 | grep -v 'Driving:'` +# gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH, +# LIBRARY_PATH; skip all such settings. +ac_[]_AC_LANG_ABBREV[]_v_output=`eval $ac_link AS_MESSAGE_LOG_FD>&1 2>&1 | + grep -v 'Driving:' | grep -v "^[[_$as_cr_Letters]][[_$as_cr_alnum]]*="` AS_ECHO(["$ac_[]_AC_LANG_ABBREV[]_v_output"]) >&AS_MESSAGE_LOG_FD _AC_LANG_PREFIX[]FLAGS=$ac_save_FFLAGS