PHP_ARG_WITH([http-magic-mime], [whether to enable response content type guessing],
[ --with-http-magic-mime[=LIBMAGICDIR]
HTTP: with magic mime response content type guessing], "no", "no")
+PHP_ARG_WITH([http-shared-deps], [whether to depend on shared extensions],
+[ --with-http-shared-deps HTTP: disable to not depend on shared extensions
+ like SPL, hash, iconv and session], $PHP_HTTP, $PHP_HTTP)
if test "$PHP_HTTP" != "no"; then
])
])
+ if test "PHP_HTTP_SHARED_DEPS" != "no"; then
+ AC_DEFINE([HTTP_SHARED_DEPS], [1], [ ])
+ else
+ AC_DEFINE([HTTP_SHARED_DEPS], [0], [ ])
+ endif
+
dnl -------
dnl HEADERS
dnl -------
[AC_DEFINE([HAVE_CURL_EASY_RESET], [1], [ ])], [ ],
[$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
)
+ dnl Debian suddenly (>=7.14.1-2) hides all symbols not starting with "curl"
+ PHP_CHECK_LIBRARY(curl, Curl_getFormData,
+ [AC_DEFINE([HAVE_CURL_GETFORMDATA], [1], [ ])], [ ],
+ [$CURL_LIBS -L$CURL_DIR/$PHP_LIBDIR]
+ )
fi
dnl ----