]> granicus.if.org Git - php/commitdiff
- check for zlib too
authorPierre Joye <pajoye@php.net>
Sun, 25 Jan 2009 16:21:03 +0000 (16:21 +0000)
committerPierre Joye <pajoye@php.net>
Sun, 25 Jan 2009 16:21:03 +0000 (16:21 +0000)
ext/curl/config.w32

index 23d349dbef2be8668752d04fdb4feec9ec1e4859..33e5ad75f2c4babcb262c2204bc811796fd4e88b 100644 (file)
@@ -10,6 +10,8 @@ if (PHP_CURL != "no") {
                        CHECK_LIB("libeay32.lib", "curl", PHP_CURL) 
                && CHECK_LIB("winmm.lib", "curl", PHP_CURL)
                && CHECK_LIB("wldap32.lib", "curl", PHP_CURL)
+               && (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib", "zip", PHP_ZIP) ||  CHECK_LIB("zlib.lib", "zip", PHP_ZIP))) || 
+                       (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "zip", PHP_ZIP)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED)))
                ) {
                EXTENSION("curl", "interface.c multi.c streams.c", true);
                AC_DEFINE('HAVE_CURL', 1, 'Have cURL library');