X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config.w32;h=af89ae71b32489b3c69d95d387f03fab68907deb;hp=8120ff23036a18b8a28f12a58955b3ac5af282d5;hb=92f5e5a5df0bff3d8076c1f5ed73590b40849501;hpb=3b0107c29147abb7a4f972b0edfcaf7928bd288c diff --git a/config.w32 b/config.w32 index 8120ff2..af89ae7 100644 --- a/config.w32 +++ b/config.w32 @@ -29,6 +29,13 @@ if (PHP_HTTP != "no") { } else { WARNING("zlib encoding functions not enabled; libraries and headers not found"); } + + if (PHP_HASH != "no") { + if (glob(configure_module_dirname +"\\..\\hash\\php_hash_sha.h").length) { + ADD_FLAG("CFLAGS_HTTP", "/I"+ configure_module_dirname +"\\..\\hash"); + AC_DEFINE("HTTP_HAVE_HASH_EXT_INCLUDES", 1, ""); + } + } MHASH_LIB = PHP_DEBUG != "no" ? "libmhash-staticd.lib":"libmhash-static.lib"; if (CHECK_HEADER_ADD_INCLUDE('mhash.h', 'CFLAGS_HTTP') &&