From 84fbf466f32d0e47291a91d620f7d4831bba34fe Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 20 Jan 2012 20:52:02 +0100 Subject: [PATCH] fixlet: flags for Fortran77 compiler are in FFLAGS, not F77FLAGS This change fixes automake bug#10555. Note that the bug was a minor one, since it didn't affect the compilation rules generated by automake, but only only the "hints" printed by automake in some error messages (e.g., "The usual way to define `FFLAGS' is to add AC_PROG_F77 to configure.ac"). * lib/Automake/Variable.pm (%_ac_macro_for_var): The code generated by AC_PROG_F77 uses FFLAGS, not F77FLAGS, as the variable where to look for switches for the Fortran 77 compiler: adjust accordingly. --- lib/Automake/Variable.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm index 686847d4f..8f712bd2c 100644 --- a/lib/Automake/Variable.pm +++ b/lib/Automake/Variable.pm @@ -181,7 +181,7 @@ my %_ac_macro_for_var = CXX => 'AC_PROG_CXX', CXXFLAGS => 'AC_PROG_CXX', F77 => 'AC_PROG_F77', - F77FLAGS => 'AC_PROG_F77', + FFLAGS => 'AC_PROG_F77', FC => 'AC_PROG_FC', FCFLAGS => 'AC_PROG_FC', OBJC => 'AC_PROG_OBJC', -- 2.47.2