Code Review
/
ric-plt
/
sdl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add Redis Sentinel based database discovery
[ric-plt/sdl.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
777845d
..
6155bde
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-61,6
+61,11
@@
AC_SUBST(SDL_CONF_DIR)
AC_DEFINE(HAVE_REDIS, [1], [Have redis])
AM_CONDITIONAL([REDIS], [test xtrue])
AC_DEFINE(HAVE_REDIS, [1], [Have redis])
AM_CONDITIONAL([REDIS], [test xtrue])
+
+# @TODO Change to true when Redis HA support is activated.
+AC_DEFINE(HAVE_SENTINEL, [0], [Have sentinel])
+AM_CONDITIONAL([SENTINEL], [test "xyes" = "xno"])
+
PKG_CHECK_MODULES([HIREDIS], [hiredis])
AC_DEFINE(HAVE_HIREDIS, [1], [Have hiredis])
AM_CONDITIONAL([HIREDIS], [test xtrue])
PKG_CHECK_MODULES([HIREDIS], [hiredis])
AC_DEFINE(HAVE_HIREDIS, [1], [Have hiredis])
AM_CONDITIONAL([HIREDIS], [test xtrue])