]> granicus.if.org Git - ejabberd/commitdiff
Fix --{enable,disable}-transient_supervisors flag
authorHolger Weiss <holger@zedat.fu-berlin.de>
Fri, 21 Feb 2014 22:34:48 +0000 (23:34 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Fri, 21 Feb 2014 22:34:48 +0000 (23:34 +0100)
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.

rebar.config.script

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