Skip to content

Commit

Permalink
Ticket #1410 - the preprocessor variable PHP52ORMORE was not support …
Browse files Browse the repository at this point in the history
…very well. branch 1.1.x+
  • Loading branch information
laurentj committed Aug 15, 2011
1 parent 2b39b3a commit fdcc955
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/buildjelix.php
Expand Up @@ -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;
Expand All @@ -215,7 +218,8 @@
$ENABLE_PHP_FILTER = 1;
$ENABLE_PHP_JSON = 1;
$PHP52=1;
$PHP2ORMORE=1;
$PHP52ORMORE = 1;
$PHP51ORMORE = 1;
}

$BUILD_FLAGS = 0;
Expand Down

0 comments on commit fdcc955

Please sign in to comment.