X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config.w32;h=8822ef4fac041c9ce6126f7ce871fadfdb49f8db;hp=23a2dd1ec3e78600fde5ac81d9533f2a770a5467;hb=39feb7a7e30bb4b393a6f76aa2f35d4e9275523e;hpb=bb9aedc2855f63da858d3c92e2863e7d9ed72a77 diff --git a/config.w32 b/config.w32 index 23a2dd1..8822ef4 100644 --- a/config.w32 +++ b/config.w32 @@ -17,6 +17,10 @@ if (PHP_HTTP != "no") { "/I\"" + configure_module_dirname + "/phpstr\""); ADD_SOURCES(configure_module_dirname + "/phpstr", "phpstr.c", "http"); AC_DEFINE("HAVE_HTTP", 1, "Have extended HTTP support"); + + if (PHP_DEBUG != "no") { + ADD_FLAG("CFLAGS_HTTP", "/W3"); + } MHASH_LIB = PHP_DEBUG != "no" ? "libmhash-staticd.lib":"libmhash-static.lib"; if (CHECK_HEADER_ADD_INCLUDE('mhash.h', 'CFLAGS_HTTP') &&