summaryrefslogtreecommitdiff
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
parent33a46372c956af1076dbed61e773e34f841f679e (diff)
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])
338AC_CHECK_SIZEOF(int, 4) 338AC_CHECK_SIZEOF(int, 4)
339AC_CHECK_SIZEOF(long, 4) 339AC_CHECK_SIZEOF(long, 4)
340 340
341AC_CHECK_SIZEOF([uintptr_t])
342
341AC_CHECK_TYPES([siginfo_t], [], [], 343AC_CHECK_TYPES([siginfo_t], [], [],
342 [[ 344 [[
343#include <signal.h> 345#include <signal.h>
@@ -1036,6 +1038,19 @@ AC_ARG_ENABLE([fribidi],
1036 ], 1038 ],
1037 [want_fribidi="yes"]) 1039 [want_fribidi="yes"])
1038 1040
1041# Eo Id
1042AC_ARG_ENABLE([eo_id],
1043 [AC_HELP_STRING([--disable-eo-id],
1044 [disable Eo indirection. @<:@default=enabled@:>@])],
1045 [
1046 if test "x${enableval}" = "xyes" ; then
1047 want_eo_id="yes"
1048 else
1049 want_eo_id="no"
1050 fi
1051 ],
1052 [want_eo_id="yes"])
1053
1039# Harfbuzz 1054# Harfbuzz
1040AC_ARG_ENABLE([harfbuzz], 1055AC_ARG_ENABLE([harfbuzz],
1041 [AC_HELP_STRING([--enable-harfbuzz], 1056 [AC_HELP_STRING([--enable-harfbuzz],
@@ -3103,6 +3118,10 @@ dnl TODO: remove these ifdefs from code!
3103AC_DEFINE([HAVE_EIO], [1], [Have eio library]) 3118AC_DEFINE([HAVE_EIO], [1], [Have eio library])
3104#### End of Eio 3119#### End of Eio
3105 3120
3121# Eo Id
3122if test "x${want_eo_id}" = "xyes" ; then
3123 AC_DEFINE([HAVE_EO_ID], [1], [Have eo id])
3124fi
3106 3125
3107#### EDBus 3126#### EDBus
3108EFL_LIB_START([EDBus]) 3127EFL_LIB_START([EDBus])
@@ -3723,6 +3742,8 @@ AC_OUTPUT
3723 3742
3724#### Info 3743#### Info
3725 3744
3745EFL_ADD_FEATURE([EO], [eo-id], [${want_eo_id}])
3746
3726case $host_cpu in 3747case $host_cpu in
3727 i*86|x86_64|amd64) 3748 i*86|x86_64|amd64)
3728 EFL_ADD_FEATURE([cpu], [mmx], [${build_cpu_mmx}]) 3749 EFL_ADD_FEATURE([cpu], [mmx], [${build_cpu_mmx}])
@@ -3775,6 +3796,7 @@ echo " Image Loaders.: ${features_evas_loader}"
3775if test "x${have_pixman}" = "xyes" ; then 3796if test "x${have_pixman}" = "xyes" ; then
3776echo " Pixman........: ${features_evas_pixman}" 3797echo " Pixman........: ${features_evas_pixman}"
3777fi 3798fi
3799echo "Eo..............: yes (${features_eo})"
3778echo "Eina............: yes (${features_eina})" 3800echo "Eina............: yes (${features_eina})"
3779echo "Ecore...........: yes (${features_ecore})" 3801echo "Ecore...........: yes (${features_ecore})"
3780echo "Ecore_Con.......: yes (${features_ecore_con})" 3802echo "Ecore_Con.......: yes (${features_ecore_con})"