cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

RE: zlib & win32

From: Roth, Kevin P. <KPRoth_at_MarathonOil.com>
Date: Thu, 30 Jan 2003 12:09:15 -0500

> You need to set both HAVE_ZLIB_H *and* HAVE_ZLIB, and the latter happens
> to be what controls if it appears in the curl -V output (more specificly
> the lib/version.c source file).

OK. Please feel free to scrap my original patch then.

Joern - could a comment be added somewhere in your Win32-SSL-devel distro
(or better yet at the top of Makefile.m32) stating that zlib can be
downloaded from the place mentioned in the previous email. And that,
if you are compiling your own copy, that a user can download the "-lib"
version of zlib and simply needs to copy 3 files into the "zlib-1.1.4"
source directory? They would be libz.a, zlib.h, and zconf.h.

Also - would you consider compiling zlib into your next build of curl?

The only change that's needed for Joern's lib/Makefile.m32 is this:

--- Makefile.m32.old Thu Jan 30 08:00:50 2003
+++ Makefile.m32 Thu Jan 30 08:10:40 2003
@@ -27,7 +27,7 @@
 endif
 ifdef ZLIB
        INCLUDES += -I"$(ZLIB_PATH)"
- CFLAGS += -DHAVE_ZLIB
+ CFLAGS += -DHAVE_LIBZ -DHAVE_ZLIB_H
        DLL_LIBS += -L$(ZLIB_PATH) -lz
 endif
 COMPILE = $(CC) $(INCLUDES) $(CFLAGS)

I'd also update the version number to 1.1.4 at the top...

Thanks,
- Kevin

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
Received on 2003-01-30

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET