diff --git a/develop/apr-util/apr-util.conf b/develop/apr-util/apr-util.conf index 2199725ce..5da2a1ed0 100644 --- a/develop/apr-util/apr-util.conf +++ b/develop/apr-util/apr-util.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../apr-util/apr-util.conf -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2011 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -34,6 +34,9 @@ if pkginstalled openldap; then var_append extraconfopt " " "--with-ldap" var_append extraconfopt " " "--with-ldap-include=$root$( pkgprefix includedir openldap )" var_append extraconfopt " " "--with-ldap-lib=$root$( pkgprefix libdir openldap )" + # configure script wrongly chooses "rebind_proc_style=two" if openldap is detected + var_append configcache ' ' "apu_has_ldap_openldap=1" + var_append configcache ' ' "ac_cv_ldap_set_rebind_proc_style=three" fi if pkginstalled bdb; then