jackdanielz pushed a commit to branch master.
commit 606c325bcde66d0a159c2b1195264db2cc0f8f13
Author: Cedric Bail <[email protected]>
Date: Tue Apr 23 19:53:16 2013 +0900
efl: add m4 macro to handle a way to enable/disable Eo API and EFL legacy
API.
---
configure.ac | 1 +
m4/efl_eo.m4 | 12 ++++++++++++
2 files changed, 13 insertions(+)
diff --git a/configure.ac b/configure.ac
index 23ec83a..82f14de5 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 0000000..08065ea
--- /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])
+])
+
--
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr