From 129c98c983c62d1b8ccaa9067a755da7a98733ea Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Fri, 24 Apr 2009 09:25:14 +0000 Subject: [PATCH] - simplify and use PHP_CURL --- ext/curl/config.w32 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/curl/config.w32 b/ext/curl/config.w32 index de92bff7aa..930adcfd41 100644 --- a/ext/curl/config.w32 +++ b/ext/curl/config.w32 @@ -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'); -- 2.50.1