-
Notifications
You must be signed in to change notification settings - Fork 197
/
config.w32
32 lines (26 loc) · 1.02 KB
/
config.w32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// vim:ft=javascript
ARG_ENABLE('apcu', 'Whether to enable APCu support', 'no');
ARG_ENABLE('apcu-debug', 'Whether to enable APCu debugging', 'no');
if(PHP_APCU != 'no')
{
var apc_sources = 'apc.c apc_lock.c apc_windows_srwlock_kernel.c php_apc.c ' +
'apc_cache.c ' +
'apc_mmap.c ' +
'apc_shm.c ' +
'apc_sma.c ' +
'apc_stack.c ' +
'apc_signal.c ' +
'apc_time.c ' +
'apc_iterator.c ' +
'apc_persist.c';
if(PHP_APCU_DEBUG != 'no')
{
ADD_FLAG('CFLAGS_APC', '/D APC_DEBUG=1');
}
/* XXX srwlock kernel as most BC compatible for now */
AC_DEFINE('APC_SRWLOCK_KERNEL', 1);
AC_DEFINE('HAVE_APCU', 1);
ADD_FLAG('CFLAGS_APCU', '/DAPC_SRWLOCK_KERNEL=1');
PHP_INSTALL_HEADERS("ext/apcu", "php_apc.h apc.h apc_api.h apc_cache.h apc_globals.h apc_iterator.h apc_lock.h apc_mutex.h apc_sma.h apc_serializer.h apc_stack.h apc_windows_srwlock_kernel.h apc_arginfo.h php_apc_legacy_arginfo.h");
EXTENSION('apcu', apc_sources, PHP_APCU_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
}