Skip to content

Commit

Permalink
Clean / Improve the curl extension
Browse files Browse the repository at this point in the history
# NEWS file will come soon
  • Loading branch information
adoy committed Dec 1, 2011
1 parent 2b25c93 commit e69f987
Show file tree
Hide file tree
Showing 9 changed files with 1,117 additions and 661 deletions.
2 changes: 1 addition & 1 deletion ext/curl/config.m4
Expand Up @@ -156,6 +156,6 @@ int main(int argc, char *argv[])
AC_DEFINE(PHP_CURL_URL_WRAPPERS,1,[ ])
fi

PHP_NEW_EXTENSION(curl, interface.c multi.c streams.c, $ext_shared)
PHP_NEW_EXTENSION(curl, interface.c multi.c share.c streams.c, $ext_shared)
PHP_SUBST(CURL_SHARED_LIBADD)
fi
2 changes: 1 addition & 1 deletion ext/curl/config.w32
Expand Up @@ -13,7 +13,7 @@ if (PHP_CURL != "no") {
&& (((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);
EXTENSION("curl", "interface.c multi.c share.c streams.c", true);
AC_DEFINE('HAVE_CURL', 1, 'Have cURL library');
AC_DEFINE('HAVE_CURL_SSL', 1, 'Have SSL suppurt in cURL');
AC_DEFINE('HAVE_CURL_EASY_STRERROR', 1, 'Have curl_easy_strerror in cURL');
Expand Down
4 changes: 4 additions & 0 deletions ext/curl/curl.dsp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e69f987

Please sign in to comment.