s4-waf: Fixed the ldb build.
authorStefan Metzmacher <metze@samba.org>
Mon, 31 May 2010 10:51:58 +0000 (12:51 +0200)
committerAndreas Schneider <asn@samba.org>
Mon, 31 May 2010 10:51:58 +0000 (12:51 +0200)
source4/lib/ldb/wscript

index 02820737dc75c510db48c489f72e7eedb0fec0d7..15740d6b744b88c608fa40bdf5cb2c57912d53c0 100644 (file)
@@ -48,9 +48,9 @@ def configure(conf):
     if conf.env.standalone_ldb:
         conf.find_program('xsltproc', var='XSLTPROC')
 
-    # we need this for the ldap backend
-    if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
-        conf.env.ENABLE_LDAP_BACKEND = True
+        # we need this for the ldap backend
+        if conf.CHECK_FUNCS_IN('ber_flush ldap_open ldap_initialize', 'lber ldap', headers='lber.h ldap.h'):
+            conf.env.ENABLE_LDAP_BACKEND = True
 
     conf.DEFINE('HAVE_CONFIG_H', 1, add_to_cflags=True)