forked from xdebug/xdebug
-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
config.w32
49 lines (40 loc) · 2.29 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// vim:ft=javascript
ARG_WITH("xdebug", "Xdebug support", "no");
ARG_WITH("xdebug-compression", "whether to compress profiler files (requires zlib)", "no");
if (PHP_XDEBUG != 'no') {
var XDEBUG_BASE_SOURCES="base.c filter.c"
var XDEBUG_LIB_SOURCES="usefulstuff.c compat.c crc32.c file.c hash.c headers.c lib.c llist.c log.c set.c str.c timing.c var.c var_export_html.c var_export_line.c var_export_text.c var_export_xml.c xml.c"
var XDEBUG_COVERAGE_SOURCES="branch_info.c code_coverage.c"
var XDEBUG_DEBUGGER_SOURCES="com.c debugger.c handler_dbgp.c handlers.c"
var XDEBUG_DEVELOP_SOURCES="develop.c monitor.c php_functions.c stack.c superglobals.c"
var XDEBUG_GCSTATS_SOURCES="gc_stats.c"
var XDEBUG_PROFILER_SOURCES="profiler.c"
var XDEBUG_TRACING_SOURCES="trace_computerized.c trace_html.c trace_textual.c tracing.c"
var files = "xdebug.c";
if (typeof(ZEND_EXTENSION) == 'undefined') {
EXTENSION('xdebug', files);
} else {
ZEND_EXTENSION('xdebug', files);
}
ADD_FLAG("CFLAGS_XDEBUG", " /I " + configure_module_dirname + " ");
ADD_FLAG("CFLAGS_XDEBUG", " /I " + configure_module_dirname + "/src ");
ADD_SOURCES(configure_module_dirname + "/src/base", XDEBUG_BASE_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/lib", XDEBUG_LIB_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/coverage", XDEBUG_COVERAGE_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/debugger", XDEBUG_DEBUGGER_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/develop", XDEBUG_DEVELOP_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/gcstats", XDEBUG_GCSTATS_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/profiler", XDEBUG_PROFILER_SOURCES, "xdebug");
ADD_SOURCES(configure_module_dirname + "/src/tracing", XDEBUG_TRACING_SOURCES, "xdebug");
// PHP_ZLIB is "yes"/"no" for in-tree builds, but boolean for phpize builds
var XDEBUG_ZLIB = (!MODE_PHPIZE && PHP_ZLIB == "yes") || (MODE_PHPIZE && PHP_ZLIB);
if (PHP_XDEBUG_COMPRESSION != "no") {
if (((!XDEBUG_ZLIB) && (CHECK_LIB("zlib_a.lib;zlib.lib", "xdebug", PHP_XDEBUG))) ||
(PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "xdebug", PHP_XDEBUG)) ||
(XDEBUG_ZLIB && (!PHP_ZLIB_SHARED))
) {
AC_DEFINE('HAVE_XDEBUG_ZLIB', 1);
}
}
AC_DEFINE("HAVE_XDEBUG", 1, "Xdebug support");
}