Rich Megginson wrote:
Dan Mosedale wrote:

I guess what I'm really hoping can be avoided is having to have a little maze of ifdefs in crossplatform code that decide whether or not to include <ldap/ldap.h> or <mozldap/ldap.h>.

I thought that's what pkg-config was designed to eliminate? E.g. if you are building an app that wants to use mozldap, you just use
pkg-config mozldap cflags-I
to get "-I/usr/include/mozldap" as the include path, and your app
just has #include <ldap.h>

Ah, right you are.  Never mind, then!

Dan

_______________________________________________
mozilla-directory mailing list
mozilla-directory@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-directory

Reply via email to