raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=da4db1a29cd74a7d5176317759a79d49014060c5

commit da4db1a29cd74a7d5176317759a79d49014060c5
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Jul 28 10:26:46 2019 +0100

    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())
      {

-- 


Reply via email to