File: config.w32

package info (click to toggle)
php-memcache 3.0.6-6
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 392 kB
  • sloc: ansic: 4,326; php: 775; xml: 619; sh: 35; makefile: 22
file content (14 lines) | stat: -rw-r--r-- 632 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// $Id: config.w32 310129 2011-04-11 04:44:27Z hradtke $
// vim:ft=javascript

ARG_ENABLE("memcache", "memcache support", "no");

if (PHP_MEMCACHE != "no") {
	if (!PHP_ZLIB_SHARED || CHECK_LIB("zlib.lib", "memcache", PHP_MEMCACHE)) {
		EXTENSION("memcache", "memcache.c memcache_pool.c memcache_queue.c memcache_ascii_protocol.c memcache_binary_protocol.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");
	} else {
		WARNING("memcache not enabled; libraries and headers not found");
	}
}