aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGuenter Knauf <lists@gknw.net>2011-01-11 18:32:38 +0100
committerGuenter Knauf <lists@gknw.net>2011-01-11 18:32:38 +0100
commitb5cc77bd252db6ca1f083fa4357c52f83e888af8 (patch)
treee3b927ecab122b19262ab5c6c7572fe0f4cd2d3a /lib
parent3d813204260b372894110031cde8595e700ecc85 (diff)
Disable LDAP support since BCC headers are insufficient.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.b328
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Makefile.b32 b/lib/Makefile.b32
index 77404a160..26ddc2e62 100644
--- a/lib/Makefile.b32
+++ b/lib/Makefile.b32
@@ -42,15 +42,21 @@ LDFLAGS = -q -lq -laa -tWD
INCDIRS = -I.;../include
LINKLIB = $(BCCDIR)/lib/cw32mt.lib
-# If you build with SSL support, set WITH_SSL=1
DEFINES = -DNDEBUG -DWIN32 -D_CONSOLE -D_MBCS -DBUILDING_LIBCURL
+# By default we disable LDAP support here since BCC headers are insufficient.
+!ifndef WITH_LDAP
+DEFINES = $(DEFINES) -DCURL_DISABLE_LDAP
+!endif
+
+# If you build with ZLIB support, set WITH_ZLIB=1
!ifdef WITH_ZLIB
DEFINES = $(DEFINES) -DHAVE_LIBZ -DHAVE_ZLIB_H
INCDIRS = $(INCDIRS);$(ZLIB_PATH)
LINKLIB = $(LINKLIB) $(ZLIB_PATH)/zlib.lib
!endif
+# If you build with SSL support, set WITH_SSL=1
!ifdef WITH_SSL
DEFINES = $(DEFINES) -DUSE_SSLEAY
INCDIRS = $(INCDIRS);$(OPENSSL_PATH)/inc32;$(OPENSSL_PATH)/inc32/openssl