]> granicus.if.org Git - php/commitdiff
- new naming and allow libcurl static build
authorPierre Joye <pajoye@php.net>
Wed, 19 Nov 2008 09:28:54 +0000 (09:28 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 19 Nov 2008 09:28:54 +0000 (09:28 +0000)
- c/p error for zlib

ext/curl/config.w32

index d7ca9ff7fa5789c1705e820953912f1b7abb35fe..ab0169cca7d306c544724cfe91d0c3e955709aa7 100644 (file)
@@ -4,12 +4,12 @@
 ARG_WITH("curl", "cURL support", "no");
 
 if (PHP_CURL != "no") {
-       if (CHECK_LIB("libcurl.lib", "curl", PHP_CURL) &&
+       if (CHECK_LIB("libcurl_a.lib;libcurl.lib", "curl", PHP_CURL) &&
                        CHECK_HEADER_ADD_INCLUDE("curl/easy.h", "CFLAGS_CURL") &&
                        CHECK_LIB("ssleay32.lib", "curl", PHP_CURL) &&
                        CHECK_LIB("libeay32.lib", "curl", PHP_CURL) &&
-               (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib", "gd", PHP_GD) || CHECK_LIB("zlib.lib", "gd", PHP_GD))) || 
-                       (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "gd", PHP_GD)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) &&
+               (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib", "curl", PHP_CURL) || CHECK_LIB("zlib.lib", "curl", PHP_CURL))) || 
+                       (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "curl", PHP_CURL)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) &&
                        CHECK_LIB("winmm.lib", "curl", PHP_CURL)) {
                EXTENSION("curl", "interface.c multi.c streams.c");
                AC_DEFINE('HAVE_CURL', 1, 'Have cURL library');