aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/DOS/README7
-rw-r--r--packages/DOS/common.dj15
2 files changed, 19 insertions, 3 deletions
diff --git a/packages/DOS/README b/packages/DOS/README
index 403c0ddd2..c2ab9b9aa 100644
--- a/packages/DOS/README
+++ b/packages/DOS/README
@@ -2,3 +2,10 @@ Gisle Vanem made curl build fine on DOS (and MingW) with djgpp, OpenSSL and his
Watt-32 stack.
'make djgpp' in the root curl dir should build it fine.
+
+Note 1: djgpp 2.04 beta has a sscanf() bug so the URL parsing isn't
+ done proberly. Use djgpp 2.03 until they fix it.
+
+Note 2: Compile Watt-32 (and OpenSSL) with the same version of djgpp.
+ Otherwise things go wrong because things like FS-extensions and
+ errnos have been changed between releases.
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