Skip to content
Newer
Older
100644 33 lines (24 sloc) 1.4 KB
5aefeb3 - Fixed Makefile.frag addition
Jani Taskinen authored Jul 31, 2008
1 dnl $Id: config.m4,v 1.28 2008-07-31 00:43:35 sniper Exp $
78749ee @derickr This commit was generated by cvs2svn to compensate for changes in r2,
authored Apr 24, 2002
2 dnl config.m4 for extension xdebug
3
4 PHP_ARG_ENABLE(xdebug, whether to enable eXtended debugging support,
72bcfe1 @derickr - Added code coverage, enable with xdebug_start_code_coverage(), disa…
authored Apr 5, 2003
5 [ --enable-xdebug Enable Xdebug support])
78749ee @derickr This commit was generated by cvs2svn to compensate for changes in r2,
authored Apr 24, 2002
6
7 if test "$PHP_XDEBUG" != "no"; then
f856d39 @derickr Added a version check for the branch, so that it just tells you it's …
authored Sep 11, 2011
8 AC_MSG_CHECKING([Check for supported PHP versions])
9 PHP_XDEBUG_FOUND_VERSION=`${PHP_CONFIG} --version`
10 PHP_XDEBUG_FOUND_VERNUM=`echo "${PHP_XDEBUG_FOUND_VERSION}" | $AWK 'BEGIN { FS = "."; } { printf "%d", ([$]1 * 100 + [$]2) * 100 + [$]3;}'`
e79b722 @derickr Merge branch 'xdebug_2_1'
authored Sep 11, 2011
11 dnl if test "$PHP_XDEBUG_FOUND_VERNUM" -lt "50400"; then
f856d39 @derickr Added a version check for the branch, so that it just tells you it's …
authored Sep 11, 2011
12 AC_MSG_RESULT([supported ($PHP_XDEBUG_FOUND_VERSION)])
e79b722 @derickr Merge branch 'xdebug_2_1'
authored Sep 11, 2011
13 dnl else
14 dnl AC_MSG_ERROR([not supported. Need a PHP version < 5.4.0 (found $PHP_XDEBUG_FOUND_VERSION)])
15 dnl fi
033a7ba @derickr - Fixed bug #154: GCC 4.0.2 optimizes too much out with -O2.
authored Dec 31, 2005
16
78749ee @derickr This commit was generated by cvs2svn to compensate for changes in r2,
authored Apr 24, 2002
17 AC_DEFINE(HAVE_XDEBUG,1,[ ])
ca4f7d2 @derickr - First attempt at class stuff
authored May 19, 2002
18
930bdaa @derickr - Implemented remote debugger handler abstraction
authored Sep 4, 2002
19 dnl Check for new current_execute_data field in zend_executor_globals
ca4f7d2 @derickr - First attempt at class stuff
authored May 19, 2002
20 old_CPPFLAGS=$CPPFLAGS
21 CPPFLAGS="$INCLUDES $CPPFLAGS"
22
930bdaa @derickr - Implemented remote debugger handler abstraction
authored Sep 4, 2002
23 AC_CHECK_FUNCS(gettimeofday)
ca4f7d2 @derickr - First attempt at class stuff
authored May 19, 2002
24
9504b1d @derickr - Link in libm for the systems that need it (AIX).
authored Dec 19, 2006
25 PHP_CHECK_LIBRARY(m, cos, [ PHP_ADD_LIBRARY(m,, XDEBUG_SHARED_LIBADD) ])
26
ca4f7d2 @derickr - First attempt at class stuff
authored May 19, 2002
27 CPPFLAGS=$old_CPPFLAGS
6260381 @derickr - Unconfuse people that install Xdebug with the PECL installer.
authored Oct 25, 2006
28
c6f939b @derickr - Refactor to make the xdebug.c file a lot smaller. Stack related fun…
authored Jan 10, 2010
29 PHP_NEW_EXTENSION(xdebug, xdebug.c xdebug_code_coverage.c xdebug_com.c xdebug_compat.c xdebug_handler_dbgp.c xdebug_handlers.c xdebug_llist.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_var.c xdebug_xml.c usefulstuff.c, $ext_shared,,,,yes)
9504b1d @derickr - Link in libm for the systems that need it (AIX).
authored Dec 19, 2006
30 PHP_SUBST(XDEBUG_SHARED_LIBADD)
5aefeb3 - Fixed Makefile.frag addition
Jani Taskinen authored Jul 31, 2008
31 PHP_ADD_MAKEFILE_FRAGMENT
78749ee @derickr This commit was generated by cvs2svn to compensate for changes in r2,
authored Apr 24, 2002
32 fi
Something went wrong with that request. Please try again.