Dan Mosedale wrote:
Rich Megginson wrote:
Dan Mosedale wrote:
This might be a bit more complicated, since (I presume) on at least
one system (Solaris) the system mozilla-based LDAP sdk is in
/usr/include/ldap. Perhaps Anton can confirm or deny?
The Solaris situation is quite complicated, but Anton and I are
working on trying to figure out a way to solve this. My new packaging
is mostly geared towards linux.
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>
Dan
_______________________________________________
mozilla-directory mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-directory