AC_PREREQ([2.60])
-AC_INIT([ofono-efl], [0.1.0])
+AC_INIT([lemolo], [0.1.7])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AM_CONFIG_HEADER([config.h])
AC_PROG_CC
AM_PROG_CC_C_O
AC_C___ATTRIBUTE__
-
AC_DISABLE_STATIC
AC_PROG_LIBTOOL
+AM_GNU_GETTEXT([external])
EFL_COMPILER_FLAG
EFL_COMPILER_FLAG([-Wall])
PKG_CHECK_MODULES([EFL],
[
elementary
- edbus
+ eldbus
dbus-1
])
+PKG_CHECK_MODULES([PULSEAUDIO],
+ [
+ libpulse
+ libpulse-mainloop-glib
+ libpulse-simple
+ ])
+
EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
want_tizen="auto"
if test "$want_tizen" != "no"; then
PKG_CHECK_MODULES([TIZEN],
[
- ecore-x
appcore-efl
- ui-gadget
- capi-social-contacts
+ contacts-service2
vconf
capi-system-power
- utilX
aul
appsvc
notification
AM_CONDITIONAL([HAVE_TIZEN], [test "$have_tizen" = "yes"])
+AC_ARG_ENABLE([notification],
+ AC_HELP_STRING([--enable-notification], [enable Tizen notification. @<:@default=auto@:>@]),
+ [want_notification="${enableval}"], [:])
+
+if test "$have_tizen" = "yes" -a "$want_notification" = "yes"; then
+ AC_DEFINE([HAVE_NOTIFICATION], 1, [Notification support])
+fi
+
+AM_CONDITIONAL([HAVE_NOTIFICATION], [test "$have_tizen" = "yes"])
+
with_max_log_level="EINA_LOG_LEVEL_DBG"
AC_ARG_WITH(maximum-log-level,
[AC_HELP_STRING([--with-maximum-log-level=NUMBER],
[with_dbusservicesdir="${withval}"], [:])
AC_SUBST(with_dbusservicesdir)
+with_desktopicondir="/usr/share/icons/default/small"
+AC_ARG_WITH(desktopicondir,
+ [AC_HELP_STRING([--with-desktopicondir=PATH],
+ [Where to place desktop icon file. Default=/usr/share/icons/default/small/])],
+ [with_desktopicondir="${withval}"], [:])
+AC_SUBST(with_desktopicondir)
-with_desktopdir="/opt/share/applications"
+with_desktopdir="/usr/share/applications"
AC_ARG_WITH(desktopdir,
[AC_HELP_STRING([--with-desktopdir=PATH],
- [Where to place desktop files. Default=/opt/share/applications/])],
+ [Where to place desktop files. Default=/usr/share/applications/])],
[with_desktopdir="${withval}"], [:])
AC_SUBST(with_desktopdir)
-AC_CONFIG_FILES([
+eval "eval BIN_DIR=$bindir"
+AC_SUBST(BIN_DIR)
+
+eval "eval DATA_DIR=$datadir"
+AC_SUBST(DATA_DIR)
+
+AC_CONFIG_FILES([ po/Makefile.in
Makefile
])