git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb157e1
)
build: Try not build with LDAP if we do not have ldap.h
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 22 Sep 2012 04:57:22 +0000
(21:57 -0700)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 22 Sep 2012 05:29:22 +0000
(07:29 +0200)
source3/wscript
patch
|
blob
|
history
diff --git
a/source3/wscript
b/source3/wscript
index d0e76f361781294558f640ca16cec25d67908ca0..23ea327d0b322873d5b47aa1a41cb96c6476c6c8 100644
(file)
--- a/
source3/wscript
+++ b/
source3/wscript
@@
-541,7
+541,7
@@
msg.msg_acctrightslen = sizeof(fd);
conf.DEFINE('LDAP_SET_REBIND_PROC_ARGS', '2')
# last but not least, if ldap_init() exists, we want to use ldap
- if conf.CONFIG_SET('HAVE_LDAP_INIT'):
+ if conf.CONFIG_SET('HAVE_LDAP_INIT')
and conf.CONFIG_SET('HAVE_LDAP_H')
:
conf.DEFINE('HAVE_LDAP', '1')
conf.DEFINE('LDAP_DEPRECATED', '1')
conf.env['HAVE_LDAP'] = '1'