unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* How to replace a function
@ 2003-03-07 12:37 tomas
  2003-03-07 16:38 ` Rob Browning
  2003-03-07 16:44 ` Rob Browning
  0 siblings, 2 replies; 5+ messages in thread
From: tomas @ 2003-03-07 12:37 UTC (permalink / raw)
  Cc: rm

Hi, lists

we are trying to build a guile extension which should link
smoothly against 1.6 and 1.7. If possible, we would like
to use The Blessed Function (it's scm_c_string2str(), for
the record). But alas, 1.6 hasn't got that. It seems that
AC_REPLACE_FUNCS is the right macro (first do AC_CHECK_LIB,
right?).

The problem is that AC_REPLACE_FUNCS will find one version
of the Guile library, whereas the version I'm going to link
against is the one returned by `guile-config link' or whatever.

My question: Is there a canonical way to solve this? I.e.
is there a way to tell AC_REPLACE_FUNCS *which* library to
look into? Or is it just meant to cope with ``standard system
libraries'' and am I to re-invent the wheel and do a
tentative compile?

Thanks for any hints

-- tomas




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-10 12:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07 12:37 How to replace a function tomas
2003-03-07 16:38 ` Rob Browning
2003-03-10 12:21   ` tomas
2003-03-07 16:44 ` Rob Browning
2003-03-10 12:25   ` tomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).