aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@samsung.com>2013-04-23 19:53:16 +0900
committerDaniel Zaoui <daniel.zaoui@samsung.com>2013-04-23 16:44:39 +0300
commit606c325bcde66d0a159c2b1195264db2cc0f8f13 (patch)
treeafa57c16ae708aba57568374b4de7256a7e326e7
parentgitignore: don't monitor generated file. (diff)
downloadefl-606c325bcde66d0a159c2b1195264db2cc0f8f13.tar.gz
efl: add m4 macro to handle a way to enable/disable Eo API and EFL legacy API.
-rw-r--r--configure.ac1
-rw-r--r--m4/efl_eo.m412
2 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 23ec83af05..82f14de512 100644
--- a/configure.ac
+++ b/configure.ac
@@ -379,6 +379,7 @@ esac
EFL_ATTRIBUTE_VECTOR
EFL_ATTRIBUTE_ALWAYS_INLINE
+EFL_ENABLE_EO_API_SUPPORT
EFL_LIBS="${EFL_LIBS}"
EFL_CFLAGS="${EFL_CFLAGS}"
diff --git a/m4/efl_eo.m4 b/m4/efl_eo.m4
new file mode 100644
index 0000000000..08065ea2d6
--- /dev/null
+++ b/m4/efl_eo.m4
@@ -0,0 +1,12 @@
+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])
+])
+
+dnl use: EFL_DISABLE_LEGACY_API_SUPPORT
+AC_DEFUN([EFL_DISABLE_LEGACY_API_SUPPORT],
+[
+ AC_DEFINE([EFL_NOLEGACY_API_SUPPORT], [1], [Disable legacy EFL API])
+])
+