- don't link explicitly against zlib, as ext/zlib is enabled by default and libphp
authorMichael Wallner <mike@php.net>
Tue, 11 Oct 2005 09:00:54 +0000 (09:00 +0000)
committerMichael Wallner <mike@php.net>
Tue, 11 Oct 2005 09:00:54 +0000 (09:00 +0000)
  exports the zlib functions; should fix the build on edins box

config.w32

index 6c0fa81c756f3e12185e82a732ce68112433b2a5..5f176d50378871f27c52ecda25d7040e4e96bd1c 100644 (file)
@@ -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");