+ WARNING("zlib encoding functions not enabled; libraries and headers not found");
+ }
+
+ if (PHP_HASH != "no") {
+ var f;
+ STDOUT.Write("Checking for ext/hash ... ");
+ if (glob((f = configure_module_dirname +"\\..\\hash") +"\\php_hash.h").length ||
+ glob((f = configure_module_dirname +"\\..\\..\\..\\pecl\\hash") +"\\php_hash.h").length) {
+ ADD_FLAG("CFLAGS_HTTP", "/I"+ f);
+ AC_DEFINE("HTTP_HAVE_EXT_HASH", 1, "");
+ ADD_EXTENSION_DEP("http", "hash", true);
+ STDOUT.WriteLine(condense_path(f));
+ } else {
+ STDOUT.WriteLine("<not found>");
+ }