On Thursday 16 September 2010, Eric Blake wrote:
> On 07/01/2010 07:00 AM, Stefano Lattarini wrote:
> > This is a minimal example exposing a bug that bit me while I was
> > running the Automake testsuite on a Solaris system.  The bug
> > seems to be located in the macro `AC_FC_LIBRARY_LDFLAGS'.
> > 
> > $ cat configure.ac
> > AC_INIT([foo], [1.0])
> > AC_PROG_FC
> > AC_FC_LIBRARY_LDFLAGS
> > AC_CONFIG_FILES([Makefile])
> > AC_OUTPUT
> > 
> > $ cat Makefile.in
> > FCLIBS = @FCLIBS@
> > default:; @echo $(FCLIBS)
> > 
> > checking for Fortran libraries of gfortran...  -R/usr/local/lib'
> > -L/usr/ccs/lib -L/usr/lib
> > -L/usr/local/lib/gcc/i386-pc-solaris2.10/4.4.4
> > -L/usr/local/lib/gcc/i386-pc-solaris2.10/4.4.4/../../..
> > -lgfortranbegin - lgfortran -lm
> > configure: creating ./config.status
> > config.status: creating Makefile
> > 
> > $ cat Makefile # note the unbalanced single quote in definition
> > of FCLIBS
> 
> Have you had a chance to look into this any deeper?
No, but I might give it a try.
> I haven't (yet) looked at it because I'm pretty weak at Fortran
> to begin with.
I'm pretty certain I'm even weaker, so don't expect too much (but
you never know).

Anyway, thanks for showing interest in this.
   Stefano


Reply via email to