aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2013-04-18 14:19:02 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2013-04-23 09:50:40 +0300
commit337fac0e73eb94c9b5c8f091ab0998e8dcde01f7 (patch)
treec29b93e758adb51693258bec0f5d34b7087dc0a9 /configure.ac
parentRevert "ummm dont set max based on max hint... this got added at some point" (diff)
downloadefl-337fac0e73eb94c9b5c8f091ab0998e8dcde01f7.tar.gz
Eo: pointers indirection mechanism for objects and classes
Summary: This feature replaces Eo pointers with ids to prevent bad usage or reuse of these pointers. It doesn't change API. The mechanism uses tables storing the real pointers to the objects. See the src/lib/eo/eo_ptr_indirection.c file for more details on the mechanism.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 261a31d66d..23ec83af05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -338,6 +338,8 @@ AC_SUBST([EINA_SIZEOF_WCHAR_T])
AC_CHECK_SIZEOF(int, 4)
AC_CHECK_SIZEOF(long, 4)
+AC_CHECK_SIZEOF([uintptr_t])
+
AC_CHECK_TYPES([siginfo_t], [], [],
[[
#include <signal.h>
@@ -1036,6 +1038,19 @@ AC_ARG_ENABLE([fribidi],
],
[want_fribidi="yes"])
+# Eo Id
+AC_ARG_ENABLE([eo_id],
+ [AC_HELP_STRING([--disable-eo-id],
+ [disable Eo indirection. @<:@default=enabled@:>@])],
+ [
+ if test "x${enableval}" = "xyes" ; then
+ want_eo_id="yes"
+ else
+ want_eo_id="no"
+ fi
+ ],
+ [want_eo_id="yes"])
+
# Harfbuzz
AC_ARG_ENABLE([harfbuzz],
[AC_HELP_STRING([--enable-harfbuzz],
@@ -3103,6 +3118,10 @@ dnl TODO: remove these ifdefs from code!
AC_DEFINE([HAVE_EIO], [1], [Have eio library])
#### End of Eio
+# Eo Id
+if test "x${want_eo_id}" = "xyes" ; then
+ AC_DEFINE([HAVE_EO_ID], [1], [Have eo id])
+fi
#### EDBus
EFL_LIB_START([EDBus])
@@ -3723,6 +3742,8 @@ AC_OUTPUT
#### Info
+EFL_ADD_FEATURE([EO], [eo-id], [${want_eo_id}])
+
case $host_cpu in
i*86|x86_64|amd64)
EFL_ADD_FEATURE([cpu], [mmx], [${build_cpu_mmx}])
@@ -3775,6 +3796,7 @@ echo " Image Loaders.: ${features_evas_loader}"
if test "x${have_pixman}" = "xyes" ; then
echo " Pixman........: ${features_evas_pixman}"
fi
+echo "Eo..............: yes (${features_eo})"
echo "Eina............: yes (${features_eina})"
echo "Ecore...........: yes (${features_ecore})"
echo "Ecore_Con.......: yes (${features_ecore_con})"