On Sat, Jun 05, 2004 at 09:54:03PM +0200, Stephane Bortzmeyer wrote: > On Wed, Jun 02, 2004 at 12:51:31PM -0500, > Albert Chin <[EMAIL PROTECTED]> wrote > a message of 21 lines which said: > > > Does this work: > > AC_SEARCH_LIBS(dlopen, [-ldl]) > > > > This will add -ldl to $LIBS if needed. I think $LIBS is automatically > > linked into the main program. > > It does but it tests dlopen once more, while it was already tested for > libtool. So, it is a small waste.
But autoconf caches the test. It's better to use a duplicate test than some internal variable. -- albert chin ([EMAIL PROTECTED]) _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool