From: Stefano Lattarini Date: Fri, 20 Jan 2012 19:52:02 +0000 (+0100) Subject: fixlet: flags for Fortran77 compiler are in FFLAGS, not F77FLAGS X-Git-Tag: v1.11.2b~2^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84fbf466f32d0e47291a91d620f7d4831bba34fe;p=thirdparty%2Fautomake.git 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. --- 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',