forked from tricky/php-memcache
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.w32
More file actions
19 lines (16 loc) · 701 Bytes
/
config.w32
File metadata and controls
19 lines (16 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// $Id$
// vim:ft=javascript
ARG_ENABLE("memcache", "memcache support", "no");
if (PHP_MEMCACHE != "no") {
if (
((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "memcache", PHP_MEMCACHE) )) ||
(PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "memcache", PHP_MEMCACHE)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))
) {
EXTENSION("memcache", "memcache.c memcache_queue.c memcache_standard_hash.c memcache_consistent_hash.c memcache_session.c");
AC_DEFINE('HAVE_MEMCACHE', 1, 'Have memcache support');
ADD_FLAG("CFLAGS_MEMCACHE", "/D HAVE_MEMCACHE_SESSION=1");
ADD_EXTENSION_DEP('memcache', 'session');
} else {
WARNING("memcache not enabled; libraries and headers not found");
}
}