]> granicus.if.org Git - ejabberd/commitdiff
Add --enable-riak configure flag
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Thu, 10 Jul 2014 09:58:43 +0000 (13:58 +0400)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Thu, 10 Jul 2014 09:58:43 +0000 (13:58 +0400)
configure.ac
vars.config.in

index 045ae01d927c90f5bdb99ab7736d1c0917dd68eb..904f4e0598fbe5a8d3f5c8f4cf91c835e4eb3027 100644 (file)
@@ -169,6 +169,14 @@ AC_ARG_ENABLE(zlib,
   *) AC_MSG_ERROR(bad value ${enableval} for --enable-zlib) ;;
 esac],[if test "x$zlib" = "x"; then zlib=true; fi])
 
+AC_ARG_ENABLE(riak,
+[AC_HELP_STRING([--enable-riak], [enable Riak support (default: no)])],
+[case "${enableval}" in
+  yes) riak=true ;;
+  no)  riak=false ;;
+  *) AC_MSG_ERROR(bad value ${enableval} for --enable-riak) ;;
+esac],[if test "x$riak" = "x"; then riak=false; fi])
+
 AC_ARG_ENABLE(json,
 [AC_HELP_STRING([--enable-json], [enable JSON support for mod_bosh (default: no)])],
 [case "${enableval}" in
@@ -263,6 +271,7 @@ AC_SUBST(mysql)
 AC_SUBST(pgsql)
 AC_SUBST(pam)
 AC_SUBST(zlib)
+AC_SUBST(riak)
 AC_SUBST(json)
 AC_SUBST(iconv)
 AC_SUBST(debug)
index d8270e17a7c0b8bd6c9667f24f2f8c7c946817cb..69b960099915951c557c8a776130f92b2b26c248 100644 (file)
@@ -24,6 +24,7 @@
 {pgsql, @pgsql@}.
 {pam, @pam@}.
 {zlib, @zlib@}.
+{riak, @riak@}.
 {json, @json@}.
 {http, @http@}.
 {lager, @lager@}.