efl: add m4 macro to handle a way to enable/disable Eo API and EFL legacy API.
This commit is contained in:
parent
d9b074d7a6
commit
606c325bcd
|
@ -379,6 +379,7 @@ esac
|
||||||
|
|
||||||
EFL_ATTRIBUTE_VECTOR
|
EFL_ATTRIBUTE_VECTOR
|
||||||
EFL_ATTRIBUTE_ALWAYS_INLINE
|
EFL_ATTRIBUTE_ALWAYS_INLINE
|
||||||
|
EFL_ENABLE_EO_API_SUPPORT
|
||||||
|
|
||||||
EFL_LIBS="${EFL_LIBS}"
|
EFL_LIBS="${EFL_LIBS}"
|
||||||
EFL_CFLAGS="${EFL_CFLAGS}"
|
EFL_CFLAGS="${EFL_CFLAGS}"
|
||||||
|
|
|
@ -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])
|
||||||
|
])
|
||||||
|
|
Loading…
Reference in New Issue