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:
authorAndrew Sitnikov <sitnikov@infonet.ee>2012-10-25 11:41:12 +0400
committerAndrew Sitnikov <sitnikov@infonet.ee>2012-10-25 11:41:12 +0400
commit2b0cd7715f325b099f18b5934565859f207afa4a (patch)
tree6b31d3e241f849ff31b4e1d8eb8ec90fb9481938 /config.m4
parent70430fb4f1016aedac60fb89a579b0d70eb731b1 (diff)
Fix include path for igbinary support
Diffstat (limited to 'config.m4')
-rwxr-xr-xconfig.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/config.m4 b/config.m4
index 698a9e3a..205a858c 100755
--- a/config.m4
+++ b/config.m4
@@ -49,10 +49,12 @@ dnl Check for igbinary
AC_MSG_RESULT([enabled])
AC_DEFINE(HAVE_REDIS_IGBINARY,1,[Whether redis igbinary serializer is enabled])
IGBINARY_INCLUDES="-I$igbinary_inc_path"
+ IGBINARY_EXT_DIR="$igbinary_inc_path/ext"
ifdef([PHP_ADD_EXTENSION_DEP],
[
PHP_ADD_EXTENSION_DEP(redis, igbinary)
])
+ PHP_ADD_INCLUDE($IGBINARY_EXT_DIR)
else
IGBINARY_INCLUDES=""
AC_MSG_RESULT([disabled])