eo: eo is absolutely necessary by now, can't be disabled any more.
authorCedric Bail <cedric.bail@samsung.com>
Thu, 27 Jun 2013 06:51:07 +0000 (15:51 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Fri, 28 Jun 2013 01:18:39 +0000 (10:18 +0900)
configure.ac
m4/efl_eo.m4 [new file with mode: 0644]
src/lib/efl/Efl_Config.h.in

index 1d61972..ce37914 100644 (file)
@@ -25,6 +25,9 @@ EFL_API_LEGACY_DEF="#define EFL_NOLEGACY_API_SUPPORT"
 EFL_API_EO_DEF="#define EFL_EO_API_SUPPORT"
 efl_api="both"
 
+#### For the moment the Eo EFL API is not ready you need to explicitely optin.
+EFL_ENABLE_EO_API_SUPPORT
+
 AC_ARG_WITH([api],
    [AC_HELP_STRING([--with-api=@<:@eo/legacy/both@:>@], [Select the EFL API Model @<:@default=both@:>@])],
    [efl_api=${withval}],
diff --git a/m4/efl_eo.m4 b/m4/efl_eo.m4
new file mode 100644 (file)
index 0000000..864baf5
--- /dev/null
@@ -0,0 +1,6 @@
+dnl use: EFL_ENABLE_EO_API_SUPPORT
+AC_DEFUN([EFL_ENABLE_EO_API_SUPPORT],
+[
+  AC_DEFINE([EFL_EO_API_SUPPORT], [1], [Enable access to unstable EFL Eo API])
+])
+
index e76c9e5..5bf7f6a 100644 (file)
@@ -7,7 +7,10 @@
  */
 #ifndef EFL_API_OVERRIDE 
 @EFL_API_LEGACY_DEF@
-@EFL_API_EO_DEF@
+/* You can't disable Eo API anymore as EFL use it everywhere internally
+   and we don't want to expose it publicly just yet, so keep it hidden
+   and require an explicit request to get it. */
+/* @EFL_API_EO_DEF@ */
 #endif
 
 #endif