ldb-waf: ldb needs HAVE_CONFIG_H for building a bundled popt
authorAndrew Tridgell <tridge@samba.org>
Mon, 29 Mar 2010 06:20:39 +0000 (17:20 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:16 +0000 (20:27 +1000)
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)
 
+    conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)
+
     conf.SAMBA_CONFIG_H()
 
 def build(bld):