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 - 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. Regards, joe
