summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
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_con
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_con')
-rw-r--r--src/lib/ecore_con/ecore_con_proxy_helper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/ecore_con/ecore_con_proxy_helper.c b/src/lib/ecore_con/ecore_con_proxy_helper.c
index eda91e9989..8fb9e0ff6a 100644
--- a/src/lib/ecore_con/ecore_con_proxy_helper.c
+++ b/src/lib/ecore_con/ecore_con_proxy_helper.c
@@ -57,10 +57,13 @@ _efl_net_proxy_helper_spawn(void)
57 char buf[PATH_MAX]; 57 char buf[PATH_MAX];
58 Eina_List *l; 58 Eina_List *l;
59 Efl_Net_Proxy_Helper_Req *req; 59 Efl_Net_Proxy_Helper_Req *req;
60#ifdef NEED_RUN_IN_TREE
60 static int run_in_tree = -1; 61 static int run_in_tree = -1;
62#endif
61 63
62 if (!_efl_net_proxy_helper_works) return; 64 if (!_efl_net_proxy_helper_works) return;
63 if (_efl_net_proxy_helper_exe) return; 65 if (_efl_net_proxy_helper_exe) return;
66#ifdef NEED_RUN_IN_TREE
64 if (run_in_tree == -1) 67 if (run_in_tree == -1)
65 { 68 {
66 run_in_tree = 0; 69 run_in_tree = 0;
@@ -77,6 +80,7 @@ _efl_net_proxy_helper_spawn(void)
77 (buf, sizeof(buf), 80 (buf, sizeof(buf),
78 PACKAGE_BUILD_DIR"/src/bin/ecore_con/utils/efl_net_proxy_helper"HELPER_EXT); 81 PACKAGE_BUILD_DIR"/src/bin/ecore_con/utils/efl_net_proxy_helper"HELPER_EXT);
79 else 82 else
83#endif
80 snprintf 84 snprintf
81 (buf, sizeof(buf), 85 (buf, sizeof(buf),
82 "%s/ecore_con/utils/"MODULE_ARCH"/efl_net_proxy_helper"HELPER_EXT, 86 "%s/ecore_con/utils/"MODULE_ARCH"/efl_net_proxy_helper"HELPER_EXT,