From: Cedric Bail Date: Tue, 23 Apr 2013 10:53:16 +0000 (+0900) Subject: efl: add m4 macro to handle a way to enable/disable Eo API and EFL legacy API. X-Git-Tag: submit/devel/efl/20131022.203902~1197 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=606c325bcde66d0a159c2b1195264db2cc0f8f13;p=platform%2Fupstream%2Fefl.git efl: add m4 macro to handle a way to enable/disable Eo API and EFL legacy API. --- diff --git a/configure.ac b/configure.ac index 23ec83a..82f14de 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]) +]) +