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.m4f) > > The patch would be as simple as: > --- fortran.m4 2012-05-26 23:17:39.464828247 -0300 > +++ fortran.m4_ 2012-06-16 03:58:07.099697178 -0300 > @@ -382,6 +382,11 @@ > _AC_ARG_VAR_LDFLAGS()dnl > _AC_ARG_VAR_LIBS()dnl > _AC_PROG_FC([$2], [$1]) > +if test $ac_compiler_gnu = yes; then > + GFC=yes > +else > + GFC= > +fi > AC_LANG_POP(Fortran)dnl > ])# AC_PROG_FC > > Best regards, > Fabricio > This is the wrong list. You should redirect this message at <[email protected]>.
Regards, Stefano
