[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to replace a function
From: |
Rob Browning |
Subject: |
Re: How to replace a function |
Date: |
Fri, 07 Mar 2003 10:38:33 -0600 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) |
address@hidden writes:
> 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?
If I understand what you're doing right, you might be able to just
make sure that you have the right -L and -l args in LDFLAGS and LIBS
before you call AC_REPLACE_FUNCS. However, even if this does work in
the normal case, depending on how AC_REPLACE_FUNCs works, this may or
may not work when cross-compiling. I don't really have any experience
with AC_REPLACE_FUNCS in particular, so I'm just guessing here.
Hope this helps
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4