Mark,
On 2004 Aug 19 , at 12.51, Mark Taylor wrote:
> The generated Makefile doesn't contain the string @FCLIBS@,
> I *think* it's something to do with libtool:
alink (actually ailink.in.m4) has a @FCLIBS@ token in it, in I think
that location. Can you look and confirm whether your installed alink
does indeed have the unsubstituted token, and see if it's still there
if you build a current libraries/pcs/dtask component.
> Poking around a little bit, the following section from the
> STAR_RESTFP_FIX
> stanza in starconf.m4.in looks a little bit suspicious:
>
> # Define FCLIBS, just as AC_FC_LIBRARY_LDFLAGS does
> case $star_cv_restfp_fixup in
> lgcc)
> LIBS="$LIBS -L/usr/lib -lgcc"
> ;;
That does look suspicious -- I think it's the comment that's wrong,
though. The beginning of that macro says it'll add the required
libraries to LIBS, which is what it does. I think I remember changing
this, precisely so that the extra fixup happened invisibly, and didn't
need extra tokens in the source. I've committed modified comments.
Thanks for finding this.
Norman
--
----------------------------------------------------------------------
Norman Gray : Physics & Astronomy, Glasgow University, UK
http://www.astro.gla.ac.uk/users/norman/ : www.starlink.ac.uk
|