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

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2015-12-18 19:20:18 +0300
committerPaweł Chmielowski <pchmielowski@process-one.net>2015-12-18 19:20:41 +0300
commit48909bdbee89958c4a90c521b873c9dbd79d48a5 (patch)
tree61d8d20ed2d2b407718656ca7c4ed61da89fc1bb /configure.ac
parent99fdba0745241ea9f2c2de211993eb2a3ab2aef5 (diff)
Add --enable-latest-deps to configure
This option make 'rebar get-deps' command to always fetch latest versions of deps that are developed together with ejabberd instead of using frozen commit/branch/tag.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 13b1fe13b..f8a415088 100644
--- a/configure.ac
+++ b/configure.ac
@@ -211,6 +211,14 @@ AC_ARG_ENABLE(lager,
*) AC_MSG_ERROR(bad value ${enableval} for --enable-lager) ;;
esac],[if test "x$lager" = "x"; then lager=true; fi])
+AC_ARG_ENABLE(latest_deps,
+[AC_HELP_STRING([--enable-latest-deps], [makes rebar use latest commits for dependences instead of tagged versions (default: no)])],
+[case "${enableval}" in
+ yes) latest_deps=true ;;
+ no) latest_deps=false ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-latest-deps) ;;
+esac],[if test "x$latest_deps" = "x"; then latest_deps=false; fi])
+
AC_CONFIG_FILES([Makefile
vars.config
src/ejabberd.app.src])
@@ -255,6 +263,7 @@ AC_SUBST(iconv)
AC_SUBST(debug)
AC_SUBST(lager)
AC_SUBST(tools)
+AC_SUBST(latest_deps)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)