[EMAIL PROTECTED] 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
