ldb-waf: ldb needs HAVE_CONFIG_H for building a bundled popt
[nivanova/samba-autobuild/.git] / source4 / lib / ldb / wscript
index ffbb68e4b885551792d23badf7a173c360415d70..a7419e1981c716349956776c0f5cbd0fd600752a 100644 (file)
@@ -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)
 
         # 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):
     conf.SAMBA_CONFIG_H()
 
 def build(bld):