Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-07-01 13:28:57 +0400
committerAnatol Belski <ab@php.net>2014-07-01 13:28:57 +0400
commit3aa3c2d2f1578b8d00547677abd774274536bb9a (patch)
tree09811fbf629d572aec17ce6e8044bf82bdab2155 /config.w32
parentb9a16b5ad5d8c80eac53f530f37e89761ec2c720 (diff)
split the igbinary stuff into a separate option
Diffstat (limited to 'config.w32')
-rw-r--r--config.w328
1 files changed, 7 insertions, 1 deletions
diff --git a/config.w32 b/config.w32
index 8b39af90..9600f68e 100644
--- a/config.w32
+++ b/config.w32
@@ -2,9 +2,15 @@
ARG_ENABLE("redis", "whether to enable redis support", "yes");
ARG_ENABLE("redis-session", "whether to enable sessions", "yes");
+ARG_ENABLE("redis-igbinary", "whether to enable igbinary support", "no");
if (PHP_REDIS != "no") {
- var sources = "redis.c library.c igbinary\\igbinary.c igbinary\\hash_si.c igbinary\\hash_function.c";
+ var sources = "redis.c library.c"
+
+ if (PHP_REDIS_IGBINARY != "no") {
+ sources += " igbinary\\igbinary.c igbinary\\hash_si.c igbinary\\hash_function.c";
+ }
+
if (PHP_REDIS_SESSION != "no") {
AC_DEFINE('PHP_SESSION', 1);
sources += " redis_session.c";