svn commit: samba r22049 - in branches:
jra at samba.org
Fri Apr 6 19:38:43 GMT 2007
On Wed, Apr 04, 2007 at 08:59:42AM -0400, McCall, Don (GSE-WTEC-Alpharetta) wrote:
> Hi Jeremy,
> Attached is a diff -u of includes.h that will fix the problem.
> The issue is that we don't have openldap installed on any of our
> internal build machines, only ldapux (which comes with HPUX). So we
> need the ber_tag_t and ber_int_t typedefs in includes.h.
> BUT on systems that have both products (ldapux integration product, AND
> openldap), the typedefs that we use conflict with the typedefs in the
> openldap product. We never ran into this internally, because we don't
> have openldap installed on our production build machines. I modified the
> typedefs in the includes.h so they are consistent with the openldap
> typedefs, so now we just get a warning instead, and the build proceeds.
> REALLY, what we should do is modify the configure.in so that we can
> specify WHICH ldap implementation to use, perhaps add an optional
> component in configure, as libiconv does, to indicate where build
> processing looks for ldap dependent stuff. For example,
> "--with-ldap=/usr/local/openldap". Problem is we'd still need to get
> rid of the typedefs in the include/includes.h if we configured with
> openldap, and I don't know how to do that.
> If you have any ideas, I'd be glad to try to implement this.
> In the meantime, this diff should allow samba_3_0 to build on the build
> farm when openldap and ldapux are both installed.
Applied - thanks.
More information about the samba-technical