25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Add --enable-riak configure flag

This commit is contained in:
Evgeniy Khramtsov 2014-07-10 13:58:43 +04:00
parent 91fcdf9f6a
commit edfb5fc2f8
2 changed files with 10 additions and 0 deletions

View 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)

View File

@ -24,6 +24,7 @@
{pgsql, @pgsql@}.
{pam, @pam@}.
{zlib, @zlib@}.
{riak, @riak@}.
{json, @json@}.
{http, @http@}.
{lager, @lager@}.