Re: Forcing FC instead of F77

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

 



Hello Jeff,

* Daily, Jeff A wrote on Mon, Feb 08, 2010 at 11:21:02PM CET:
> http://lists.gnu.org/archive/html/autoconf/2006-01/msg00044.html.
[...]
> I thought I was forced to use AC_PROG_F77 since when I used AC_PROG_FC
> instead, I was issued the warning "Fortran 77 source seen but 'F77' is
> undefined".  I was hoping AC_FC_SRCEXT([f]) would help, but I didn't
> get my hopes up and validated it didn't work as hoped.  Yes, it is
> technically Fortran 77 source, but why can't I use AC_PROG_FC in lieu
> of AC_PROG_F77 without complaints?

Does it work to set
  F77 = $(FC)
  FFLAGS = $(FCFLAGS)

in Makefile.am (or AC_SUBST them from configure.ac)?

The fact that automake won't add $(FCFLAGS_f) to the compile command for
files with extension .f should not hurt AFAIK.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://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