efl: add a macro for beta API support.
authorCedric Bail <cedric.bail@samsung.com>
Tue, 23 Jul 2013 02:26:43 +0000 (11:26 +0900)
committerCedric Bail <cedric.bail@samsung.com>
Tue, 23 Jul 2013 02:27:29 +0000 (11:27 +0900)
configure.ac
m4/efl_beta.m4 [new file with mode: 0644]

index 2335f96..3a726a8 100644 (file)
@@ -27,6 +27,7 @@ efl_api="both"
 
 #### For the moment the Eo EFL API is not ready you need to explicitely optin.
 EFL_ENABLE_EO_API_SUPPORT
+EFL_ENABLE_BETA_API_SUPPORT
 
 AC_ARG_WITH([api],
    [AC_HELP_STRING([--with-api=@<:@eo/legacy/both@:>@], [Select the EFL API Model @<:@default=both@:>@])],
diff --git a/m4/efl_beta.m4 b/m4/efl_beta.m4
new file mode 100644 (file)
index 0000000..c804729
--- /dev/null
@@ -0,0 +1,5 @@
+dnl use: EFL_ENABLE_BETA_API_SUPPORT
+AC_DEFUN([EFL_ENABLE_BETA_API_SUPPORT],
+[
+  AC_DEFINE([EFL_BETA_API_SUPPORT], [1], [Enable access to unstable EFL API that are still in beta])
+])