1 m4_define([dali_version],[0.1.0])
2 AC_INIT([dali], [dali_version])
3 AM_INIT_AUTOMAKE([-Wall foreign])
5 AC_CONFIG_MACRO_DIR([m4])
11 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
15 DALI_ADAPTOR_VERSION=dali_version
16 AC_SUBST(DALI_ADAPTOR_VERSION)
18 AM_CONDITIONAL([COMMON_PROFILE], [test x$enable_profile = xCOMMON])
19 AM_CONDITIONAL([MOBILE_PROFILE], [test x$enable_profile = xMOBILE])
20 AM_CONDITIONAL([WEARABLE_PROFILE], [test x$enable_profile = xWEARABLE])
21 AM_CONDITIONAL([TV_PROFILE], [test x$enable_profile = xTV])
22 AM_CONDITIONAL([UBUNTU_PROFILE], [test x$enable_profile = xUBUNTU])
23 AM_CONDITIONAL([WAYLAND], [test x$enable_wayland = xyes])
25 AM_CONDITIONAL([USE_FEEDBACK], [test x$enable_feedback = xyes])
26 AM_CONDITIONAL([USE_VIDEOPLAYER], [test x$enable_videoplayer = xyes])
28 if test "x$enable_wayland" = "xyes"; then
29 if test "x$enable_videoplayer" = "xyes"; then
30 if test "x$enable_profile" != "xUBUNTU"; then
31 PKG_CHECK_MODULES(CAPI_MEDIA_PLAYER, capi-media-player)
32 PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland)
34 fi # enable_videoplayer
37 if test "x$enable_feedback" = "xyes"; then
39 if test "x$enable_profile" = "xCOMMON" || test "x$enable_profile" = "xTV"; then
40 PKG_CHECK_MODULES(HAPTIC, haptic)
43 if test "x$enable_profile" = "xMOBILE"; then
44 PKG_CHECK_MODULES(DEVICED, deviced)
47 PKG_CHECK_MODULES(FEEDBACK, feedback)
48 PKG_CHECK_MODULES(MMFSOUND, mm-sound)
52 AC_CONFIG_FILES(Makefile)