From: Michael Wallner Date: Tue, 11 Oct 2005 09:00:54 +0000 (+0000) Subject: - don't link explicitly against zlib, as ext/zlib is enabled by default and libphp X-Git-Tag: RELEASE_0_15_0~6 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=commitdiff_plain;h=63e6b23a0f7f61a169bddd5b80d4d8114a147deb - don't link explicitly against zlib, as ext/zlib is enabled by default and libphp exports the zlib functions; should fix the build on edins box --- diff --git a/config.w32 b/config.w32 index 6c0fa81..5f176d5 100644 --- a/config.w32 +++ b/config.w32 @@ -22,8 +22,7 @@ if (PHP_HTTP != "no") { ADD_FLAG("CFLAGS_HTTP", "/W3"); } - if (CHECK_HEADER_ADD_INCLUDE('zlib.h', 'CFLAGS_HTTP') && - CHECK_LIB('zlib.lib')) { + if (CHECK_HEADER_ADD_INCLUDE('zlib.h', 'CFLAGS_HTTP')) { AC_DEFINE('HTTP_HAVE_ZLIB', 1, "Have zlib library"); } else { WARNING("zlib encoding functions not enabled; libraries and headers not found");