mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
Disable --with-curlwrappers.
(Pending support from libcurl itself)
This commit is contained in:
parent
678829add6
commit
ec955b07bb
1 changed files with 9 additions and 2 deletions
|
@ -6,8 +6,8 @@ PHP_ARG_WITH(curl, for CURL support,
|
||||||
[ --with-curl[=DIR] Include CURL support])
|
[ --with-curl[=DIR] Include CURL support])
|
||||||
|
|
||||||
dnl Temporary option while we develop this aspect of the extension
|
dnl Temporary option while we develop this aspect of the extension
|
||||||
PHP_ARG_WITH(curlwrappers, if we should use CURL for url streams,
|
dnl PHP_ARG_WITH(curlwrappers, if we should use CURL for url streams,
|
||||||
[ --with-curlwrappers Use CURL for url streams], no, no)
|
dnl [ --with-curlwrappers Use CURL for url streams], no, no)
|
||||||
|
|
||||||
if test "$PHP_CURL" != "no"; then
|
if test "$PHP_CURL" != "no"; then
|
||||||
if test -r $PHP_CURL/include/curl/easy.h; then
|
if test -r $PHP_CURL/include/curl/easy.h; then
|
||||||
|
@ -61,6 +61,13 @@ if test "$PHP_CURL" != "no"; then
|
||||||
$CURL_LIBS -L$CURL_DIR/lib
|
$CURL_LIBS -L$CURL_DIR/lib
|
||||||
])
|
])
|
||||||
|
|
||||||
|
PHP_CHECK_LIBRARY(curl,curl_version_info,
|
||||||
|
[
|
||||||
|
AC_DEFINE(HAVE_CURL_VERSION_INFO,1,[ ])
|
||||||
|
],[],[
|
||||||
|
$CURL_LIBS -L$CURL_DIR/lib
|
||||||
|
])
|
||||||
|
|
||||||
if test "$PHP_CURLWRAPPERS" != "no" ; then
|
if test "$PHP_CURLWRAPPERS" != "no" ; then
|
||||||
AC_DEFINE(PHP_CURL_URL_WRAPPERS,1,[ ])
|
AC_DEFINE(PHP_CURL_URL_WRAPPERS,1,[ ])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue