From 67fb18adb072199d74c3a4b6caa6028be6b0f11e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 5 May 2010 16:27:52 +0200 Subject: s4-ldb: check for ldap_initialize HPUX 11.0 has a ldap library that doesn't have ldap_initialize --- source4/lib/ldb/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index 17f6d6bb35..b135034ade 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) -- cgit