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 <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2008-03-24 11:44:36 +01:00
parent 34d1406add
commit ec3a1f2269
3 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
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.
2008-03-21 Eric Blake <ebb9@byu.net>
* GNUmakefile: Resynchronize with gnulib.

3
THANKS
View File

@ -334,6 +334,7 @@ Uwe Seimet us@orbacus.com
Vance Shipley vances@motivity.ca
Viktor Dukhovni viktor@anaheim.esm.com
Ville Karaila karaila@iki.fi
Vincent Lefèvre vincent@vinc17.org
Vincent Torri vtorri at univ-evry.fr
Vladimir Volovich vvv@vsu.ru
Volker Borchert bt@teknon.de
@ -355,7 +356,7 @@ mode: text
coding: utf-8
End:
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document

View File

@ -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