r6790: Use config.h file for ldb and add test for stdint.h
[samba.git] / source / lib / ldb / Makefile.in
index eedab96ef2d604777055572d409d92d4644ba4e0..e7bde046582146362b3802baf5e38bedac22cc8c 100644 (file)
@@ -7,8 +7,9 @@ includedir = @includedir@
 libdir = @libdir@
 bindir = @bindir@
 WITH_GCOV = @WITH_GCOV@
+WITH_LDAP = @WITH_LDAP@
 
-ifeq ($(WITH_LDAP),1)
+ifeq ($(WITH_LDAP),yes)
 OPENLDAP_PREFIX=/usr
 LDAP_LIBS=-L$(OPENLDAP_PREFIX)/lib -llber -lldap
 LDAP_FLAGS=-DHAVE_LDAP=1