[Tizen] Implement WebEngineLite interface and plugin for Minimized Web Engine
[platform/core/uifw/dali-adaptor.git] / build / tizen / configure.ac
1 #
2 # Copyright (c) 2017 Samsung Electronics Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 m4_define([dali_version],[0.1.0])
18 AC_INIT([dali], [dali_version])
19 AM_INIT_AUTOMAKE([-Wall foreign])
20
21 AC_ARG_ENABLE([feedback],
22               [AC_HELP_STRING([ --enable-feedback],
23                               [Enable feedback plugin])],
24               [enable_feedback=yes],
25               [enable_feedback=no])
26
27 AC_ARG_ENABLE([web_engine_lite],
28               [AC_HELP_STRING([ --enable-web-engine-lite],
29                               [Enable web engine lite plugin])],
30               [enable_web_engine_lite=yes],
31               [enable_web_engine_lite=no])
32
33 AC_CONFIG_SUBDIRS(adaptor)
34
35 if test "x$enable_feedback" = "xyes"|| test "x$enable_web_engine_lite" = "xyes"; then
36   # build dali-adaptor & plugins
37   AC_CONFIG_SUBDIRS(plugins)
38 fi
39 #else
40   # build dali-adaptor only
41
42 AC_CONFIG_FILES(Makefile)
43
44 AC_OUTPUT