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:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2014-04-30 19:20:38 +0400
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2014-04-30 19:38:15 +0400
commit02e0649d18e5afcc463ddbe3e2c49ccfef3a1eb9 (patch)
tree69a36247766ab9fcce1073ddebcaa75727d02fb0 /rebar.config.script
parentec6c58a21c6922a0049c8f2f9ee36dbc00f50f1f (diff)
SIP support
Conflicts: configure configure.ac doc/guide.tex
Diffstat (limited to 'rebar.config.script')
-rw-r--r--rebar.config.script12
1 files changed, 11 insertions, 1 deletions
diff --git a/rebar.config.script b/rebar.config.script
index 7a5e332c4..dc68d1d30 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -43,7 +43,13 @@ HiPE = case lists:keysearch(hipe, 1, Cfg) of
end,
Includes = [{i, "include"},
- {i, filename:join(["deps", "p1_xml", "include"])}],
+ {i, filename:join(["deps", "p1_xml", "include"])}|
+ lists:flatmap(
+ fun({sip, true}) ->
+ [{i, filename:join(["deps", "esip", "include"])}];
+ (_) ->
+ []
+ end, Cfg)],
SrcDirs = lists:foldl(
fun({tools, true}, Acc) ->
@@ -97,6 +103,8 @@ CfgDeps = lists:flatmap(
({http, true}) ->
[{ibrowse, ".*", {git, "git://github.com/cmullaparthi/ibrowse"}},
{lhttpc, ".*", {git, "git://github.com/esl/lhttpc"}}];
+ ({sip, true}) ->
+ [{esip, ".*", {git, "git://github.com/processone/p1_sip"}}];
({lager, true}) ->
[{lager, ".*", {git, "git://github.com/basho/lager"}}];
({lager, false}) ->
@@ -112,6 +120,8 @@ CfgPostHooks = lists:flatmap(
[ConfigureCmd("p1_zlib", "")];
({iconv, true}) ->
[ConfigureCmd("p1_iconv", "")];
+ ({sip, true}) ->
+ [ConfigureCmd("esip", "")];
(_) ->
[]
end, Cfg),