summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2014-09-12 04:50:11 +0000
committerXuefer <xuefer@gmail.com>2014-09-12 04:50:11 +0000
commit708688b3d7d5483fee2c73aa94ba8e7c88520113 (patch)
treec3a1ee5451ff63d1c7483fbabb16da0cdcaad7f3
parent499e70e785b586be06ab8886f15c56989c534386 (diff)
downloadxcache-708688b3d7d5483fee2c73aa94ba8e7c88520113.tar.gz
xcache-708688b3d7d5483fee2c73aa94ba8e7c88520113.zip
define XCACHE_DEBUG in phpized
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1532 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
-rwxr-xr-xdevel/run1
-rw-r--r--mod_cacher/xc_cacher.c4
-rw-r--r--mod_coverager/xc_coverager.c4
-rw-r--r--mod_optimizer/xc_optimizer.c4
4 files changed, 1 insertions, 12 deletions
diff --git a/devel/run b/devel/run
index b8374d7..4996bb6 100755
--- a/devel/run
+++ b/devel/run
@@ -226,6 +226,7 @@ run() {
f=~/src/php/$phpbasename/sapi/fpm/php-fpm; [ -f "$f" ] && ln -snf "$f" php-fpm
case "$1" in
+ phpized) CFLAGS=-DXCACHE_DEBUG do_phpize; return $?;;
phpize) do_phpize; return $?;;
make) shift; do_make "$@"; return $?;;
*) do_make;;
diff --git a/mod_cacher/xc_cacher.c b/mod_cacher/xc_cacher.c
index d4092dd..5d6f7fd 100644
--- a/mod_cacher/xc_cacher.c
+++ b/mod_cacher/xc_cacher.c
@@ -1,8 +1,4 @@
#if 0
-#define XCACHE_DEBUG
-#endif
-
-#if 0
#define SHOW_DPRINT
#endif
diff --git a/mod_coverager/xc_coverager.c b/mod_coverager/xc_coverager.c
index d424640..91b8e00 100644
--- a/mod_coverager/xc_coverager.c
+++ b/mod_coverager/xc_coverager.c
@@ -1,7 +1,3 @@
-#if 0
-#define XCACHE_DEBUG
-#endif
-
#include "xc_coverager.h"
#include <stdio.h>
diff --git a/mod_optimizer/xc_optimizer.c b/mod_optimizer/xc_optimizer.c
index 90454f9..e41016d 100644
--- a/mod_optimizer/xc_optimizer.c
+++ b/mod_optimizer/xc_optimizer.c
@@ -1,7 +1,3 @@
-#if 0
-# define XCACHE_DEBUG
-#endif
-
#include "xc_optimizer.h"
#include "xcache/xc_extension.h"
#include "xcache/xc_ini.h"