summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-03-20 17:51:22 +0100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:02 +1000
commitac9d39d1081a31542d832c547901b453ec58ded4 (patch)
tree4284e518103d3517713a6a869e59e91eb76feac8 /source3
parent59074dcfb1b07d487f01c63d1e06408605332884 (diff)
downloadsamba-ac9d39d1081a31542d832c547901b453ec58ded4.tar.gz
samba-ac9d39d1081a31542d832c547901b453ec58ded4.tar.bz2
samba-ac9d39d1081a31542d832c547901b453ec58ded4.zip
build: Check for LDAP libraries
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 4b140baccf..ee2dd92bcb 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -43,4 +43,8 @@ def configure(conf):
conf.check_cfg(path="cups-config", args="--cflags --ldflags --libs", package="", uselib_store="CUPS")
conf.CHECK_HEADERS('cups/cups.h cups/language.h', add_headers=False)
+ # Check for LDAP
+ conf.CHECK_HEADERS('ldap.h lber.h')
+ conf.CHECK_TYPE('ber_tag_t', 'unsigned int')
+
conf.SAMBA_CONFIG_H('include/config.h')