Skip to content

Instantly share code, notes, and snippets.

@KalleZ
Created December 4, 2017 16:36
Show Gist options
  • Save KalleZ/da230093fc847ac2912d838a4cac4242 to your computer and use it in GitHub Desktop.
Save KalleZ/da230093fc847ac2912d838a4cac4242 to your computer and use it in GitHub Desktop.
config.w32 | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/config.w32 b/config.w32
index 34ca909..a5c91e4 100644
--- a/config.w32
+++ b/config.w32
@@ -4,6 +4,19 @@
ARG_WITH("xdebug", "Xdebug support", "no");
if (PHP_XDEBUG == "yes") {
- EXTENSION("xdebug", "xdebug.c xdebug_branch_info.c xdebug_code_coverage.c xdebug_com.c xdebug_compat.c xdebug_handler_dbgp.c xdebug_handlers.c xdebug_llist.c xdebug_monitor.c xdebug_hash.c xdebug_private.c xdebug_profiler.c xdebug_set.c xdebug_stack.c xdebug_str.c xdebug_superglobals.c xdebug_tracing.c xdebug_trace_textual.c xdebug_trace_computerized.c xdebug_trace_html.c xdebug_var.c xdebug_xml.c usefulstuff.c");
+ var files = 'xdebug.c xdebug_branch_info.c xdebug_code_coverage.c ' +
+ 'xdebug_com.c xdebug_compat.c xdebug_handler_dbgp.c ' +
+ 'xdebug_handlers.c xdebug_llist.c xdebug_monitor.c ' +
+ 'xdebug_hash.c xdebug_private.c xdebug_profiler.c ' +
+ 'xdebug_set.c xdebug_stack.c xdebug_str.c xdebug_superglobals.c ' +
+ 'xdebug_tracing.c xdebug_trace_textual.c xdebug_trace_computerized.c ' +
+ 'xdebug_trace_html.c xdebug_var.c xdebug_xml.c usefulstuff.c';
+
+ if (typeof(ZEND_EXTENSION) == 'undefined') {
+ EXTENSION('xdebug', files);
+ } else {
+ ZEND_EXTENSION('xdebug', files);
+ }
+
AC_DEFINE("HAVE_XDEBUG", 1, "Xdebug support");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment