X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config.m4;h=0fc8c7f6c774f25eb3fc85914f10b6c0881571c8;hp=0339acc3e74177b5cd3f6f71e0a8197cf69b9271;hb=ebf03950ffaea849b931adf83b6c20ac9fb7ef33;hpb=9676c81efbb8f180fa189d71a7ecb50dde4f5646 diff --git a/config.m4 b/config.m4 index 0339acc..0fc8c7f 100644 --- a/config.m4 +++ b/config.m4 @@ -13,6 +13,9 @@ PHP_ARG_WITH([http-zlib-compression], [whether to enable zlib encodings support] 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 @@ -31,6 +34,12 @@ 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 -------