Re: bug#10555: automake: wrong use of F77FLAGS instead of FFLAGS?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/19/2012 02:45 PM, Stefano Lattarini wrote:
>
> [SNIP]
>
> So, to all autoconfers: do you happen to know any reason for which Automake
> should use F77FLAGS? If not, I'll assume that is due to a typo or clerical
> mistake, and fix it (in 48 hours or so).
> 
The attached patch should take care of this.  I'll push it tomorrow if there
is no objection.

Thanks,
  Stefano
>From c515aac8817b20a8f0a6ed8969f1f1d0b37c3802 Mon Sep 17 00:00:00 2001
Message-Id: <c515aac8817b20a8f0a6ed8969f1f1d0b37c3802.1327089175.git.stefano.lattarini@xxxxxxxxx>
From: Stefano Lattarini <stefano.lattarini@xxxxxxxxx>
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.

* 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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/Automake/Variable.pm b/lib/Automake/Variable.pm
index 686847d..8f712bd 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',
-- 
1.7.7.3

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux