forked from enlightenment/enlightenment
e - support new statgen feature and turn it on for e
use the env var as this is "soft" and will do nothing if efl doesn't have this... but it's worth it if it does.
This commit is contained in:
parent
e9f00dacd1
commit
da4db1a29c
|
@ -286,11 +286,15 @@ main(int argc, char **argv)
|
||||||
if (getenv("E_START_MTRACK"))
|
if (getenv("E_START_MTRACK"))
|
||||||
e_util_env_set("MTRACK", NULL);
|
e_util_env_set("MTRACK", NULL);
|
||||||
TS("Eina Init");
|
TS("Eina Init");
|
||||||
|
s = getenv("EINA_STATGEN");
|
||||||
|
if (!s) e_util_env_set("EINA_STATGEN", "1");
|
||||||
if (!eina_init())
|
if (!eina_init())
|
||||||
{
|
{
|
||||||
e_error_message_show(_("Enlightenment cannot initialize Eina!\n"));
|
e_error_message_show(_("Enlightenment cannot initialize Eina!\n"));
|
||||||
_e_main_shutdown(-1);
|
_e_main_shutdown(-1);
|
||||||
}
|
}
|
||||||
|
if (!s) e_util_env_set("EINA_STATGEN", NULL);
|
||||||
|
|
||||||
_e_main_shutdown_push(eina_shutdown);
|
_e_main_shutdown_push(eina_shutdown);
|
||||||
if (!e_log_init())
|
if (!e_log_init())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue