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])
27 AM_CONDITIONAL([ENABLE_RENAME_SO], [test x$enable_rename_so = xyes])
29 if test "x$enable_feedback" = "xyes"; then
30 if test "x$enable_profile" != "xUBUNTU"; then
32 PKG_CHECK_MODULES(FEEDBACK, feedback)
33 PKG_CHECK_MODULES(MMFSOUND, mm-sound)
38 AC_CONFIG_FILES(Makefile)