]> granicus.if.org Git - php/commitdiff
- simplify and use PHP_CURL
authorPierre Joye <pajoye@php.net>
Fri, 24 Apr 2009 09:25:14 +0000 (09:25 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 24 Apr 2009 09:25:14 +0000 (09:25 +0000)
ext/curl/config.w32

index de92bff7aa88d5d68d9c2731990924417067a239..930adcfd412e79d7559cfb2e0ca9d654528b1e4d 100644 (file)
@@ -10,8 +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", "curl", PHP_ZIP) ||  CHECK_LIB("zlib.lib", "curl", PHP_ZIP))) || 
-                       (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "curl", PHP_ZIP)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED)))
+               && (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "curl", PHP_CURL))) || 
+                       (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "curl", PHP_CURL)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED)))
                ) {
                EXTENSION("curl", "interface.c multi.c streams.c", true);
                AC_DEFINE('HAVE_CURL', 1, 'Have cURL library');