-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.w32
33 lines (29 loc) · 1023 Bytes
/
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
32
33
// vim:ft=javascript
(function () {
ARG_ENABLE('scoutapm', 'Whether to enable scoutapm support', 'no');
ARG_ENABLE('scoutapm-debug', 'Whether to enable scoutapm debugging', 'no');
if (PHP_SCOUTAPM != 'no') {
var scoutapm_sources = 'zend_scoutapm.c ' +
'scout_observer.c ' +
'scout_execute_ex.c ' +
'scout_internal_handlers.c ' +
'scout_recording.c ' +
'scout_functions.c ' +
'scout_utils.c ' +
'scout_curl_wrapper.c ' +
'scout_file_wrapper.c ' +
'scout_pdo_wrapper.c ';
AC_DEFINE('HAVE_SCOUTAPM', 1);
ADD_FLAG('CFLAGS_SCOUTAPM', '/D WIN32_ONLY_COMPILER=1 /wd4005');
PHP_INSTALL_HEADERS("ext/scoutapm", "zend_scoutapm.h scout_recording.h scout_internal_handlers.h scout_extern.h scout_execute_ex.h");
if (PHP_CURL) {
AC_DEFINE('HAVE_SCOUT_CURL', 1);
}
// PHP 7.1/7.2 don't have ZEND_EXTENSION
if (typeof (ZEND_EXTENSION) == 'undefined') {
EXTENSION('scoutapm', scoutapm_sources, true);
} else {
ZEND_EXTENSION('scoutapm', scoutapm_sources, true);
}
}
})();