25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Fix --{enable,disable}-transient_supervisors flag

Fix configure's --{enable,disable}-transient_supervisors option: Make
sure it's enabled with --enable and disabled with --disable, not the
other way round.  This also makes --disable the default setting, as
documented.
This commit is contained in:
Holger Weiss 2014-02-21 23:34:48 +01:00
parent 63a7011c38
commit 26dee37268

View File

@ -16,7 +16,7 @@ Cfg = case file:consult("vars.config") of
Macros = lists:flatmap( Macros = lists:flatmap(
fun({roster_gateway_workaround, true}) -> fun({roster_gateway_workaround, true}) ->
[{d, 'ROSTER_GATEWAY_WORKAROUND'}]; [{d, 'ROSTER_GATEWAY_WORKAROUND'}];
({transient_supervisors, true}) -> ({transient_supervisors, false}) ->
[{d, 'NO_TRANSIENT_SUPERVISORS'}]; [{d, 'NO_TRANSIENT_SUPERVISORS'}];
({nif, true}) -> ({nif, true}) ->
[{d, 'NIF'}]; [{d, 'NIF'}];