From da4db1a29cd74a7d5176317759a79d49014060c5 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sun, 28 Jul 2019 10:26:46 +0100 Subject: [PATCH] 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. --- src/bin/e_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/e_main.c b/src/bin/e_main.c index fc9f2322c..71c7fb3e2 100644 --- a/src/bin/e_main.c +++ b/src/bin/e_main.c @@ -286,11 +286,15 @@ main(int argc, char **argv) if (getenv("E_START_MTRACK")) e_util_env_set("MTRACK", NULL); TS("Eina Init"); + s = getenv("EINA_STATGEN"); + if (!s) e_util_env_set("EINA_STATGEN", "1"); if (!eina_init()) { e_error_message_show(_("Enlightenment cannot initialize Eina!\n")); _e_main_shutdown(-1); } + if (!s) e_util_env_set("EINA_STATGEN", NULL); + _e_main_shutdown_push(eina_shutdown); if (!e_log_init()) {