]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix Fortran testsuite failures with gfortran 4.3.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 24 Mar 2008 10:44:36 +0000 (11:44 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 24 Mar 2008 10:44:36 +0000 (11:44 +0100)
* 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>
ChangeLog
THANKS
lib/autoconf/fortran.m4

index 4e1cf7447dc3794521031752d1630cd20d83cbc1..fc99ae61cc479532f466a525b51ba5b1a139de4f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/THANKS b/THANKS
index a561cfbb88e99ae2179febace0ca09b61f004fd0..1227291a8e66039f5e85b21e3159e32264719cbf 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -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
index fa476b332d7eba430443b77bb6da2ee58535821d..96ce4b85e96a085ff1013e80015f0907c0933db4 100644 (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