From fdcc955f4684c759eb9c39a5662cf73cdd1487e9 Mon Sep 17 00:00:00 2001 From: Laurent Jouanneau Date: Mon, 15 Aug 2011 18:30:48 +0200 Subject: [PATCH] Ticket #1410 - the preprocessor variable PHP52ORMORE was not support very well. branch 1.1.x+ --- build/buildjelix.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build/buildjelix.php b/build/buildjelix.php index 47bd26747..5d7292007 100644 --- a/build/buildjelix.php +++ b/build/buildjelix.php @@ -198,12 +198,15 @@ $ENABLE_PHP_JSON = 1; $PHP53 = 1; $PHP53ORMORE = 1; + $PHP52ORMORE = 1; + $PHP51ORMORE = 1; }elseif(version_compare($PHP_VERSION_TARGET, '5.2') > -1){ // filter and json are in php >=5.2 $ENABLE_PHP_FILTER = 1; $ENABLE_PHP_JSON = 1; $PHP52 = 1; $PHP52ORMORE = 1; + $PHP51ORMORE = 1; }elseif(version_compare($PHP_VERSION_TARGET, '5.1') > -1){ $PHP51=1; $PHP51ORMORE = 1; @@ -215,7 +218,8 @@ $ENABLE_PHP_FILTER = 1; $ENABLE_PHP_JSON = 1; $PHP52=1; - $PHP2ORMORE=1; + $PHP52ORMORE = 1; + $PHP51ORMORE = 1; } $BUILD_FLAGS = 0;