summaryrefslogtreecommitdiff
path: root/rebar.config.script
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2015-07-12 20:58:22 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2015-12-16 12:29:02 +0100
commitb5cc4a3a7d59136022bcfeca4dda7fd11344d4ca (patch)
tree9e3484832789e3ec9166a09ea52f0a4229a82402 /rebar.config.script
parentAdd plugin for passing extra erl_opts flags to deps, and use it for hipe (diff)
Remove "--enable-nif" flag
Specifying "--enable-nif" or "--disable-nif" when running ejabberd's configure script has no effect anymore: NIF support is enabled by default and can only be disabled by building the p1_xml dependency with "--disable-nif".
Diffstat (limited to 'rebar.config.script')
-rw-r--r--rebar.config.script6
1 files changed, 1 insertions, 5 deletions
diff --git a/rebar.config.script b/rebar.config.script
index 0204e7b7..2642fc68 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -19,8 +19,6 @@ Cfg = case file:consult("vars.config") of
Macros = lists:flatmap(
fun({roster_gateway_workaround, true}) ->
[{d, 'ROSTER_GATEWAY_WORKAROUND'}];
- ({nif, true}) ->
- [{d, 'NIF'}];
({db_type, mssql}) ->
[{d, 'mssql'}];
({lager, true}) ->
@@ -76,9 +74,7 @@ ConfigureCmd = fun(Pkg, Flags) ->
end,
XMLFlags = lists:foldl(
- fun({nif, true}, Acc) ->
- Acc ++ " --enable-nif";
- ({full_xml, true}, Acc) ->
+ fun({full_xml, true}, Acc) ->
Acc ++ " --enable-full-xml";
(_, Acc) ->
Acc