Andreas Jellinghaus wrote:
Howard Chu wrote:
In OpenLDAP's configure.in we use

...

so does libltdl never need any libraries
linked to it? like "-ldl" on some systems
or something else? all that complexity is usualy hidden in an m4 macro package,
a libfoo-config script or a pkgconfig/libfoo.pc
file.

I guess I should better probe for libdl and
link with it, too? anthing else?

If you use libtool for linking, and the libltdl.la file is installed, then dependencies are taken care of automatically. If you're not using libtool for linking, then you're making a mistake. The point of using libtool and libltdl is to avoid having to check for other system-specific dependencies. Checking for libdl is (a) redundant since libtool's configure script would have already looked for it and (b) insufficient since other platforms may use some other name for their dynamic linking support library.

--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to