On Wed, Jun 02, 2004 at 04:14:23PM +0200, Stephane Bortzmeyer wrote: > On Wed, Jun 02, 2004 at 08:59:33AM -0500, > Bob Friesenhahn <[EMAIL PROTECTED]> wrote > a message of 30 lines which said: > > > If you use libltdl to do module loading rather than raw dlopen() > > I hesitate. What are the pros and cons? I do not really want to add > yet another dependency to my program.
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. libltdl isn't going to buy you much on the platforms you're interested in. -- albert chin ([EMAIL PROTECTED]) _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool