summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Kolesa <daniel@octaforge.org>2019-03-18 12:13:41 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-03-18 12:13:59 +0100
commit58b8a3d1636160a752b8792f1037b8d9f3067a48 (patch)
tree5f7ab0b0289941f756beac99c63453f80cf59fc1 /configure.ac
parent3fa8bb7bad584533311753fb447321e9f333591e (diff)
efl: remove EFL_EO_API_SUPPORT macro
Summary: Since we're now going to be shipping some eo classes as stable, there is no point in keeping the eo api behind a macro, and it should be enabled by default. Another case is beta classes, but those are behind the EFL_BETA_API_SUPPORT guard. This also changes includes around the place where things are clearly broken (such as an included header needing something from another header but that other header being guarded, notably efl_ui_widget.h needing focus manager but focus manager being behind beta in Elementary.h) Reviewers: zmike, cedric, bu5hm4n, stefan_schmidt, segfaultxavi Reviewed By: cedric, segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8322
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 1 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac
index 765a640..f0277af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,6 @@ CXXFLAGS="${CXXFLAGS} -Wno-shadow" # No shadow warnings
28#### Apply configuring with legacy api's only, eo api's or both. 28#### Apply configuring with legacy api's only, eo api's or both.
29 29
30EFL_API_LEGACY_DEF="#define EFL_NOLEGACY_API_SUPPORT" 30EFL_API_LEGACY_DEF="#define EFL_NOLEGACY_API_SUPPORT"
31EFL_API_EO_DEF="#define EFL_EO_API_SUPPORT"
32efl_api="both" 31efl_api="both"
33 32
34#### For the moment the Eo EFL API is not ready you need to explicitly optin. 33#### For the moment the Eo EFL API is not ready you need to explicitly optin.
@@ -43,22 +42,15 @@ AC_ARG_WITH([api],
43case "$efl_api" in 42case "$efl_api" in
44 eo) 43 eo)
45 EFL_API_LEGACY_DEF="#define EFL_NOLEGACY_API_SUPPORT" 44 EFL_API_LEGACY_DEF="#define EFL_NOLEGACY_API_SUPPORT"
46 EFL_API_EO_DEF="#define EFL_EO_API_SUPPORT"
47 CFOPT_WARNING="xyes" 45 CFOPT_WARNING="xyes"
48 ;; 46 ;;
49 legacy) 47 legacy|both)
50 EFL_API_LEGACY_DEF="" 48 EFL_API_LEGACY_DEF=""
51 EFL_API_EO_DEF=""
52 ;;
53 both)
54 EFL_API_LEGACY_DEF=""
55 EFL_API_EO_DEF="#define EFL_EO_API_SUPPORT"
56 ;; 49 ;;
57 *) AC_MSG_ERROR([Invalid api (${efl_api}): must be eo, legacy or both]) ;; 50 *) AC_MSG_ERROR([Invalid api (${efl_api}): must be eo, legacy or both]) ;;
58esac 51esac
59 52
60AC_SUBST(EFL_API_LEGACY_DEF) 53AC_SUBST(EFL_API_LEGACY_DEF)
61AC_SUBST(EFL_API_EO_DEF)
62 54
63#### Additional options to configure 55#### Additional options to configure
64 56