Joe Orton wrote:
On Fri, Apr 28, 2006 at 07:06:07PM -0700, Henry Jen wrote:
Attached please find a new patch using AC_CHECK_LIB to find the correct
library path.
If you want to rewrite this code then look at dbm.m4 for how to do it
properly.
- you can't just call AC_CHECK_LIB, you need to cache and display
results properly
Uh? The result are cached in expat_xxx as they were before. Am I missing
something?
- the -R flag should really never be used, especially like this - at the
very least, you can't assume all linkers support it. You generally can
rely on libtool to add RPATHs iff necessary.
Hmm, I don't know about how libtool add RPATH. Does it apply to
situation like this(solve dependencies on some other share libraries
without a .la) or it only works for *creating* a .la?
Cheers,
Henry