cURL / Mailing Lists / curl-users / Single Mail


RE: zlib & win32

From: Roth, Kevin P. <>
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 @@
 ifdef ZLIB
        INCLUDES += -I"$(ZLIB_PATH)"
        DLL_LIBS += -L$(ZLIB_PATH) -lz

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

- Kevin

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