From: Andrew Tridgell Date: Wed, 5 May 2010 14:27:52 +0000 (+0200) Subject: s4-ldb: check for ldap_initialize X-Git-Tag: samba-3.6.0pre1~2204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67fb18adb072199d74c3a4b6caa6028be6b0f11e;p=thirdparty%2Fsamba.git s4-ldb: check for ldap_initialize HPUX 11.0 has a ldap library that doesn't have ldap_initialize --- diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 17f6d6bb357..b135034ade2 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -46,7 +46,7 @@ def configure(conf): implied_deps='replace talloc tdb tevent'): conf.define('USING_SYSTEM_LDB', 1) # we need this for the ldap backend - if conf.CHECK_FUNCS_IN('ber_flush ldap_open', 'lber ldap', headers='lber.h ldap.h'): + if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'): conf.env.ENABLE_LDAP_BACKEND = True conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)