Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: XDEBUG_1_2_0rc2
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.939 kb
dnl $Id: config.m4,v 1.14 2003-04-05 08:40:53 derick Exp $
dnl config.m4 for extension xdebug
PHP_ARG_ENABLE(xdebug, whether to enable eXtended debugging support,
[ --enable-xdebug Enable Xdebug support])
if test "$PHP_XDEBUG" != "no"; then
PHP_NEW_EXTENSION(xdebug, xdebug.c xdebug_code_coverage.c xdebug_com.c xdebug_handler_gdb.c xdebug_handler_php3.c xdebug_handlers.c xdebug_llist.c xdebug_hash.c xdebug_profiler.c xdebug_superglobals.c xdebug_var.c usefulstuff.c, $ext_shared)
AC_DEFINE(HAVE_XDEBUG,1,[ ])
dnl Check for new current_execute_data field in zend_executor_globals
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$INCLUDES $CPPFLAGS"
AC_TRY_COMPILE([
#include <zend_compile.h>
#include <zend_globals.h>
], [static struct _zend_executor_globals zeg; zend_execute_data *zed = zeg.current_execute_data],
[AC_DEFINE(HAVE_EXECUTE_DATA_PTR, 1, [ ])]
)
AC_CHECK_FUNCS(gettimeofday)
CPPFLAGS=$old_CPPFLAGS
fi
Jump to Line
Something went wrong with that request. Please try again.