Re: Fw: BUG: AC_PROG_FC does not define GCF when compiler is gfortran

2012-06-16 Thread Stefano Lattarini
On 06/16/2012 09:15 AM, Fabrício Zimmerer Murta wrote: > Well, as stated, the fix is quite simple. > > And voila. Newly generated configure will say ‘yes’ or ‘’ to GFC according to > your compiler. > (had to re-generate autoconf.m4f with autom4te --language=autoconf --freeze > --output=autoconf.

Re: BUG: AC_PROG_FC does not define GCF when compiler is gfortran

2012-06-16 Thread Stefano Lattarini
On 06/16/2012 08:50 AM, Fabrício Zimmerer Murta wrote: > If I read > http://www.gnu.org/software/autoconf/manual/autoconf.html#Specifying-Target-Triplets, > I read: > If using gfortran or g77 (the GNU Fortran compilers), then set the shell > variable GFC to ‘yes’. > If the output variable FCFLAG

Re: How to use flex and bison with the C++ interface ?

2012-06-16 Thread Stefano Lattarini
On 06/15/2012 03:19 PM, Timothy Madden wrote: > Hello > > Can automake use flex and bison to generate .cc files from lexer.ll and > parser.yy files ? > Yes (with some limitations in the use of more advanced Bison features, sadly). > I currently get this error from the make command: > > [adr

BUG: AC_PROG_FC does not define GCF when compiler is gfortran

2012-06-16 Thread Fabrício Zimmerer Murta
If I read http://www.gnu.org/software/autoconf/manual/autoconf.html#Specifying-Target-Triplets, I read: If using gfortran or g77 (the GNU Fortran compilers), then set the shell variable GFC to ‘yes’. If the output variable FCFLAGS was not already set in the environment, then set it to -g -02 fo

Fw: BUG: AC_PROG_FC does not define GCF when compiler is gfortran

2012-06-16 Thread Fabrício Zimmerer Murta
Well, as stated, the fix is quite simple. And voila. Newly generated configure will say ‘yes’ or ‘’ to GFC according to your compiler. (had to re-generate autoconf.m4f with autom4te --language=autoconf --freeze --output=autoconf.m4f) The patch would be as simple as: --- fortran.m4 2012-05-26 2