summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-01 19:04:42 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-08-01 19:11:39 +0900
commit1d0b500fa8ce93ac6cd9211abd35ea8972be74b2 (patch)
tree42aef01c896b1084f91a42b051b82741112d5b9b /configure.ac
parentd27f5fcab78cabe880e9b3f2a62ac633d97ce381 (diff)
edje - reduce memory footrpint by dlopening ephysics on demand
this saves about another 80Kb or so in dirty pages by only loading ephysics when needed. This removed ephysics and bullet library dirty pages from the process space. this is another patch to address T4227. @fix
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 12 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index aba9f8c..493fd31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4901,19 +4901,24 @@ EFL_INTERNAL_DEPEND_PKG([EDJE], [emile])
4901EFL_INTERNAL_DEPEND_PKG([EDJE], [efreet]) 4901EFL_INTERNAL_DEPEND_PKG([EDJE], [efreet])
4902EFL_INTERNAL_DEPEND_PKG([EDJE], [eio]) 4902EFL_INTERNAL_DEPEND_PKG([EDJE], [eio])
4903 4903
4904EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EDJE], [${want_physics}], [ephysics]) 4904if test "x${want_physics}" = "xyes" ; then
4905 AC_DEFINE([HAVE_EPHYSICS], [1], [EPhysics Support])
4906 EDJE_CFLAGS="-I\$(top_srcdir)/src/lib/ephysics ${EDJE_CFLAGS}"
4907fi
4908dnl EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EDJE], [${want_physics}], [ephysics])
4909
4910if test "x${want_lua_old}" = "xyes"; then
4911 EFL_CHECK_LUA_OLD([EDJE_LUA])
4912else
4913 PKG_CHECK_MODULES([EDJE_LUA], [luajit >= 2.0.0])
4914fi
4915
4905EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EDJE], [${want_multisense}], [ecore-audio]) 4916EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EDJE], [${want_multisense}], [ecore-audio])
4906 4917
4907EFL_ADD_FEATURE([EDJE], [physics]) 4918EFL_ADD_FEATURE([EDJE], [physics])
4908EFL_ADD_FEATURE([EDJE], [multisense]) 4919EFL_ADD_FEATURE([EDJE], [multisense])
4909EFL_ADD_FEATURE([EDJE], [lua-old]) 4920EFL_ADD_FEATURE([EDJE], [lua-old])
4910 4921
4911if test "${want_lua_old}" = "yes"; then
4912 EFL_CHECK_LUA_OLD([EDJE])
4913else
4914 EFL_DEPEND_PKG([EDJE], [LUAJIT], [luajit >= 2.0.0])
4915fi
4916
4917EFL_ADD_LIBS([EDJE], [-lm]) 4922EFL_ADD_LIBS([EDJE], [-lm])
4918 4923
4919EFL_EVAL_PKGS([EDJE]) 4924EFL_EVAL_PKGS([EDJE])