summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-02-03 11:49:38 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-02-03 12:36:38 -0200
commit8dc853f2300ea70a9116325db773da22c6343c3c (patch)
tree841bdd4af4acac518732cd0c189de991fa4ffd73 /src/lib/ecore_imf
parent75dc1b3fd711afa26f69f8244b64d2df9628fae4 (diff)
ifdef RUN_IN_TREE logic.
This logic is only needed for autotools, cmake will replicate the installation file structure and thus eina_prefix works out of box.
Diffstat (limited to 'src/lib/ecore_imf')
-rw-r--r--src/lib/ecore_imf/ecore_imf_module.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_imf/ecore_imf_module.c b/src/lib/ecore_imf/ecore_imf_module.c
index 1d5747e..7ec902a 100644
--- a/src/lib/ecore_imf/ecore_imf_module.c
+++ b/src/lib/ecore_imf/ecore_imf_module.c
@@ -52,6 +52,7 @@ ecore_imf_module_init(void)
52 "ECORE_IMF", "ecore_imf", "checkme", 52 "ECORE_IMF", "ecore_imf", "checkme",
53 PACKAGE_BIN_DIR, PACKAGE_LIB_DIR, 53 PACKAGE_BIN_DIR, PACKAGE_LIB_DIR,
54 PACKAGE_DATA_DIR, PACKAGE_DATA_DIR); 54 PACKAGE_DATA_DIR, PACKAGE_DATA_DIR);
55#ifdef NEED_RUN_IN_TREE
55#if defined(HAVE_GETUID) && defined(HAVE_GETEUID) 56#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
56 if (getuid() == geteuid()) 57 if (getuid() == geteuid())
57#endif 58#endif
@@ -88,6 +89,7 @@ ecore_imf_module_init(void)
88 } 89 }
89 } 90 }
90 } 91 }
92#endif
91 93
92 env = getenv("ECORE_IMF_MODULE"); 94 env = getenv("ECORE_IMF_MODULE");
93#ifdef BUILD_ECORE_IMF_WAYLAND 95#ifdef BUILD_ECORE_IMF_WAYLAND