aboutsummaryrefslogtreecommitdiff
path: root/packages/DOS/common.dj
diff options
context:
space:
mode:
Diffstat (limited to 'packages/DOS/common.dj')
-rw-r--r--packages/DOS/common.dj15
1 files changed, 12 insertions, 3 deletions
diff --git a/packages/DOS/common.dj b/packages/DOS/common.dj
index 4cf95c79d..2ca0cb58b 100644
--- a/packages/DOS/common.dj
+++ b/packages/DOS/common.dj
@@ -25,7 +25,12 @@ USE_ZLIB = 0
#
# Use Watt-32 IPv6 stack (only IPv6 name resolution working at the moment)
#
-USE_IPV6 = 1
+USE_IPV6 = 0
+
+#
+# Enable debug code in libcurl/curl
+#
+USE_DEBUG = 0
default: all
@@ -35,12 +40,12 @@ default: all
#
WATT32_ROOT = $(subst \,/,$(WATT_ROOT))
OPENSSL_ROOT = /net/openssl.098
-ZLIB_ROOT = /djgpp/contrib/zlib.121
+ZLIB_ROOT = /djgpp/contrib/zlib
CC = gcc
YACC = bison -y
-CFLAGS = -g -O2 -I. -I../include -Wall -DHAVE_CONFIG_H -DHAVE_SPNEGO
+CFLAGS = -g -O2 -I. -I../include -I../lib -Wall -DHAVE_CONFIG_H
ifeq ($(USE_SSL),1)
CFLAGS += -DUSE_SSLEAY
@@ -54,6 +59,10 @@ ifeq ($(USE_IPV6),1)
CFLAGS += -DENABLE_IPV6
endif
+ifeq ($(USE_DEBUG),1)
+ CFLAGS += -DDEBUG=1 -DCURLDEBUG #-DMALLOCDEBUG=1 -DDPRINTF_DEBUG2=1
+endif
+
#
# Generated dependencies; Due to some hacks in gcc 2.95+ and djgpp 2.03
# we must prevent "$(DJDIR)/bin/../include/sys/version.h" from beeing