Wait, no: the argument for `$CPPFLAGS' also applies to `$LDFLAGS'.  That
  is, if `-L' flags are passed through `$LDFLAGS' to `configure', like
  `-L/path/to/gmp', then they must be reported by "guile-config link".

  Admittedly, it has the undesirable side-effect of reporting completely
  unrelated link flags as well.  Unfortunately, I'm not sure we could
  reliably filter `$LDFLAGS'.

And, this really should use -Wl,-R as well on platforms that use the -R
convention.

Strictly speaking, I think we need both LDFLAGS and -L$(libdir); it may
be that guile was built with prereqs from one place and installed in
another.  But it may always put it's own libdir in LDFLAGS.

It would be nice to see a pkg-config file for guile; I kind of remember
this floating around on the list but 1.8.3 doesn't seem to install it.



Reply via email to