projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- add preliminary ext/hash support (currently only for Win32)
[m6w6/ext-http]
/
config.w32
diff --git
a/config.w32
b/config.w32
index 8120ff23036a18b8a28f12a58955b3ac5af282d5..af89ae71b32489b3c69d95d387f03fab68907deb 100644
(file)
--- 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");
}
} 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') &&
MHASH_LIB = PHP_DEBUG != "no" ? "libmhash-staticd.lib":"libmhash-static.lib";
if (CHECK_HEADER_ADD_INCLUDE('mhash.h', 'CFLAGS_HTTP') &&