summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorXuefer <xuefer@gmail.com>2013-07-08 08:00:36 +0000
committerXuefer <xuefer@gmail.com>2013-07-08 08:00:36 +0000
commitc7492e6c3a468aa33b5426cc792327d8e40e38c9 (patch)
tree22b0cc7e47c452e3527d41cbd5ee9b0765cb659d /devel
parentc8b77e8be67fe7c17242f729052182183d973e11 (diff)
downloadxcache-c7492e6c3a468aa33b5426cc792327d8e40e38c9.tar.gz
xcache-c7492e6c3a468aa33b5426cc792327d8e40e38c9.zip
remove php 4 support completely
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1281 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
Diffstat (limited to 'devel')
-rw-r--r--devel/prepare.cfg.example1
-rw-r--r--devel/prepare.mak10
-rwxr-xr-xdevel/run6
3 files changed, 6 insertions, 11 deletions
diff --git a/devel/prepare.cfg.example b/devel/prepare.cfg.example
index 0968403..78382d3 100644
--- a/devel/prepare.cfg.example
+++ b/devel/prepare.cfg.example
@@ -1,5 +1,4 @@
# copy this file as prepare.cfg before modifying
-PHP4_x_DIR=
PHP5_0_DIR=
PHP5_1_DIR=
PHP5_3_DIR=
diff --git a/devel/prepare.mak b/devel/prepare.mak
index 2f826c0..4f74ce7 100644
--- a/devel/prepare.mak
+++ b/devel/prepare.mak
@@ -17,7 +17,6 @@ clean_xc_const_string:
.PHONY: xc_const_string
xc_const_string: \
- xcache/xc_const_string_opcodes_php4.x.h \
xcache/xc_const_string_opcodes_php5.0.h \
xcache/xc_const_string_opcodes_php5.1.h \
xcache/xc_const_string_opcodes_php5.3.h \
@@ -34,15 +33,6 @@ xcache/xc_opcode_spec_def.h: ${EA_DIR}/opcodes.c
mv "$@".tmp "$@"
endif
-ifeq (${PHP4_x_DIR},)
-xcache/xc_const_string_opcodes_php4.x.h: dummy
- @echo "Skipped $@: PHP_4_x_DIR not set"
-else
-xcache/xc_const_string_opcodes_php4.x.h: ${PHP4_x_DIR}/Zend/zend_compile.h
- $(AWK) -f ./devel/gen_const_string_opcodes.awk < "$<" > "$@.tmp"
- mv "$@.tmp" "$@"
-endif
-
ifeq (${PHP5_0_DIR},)
xcache/xc_const_string_opcodes_php5.0.h: dummy
@echo "Skipped $@: PHP_5_0_DIR not set"
diff --git a/devel/run b/devel/run
index 85bfef2..5c93c5c 100755
--- a/devel/run
+++ b/devel/run
@@ -96,6 +96,12 @@ updatedeps() { # {{{1
esac
case "$dependency" in
+ *xc_const_string_opcodes_php*)
+ for dependency in xcache/xc_const_string_*.h; do
+ echo '$(srcdir)/'$dependency
+ done
+ ;;
+
/*) ;;
$sourceFile) ;;