diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-05-05 16:27:52 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-05-05 21:37:42 +0200 |
commit | 67fb18adb072199d74c3a4b6caa6028be6b0f11e (patch) | |
tree | 52855c1883b7eb64ec2f0fa99ef43ce1ac267b70 /source4/lib | |
parent | 1969b4acc3fd7c124e288d0495b9b4665d4b42db (diff) | |
download | samba-67fb18adb072199d74c3a4b6caa6028be6b0f11e.tar.gz samba-67fb18adb072199d74c3a4b6caa6028be6b0f11e.tar.bz2 samba-67fb18adb072199d74c3a4b6caa6028be6b0f11e.zip |
s4-ldb: check for ldap_initialize
HPUX 11.0 has a ldap library that doesn't have ldap_initialize
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
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) |