summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-29 17:20:39 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:16 +1000
commit3e017464201818d940128ca47b5c4f2703a23d63 (patch)
treec4bebb9f47fa06b22a3b448c6839a62e463ae042 /source4/lib/ldb/wscript
parent65edcfa01600db1e6140e147ef74d4904fc531ed (diff)
downloadsamba-3e017464201818d940128ca47b5c4f2703a23d63.tar.gz
samba-3e017464201818d940128ca47b5c4f2703a23d63.tar.bz2
samba-3e017464201818d940128ca47b5c4f2703a23d63.zip
ldb-waf: ldb needs HAVE_CONFIG_H for building a bundled popt
Diffstat (limited to 'source4/lib/ldb/wscript')
-rw-r--r--source4/lib/ldb/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index ffbb68e4b8..a7419e1981 100644
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -37,6 +37,8 @@ def configure(conf):
# we need this for the ldap backend
conf.CHECK_FUNCS_IN('ber_flush ldap_open', 'lber ldap', headers='lber.h ldap.h', mandatory=True)
+ conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)
+
conf.SAMBA_CONFIG_H()
def build(bld):