"Steven G. Johnson" wrote:
> 
> Bob Friesenhahn wrote:
> > Autoconf 2.53 (via autoconf.m4f) considers 'fc' to be a candidate when
> > searching for a FORTRAN compiler. Unfortunately, 'fc' conflicts with a
> > Korn-shell related program found under SVR4-derived systems, or other
> > systems providing the Korn shell:
> 
> Sigh...  Options:
> 
> 1) Ignore it.  'fc' is the last name checked for, so it's not like
> AC_PROG_F77 could have succeeded.
> 
> 2) Remove 'fc' from the list of names checked, letting the user specify
> it manually with F77=fc if necessary.  (fc was in the "historical"
> autoconf 2.13 list, if I remember correctly.  I've never actually seen a
> program of this name myself.  Anyone?)
> 
> 3) Figure out some portable(?) way to determine whether fc is the ksh thing.

fc=`which fc` || fc=false

Reply via email to