2010-05-29 03:37:52 -07:00
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_define([v_maj], [0])
2012-11-05 07:49:57 -08:00
m4_define([v_min], [17])
m4_define([v_mic], [0])
2011-12-13 00:48:38 -08:00
m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v '\(export\|Unversioned directory\)' || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
2010-06-03 18:04:24 -07:00
m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
2010-05-29 03:37:52 -07:00
##-- When released, remove the dnl on the below line
2012-11-05 07:49:57 -08:00
m4_undefine([v_rev])
2012-12-04 07:39:06 -08:00
m4_define([relname], [0.17.0-alpha8])
2010-05-29 03:37:52 -07:00
##-- When doing snapshots - change soname. remove dnl on below line
2012-11-05 07:49:57 -08:00
dnl m4_define([relname], [ver-pre-svn-08])
dnl m4_define([v_rel], [-release relname])
2010-05-29 03:37:52 -07:00
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2010-12-03 16:53:01 -08:00
m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])])
2012-11-05 07:49:57 -08:00
m4_define([lt_cur], m4_eval(v_maj + v_min))
m4_define([lt_rev], v_mic)
2010-05-29 03:37:52 -07:00
m4_define([lt_age], v_min)
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
2012-12-04 07:39:06 -08:00
AC_INIT([enlightenment], [v_ver-alpha8], [enlightenment-devel@lists.sourceforge.net])
2009-05-15 01:58:54 -07:00
AC_PREREQ([2.52])
AC_CONFIG_SRCDIR([configure.ac])
2009-01-14 22:29:59 -08:00
AC_CONFIG_MACRO_DIR([m4])
2005-02-07 07:34:20 -08:00
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
AC_ISC_POSIX
2008-01-24 19:35:49 -08:00
2011-01-06 10:58:09 -08:00
AC_CONFIG_HEADERS([config.h])
AH_TOP([
#ifndef EFL_CONFIG_H__
#define EFL_CONFIG_H__
])
AH_BOTTOM([
#endif /* EFL_CONFIG_H__ */
])
2012-11-13 01:09:06 -08:00
AM_INIT_AUTOMAKE([1.11 dist-bzip2 -Wno-portability])
2009-10-06 09:56:36 -07:00
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
2004-11-24 19:37:45 -08:00
2009-04-10 22:40:18 -07:00
AC_GNU_SOURCE
2005-02-07 07:34:20 -08:00
AC_C_BIGENDIAN
2008-12-07 17:39:33 -08:00
AC_PROG_CC_C99
2007-11-05 23:09:31 -08:00
AM_PROG_CC_C_O
2004-11-24 19:37:45 -08:00
AC_C_CONST
2005-12-14 23:12:00 -08:00
AC_FUNC_ALLOCA
2005-04-12 22:48:38 -07:00
AC_C___ATTRIBUTE__
2004-11-24 19:37:45 -08:00
2012-10-31 13:40:29 -07:00
LT_INIT([disable-static])
2009-01-14 22:29:59 -08:00
2010-05-29 03:37:52 -07:00
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
m4_ifdef([v_rel], , [m4_define([v_rel], [])])
AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version])
AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version])
AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version])
AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison])
2012-11-05 07:49:57 -08:00
version_info="lt_cur:lt_rev:lt_age"
2010-05-29 03:37:52 -07:00
release_info="v_rel"
AC_SUBST(version_info)
AC_SUBST(release_info)
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
release=relname
2009-04-21 07:17:42 -07:00
AC_SUBST(release)
2010-08-18 16:08:22 -07:00
PKG_PROG_PKG_CONFIG
2010-01-04 04:27:15 -08:00
EFL_CHECK_PATH_MAX
2005-04-14 02:09:22 -07:00
AC_CHECK_FUNCS(setenv)
AC_CHECK_FUNCS(unsetenv)
2012-09-18 15:20:11 -07:00
efl_version="1.7.0"
2012-11-30 23:19:18 -08:00
AC_CHECK_HEADERS([sys/timerfd.h sys/ptrace.h arpa/inet.h netinet/in.h])
2012-09-21 01:55:22 -07:00
2011-07-25 02:40:18 -07:00
dnl AC_CHECK_HEADERS(X11/extensions/shape.h,, AC_MSG_ERROR([Cannot find X11/extensions/shape.h. Make sure your CFLAGS environment variable contains include lines for the location of this file]))
2010-06-04 09:05:39 -07:00
2005-06-30 21:09:30 -07:00
AC_CHECK_HEADERS(fnmatch.h,, AC_MSG_ERROR([Cannot find fnmatch.h. Make sure your CFLAGS environment variable contains include lines for the location of this file]))
AC_CHECK_FUNCS(fnmatch, res=yes, res=no)
if test "x$res" = "xno"; then
2010-08-29 15:39:35 -07:00
AC_CHECK_LIB(fnmatch, fnmatch, res=yes, res=no)
if test "x$res" = "xno"; then
AC_MSG_ERROR([Cannot find fnmatch() in neither libc nor libfnmatch])
else
fnmatch_libs="-lfnmatch"
fi
2005-06-30 21:09:30 -07:00
fi
2008-12-07 17:39:33 -08:00
2005-06-30 21:09:30 -07:00
AC_SUBST(fnmatch_libs)
2005-10-06 11:49:53 -07:00
2006-03-31 09:26:38 -08:00
have_pam=no
2008-12-07 12:40:17 -08:00
AC_ARG_ENABLE(pam,
2010-08-29 15:39:35 -07:00
AC_HELP_STRING([--enable-pam], [enable PAM support @<:@default=detect@:>@]),
[want_pam=$enableval],
[want_pam=auto]
2008-12-07 12:40:17 -08:00
)
if test "x$want_pam" != "xno" ; then
2010-08-29 15:39:35 -07:00
AC_CHECK_HEADERS(security/pam_appl.h, [
LIBS="$LIBS -lpam"
have_pam=yes
AC_DEFINE(HAVE_PAM, 1, [PAM Authentication Support])])
if test "x$want_pam$have_pam" = "xyesno" ; then
AC_MSG_ERROR([PAM support was requested but not found])
fi
2008-12-07 12:40:17 -08:00
fi
2006-03-31 09:26:38 -08:00
2008-12-07 17:39:33 -08:00
dnl AC_E_CHECK_PKG(VALGRIND, [valgrind >= 2.4.0], [], [:])
2005-12-05 17:13:29 -08:00
AC_SUBST(VALGRIND_CFLAGS)
AC_SUBST(VALGRIND_LIBS)
2010-05-29 03:37:52 -07:00
MODULE_ARCH="$host_os-$host_cpu-relname"
2005-02-07 07:34:20 -08:00
AC_SUBST(MODULE_ARCH)
AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
2004-11-24 19:37:45 -08:00
if test "x${bindir}" = 'xNONE'; then
if test "x${prefix}" = "xNONE"; then
2006-07-13 09:35:46 -07:00
PACKAGE_BIN_DIR="${ac_default_prefix}/bin"
2004-11-24 19:37:45 -08:00
else
2006-07-13 09:35:46 -07:00
PACKAGE_BIN_DIR="${prefix}/bin"
2004-11-24 19:37:45 -08:00
fi
else
2006-07-13 09:35:46 -07:00
PACKAGE_BIN_DIR="${bindir}"
2004-11-24 19:37:45 -08:00
fi
2006-07-13 09:35:46 -07:00
AC_SUBST(PACKAGE_BIN_DIR)
2004-11-24 19:37:45 -08:00
if test "x${libdir}" = 'xNONE'; then
if test "x${prefix}" = "xNONE"; then
2006-07-13 09:35:46 -07:00
PACKAGE_LIB_DIR="${ac_default_prefix}/lib"
2004-11-24 19:37:45 -08:00
else
2006-07-13 09:35:46 -07:00
PACKAGE_LIB_DIR="${prefix}/lib"
2004-11-24 19:37:45 -08:00
fi
else
2006-07-13 09:35:46 -07:00
PACKAGE_LIB_DIR="${libdir}"
2004-11-24 19:37:45 -08:00
fi
2006-07-13 09:35:46 -07:00
AC_SUBST(PACKAGE_LIB_DIR)
2004-11-24 19:37:45 -08:00
2006-06-11 03:23:49 -07:00
if test "x${prefix}" = "xNONE"; then
2006-07-13 09:35:46 -07:00
PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}"
LOCALE_DIR="${ac_default_prefix}/share/locale"
2006-09-03 01:51:32 -07:00
PACKAGE_SYSCONF_DIR="${ac_default_prefix}/etc"
2006-06-11 03:23:49 -07:00
else
2006-07-13 09:35:46 -07:00
PACKAGE_DATA_DIR="${prefix}/share/${PACKAGE}"
LOCALE_DIR="${prefix}/share/locale"
2006-09-03 01:51:32 -07:00
PACKAGE_SYSCONF_DIR="${sysconfdir}"
2004-11-24 19:37:45 -08:00
fi
2006-07-13 09:35:46 -07:00
AC_SUBST(PACKAGE_DATA_DIR)
AC_SUBST(LOCALE_DIR)
2006-09-03 01:51:32 -07:00
AC_SUBST(PACKAGE_SYSCONF_DIR)
2005-04-11 13:25:52 -07:00
2008-01-10 23:33:57 -08:00
#######################################
## Simple X11 build/link
AC_ARG_ENABLE(simple-x11,
AC_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
[ want_evas_simple_x11=$enableval ]
)
2011-07-25 02:40:18 -07:00
dnl x_dir=""
dnl x_cflags=""
dnl x_libs=""
dnl AC_PATH_XTRA
dnl AC_CHECK_HEADER(X11/X.h,
dnl [
dnl if test "x$want_evas_simple_x11" = "xyes"; then
dnl x_libs="${x_libs} -lX11 -lXext"
dnl else
dnl x_dir=${x_dir:-/usr/X11R6}
dnl x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
dnl x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
dnl fi
dnl ],[
dnl AC_MSG_ERROR([Cannot find X headers and libraries.])
dnl ]
dnl )
dnl AC_SUBST(x_cflags)
dnl AC_SUBST(x_libs)
2005-06-02 07:56:07 -07:00
2005-08-17 23:15:27 -07:00
cf_cflags=""
cf_libs=""
PCPPFLAGS="${CPPFLAGS}"
CPPFLAGS="${CPPFLAGS} -I /System/Library/Frameworks/CoreFoundation.framework/Headers"
AC_CHECK_HEADERS(CFBase.h,
[
cf_cflags="-I /System/Library/Frameworks/CoreFoundation.framework/Headers"
cf_cflags="${cf_cflags} -I /System/Library/Frameworks/IOKit.framework/Headers"
cf_libs="-framework 'CoreFoundation' -framework 'IOKit'"
]
)
CPPFLAGS="${PCPPFLAGS}"
AC_SUBST(cf_cflags)
AC_SUBST(cf_libs)
2009-11-11 13:04:21 -08:00
execinfo_libs=""
AC_CHECK_HEADERS([execinfo.h], [have_execinfo="yes"], [have_execinfo="no"])
if test "x${have_execinfo}" = "xyes" ; then
2010-08-29 15:39:35 -07:00
AC_MSG_CHECKING([whether backtrace_symbols_fd() is in libc])
2009-11-11 13:04:21 -08:00
2010-08-29 15:39:35 -07:00
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[
2009-11-11 13:04:21 -08:00
#include <stdlib.h>
#include <execinfo.h>
2010-08-29 15:39:35 -07:00
]],
[[
2009-11-11 13:04:21 -08:00
backtrace_symbols_fd(NULL, 0, 0);
2010-08-29 15:39:35 -07:00
]])],
[link_execinfo="yes"],
[link_execinfo="no"])
2009-11-11 13:04:21 -08:00
2010-08-29 15:39:35 -07:00
AC_MSG_RESULT([${link_execinfo}])
2009-11-11 13:04:21 -08:00
fi
if test "x${link_execinfo}" = "xno" ; then
2010-08-29 15:39:35 -07:00
AC_MSG_CHECKING([whether backtrace_symbols_fd() is in libexecinfo])
2009-11-11 13:04:21 -08:00
2010-08-29 15:39:35 -07:00
LDFLAGS_save="${LDFLAGS}"
LDFLAGS="${LDFLAGS} -lexecinfo"
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[[
2009-11-11 13:04:21 -08:00
#include <stdlib.h>
#include <execinfo.h>
2010-08-29 15:39:35 -07:00
]],
[[
2009-11-11 13:04:21 -08:00
backtrace_symbols_fd(NULL, 0, 0);
2010-08-29 15:39:35 -07:00
]])],
[
link_execinfo="yes"
execinfo_libs="-lexecinfo"
],
[link_execinfo="no"])
LDFLAGS="${LDFLAGS_save}"
AC_MSG_RESULT([${link_execinfo}])
2009-11-11 13:04:21 -08:00
fi
2010-04-12 02:47:00 -07:00
dnl if test "x${link_execinfo}" = "xno" ; then
2010-04-12 02:26:54 -07:00
dnl AC_MSG_ERROR([Cannot use backtrace_symbols_fd()])
2010-04-12 02:47:00 -07:00
dnl fi
2009-11-11 13:04:21 -08:00
2006-10-31 12:51:32 -08:00
#ALL_LINGUAS="bg de eo es fi fr ja pl pt ru zh_CN hu sl it cs da sk sv nb nl zh_TW ko"
2006-11-02 16:40:35 -08:00
#ALL_LINGUAS="bg de eo es fi fr ja pt ru zh_CN hu sl it cs da sk sv nb nl zh_TW"
# a lot of .po's are broken
2009-01-17 01:12:31 -08:00
ALL_LINGUAS="bg ca cs da de el eo es fi fr fr_CH he hu it ja ko nb nl pl pt_BR ru sk sl sv tr zh_CN zh_TW"
2005-07-11 20:53:56 -07:00
AC_SUBST(ALL_LINGUAS)
2005-04-23 01:39:41 -07:00
2010-06-19 10:33:38 -07:00
m4_ifdef([AM_GNU_GETTEXT_VERSION], [
2012-03-24 11:58:09 -07:00
AM_GNU_GETTEXT_VERSION([0.17])
2010-06-19 10:33:38 -07:00
])
m4_ifdef([AM_GNU_GETTEXT], [
2012-07-14 23:45:33 -07:00
AM_GNU_GETTEXT([external], [need-ngettext])
2010-06-19 10:33:38 -07:00
po_makefile_in=po/Makefile.in
2011-10-19 10:46:59 -07:00
have_po="yes"
2010-06-19 10:33:38 -07:00
],[
2011-10-19 10:46:59 -07:00
have_po="no"
2010-06-19 10:33:38 -07:00
])
AC_SUBST(LTLIBINTL)
2005-04-11 13:25:52 -07:00
if test "x$LIBINTL" = "x"; then
LIBINTL="$INTLLIBS"
fi
2011-10-19 10:46:59 -07:00
if test "x${POSUB}" = "x" ; then
have_po="no"
fi
AM_CONDITIONAL([HAVE_PO], [test "x${have_po}" = "xyes"])
2004-11-24 19:37:45 -08:00
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
AC_SUBST(dlopen_libs)
2010-01-26 10:21:09 -08:00
AC_MSG_CHECKING([whether to install sysactions.conf])
AC_ARG_ENABLE([install-sysactions],
2010-08-29 15:39:35 -07:00
AS_HELP_STRING([--disable-install-sysactions],[disable installing /etc/enlightenment/sysactions.conf @<:@default=enabled@:>@]),
[e_cv_enable_install_sysactions=$enableval],
AC_CACHE_VAL([e_cv_enable_install_sysactions], [e_cv_enable_install_sysactions=yes]))
2010-01-26 10:21:09 -08:00
AC_MSG_RESULT([$e_cv_enable_install_sysactions])
AM_CONDITIONAL(INSTALL_SYSACTIONS, test x${e_cv_enable_install_sysactions} = xyes)
2011-05-11 20:29:23 -07:00
AC_MSG_CHECKING([whether to install enlightenment.menu])
AC_ARG_ENABLE([install-enlightenment-menu],
AS_HELP_STRING([--disable-enlightenment-menu],[disable installing /etc/xdg/menus/enlightenment.menu @<:@default=enabled@:>@]),
[e_cv_enable_install_enlightenment_menu=$enableval],
AC_CACHE_VAL([e_cv_enable_install_enlightenment_menu], [e_cv_enable_install_enlightenment_menu=yes]))
AC_MSG_RESULT([$e_cv_enable_install_enlightenment_menu])
AM_CONDITIONAL(INSTALL_ENLIGHTENMENT_MENU, test x${e_cv_enable_install_enlightenment_menu} = xyes)
2006-11-07 14:46:24 -08:00
AC_MSG_CHECKING([whether to enable Files menu item])
AC_ARG_ENABLE([files],
2010-08-29 15:39:35 -07:00
AS_HELP_STRING([--disable-files],[disable Files menu item @<:@default=enabled@:>@]),
[e_cv_enable_files=$enableval],
AC_CACHE_VAL([e_cv_enable_files], [e_cv_enable_files=yes]))
2006-11-07 14:46:24 -08:00
if test "[${e_cv_enable_files}]" = yes; then
2010-08-29 15:39:35 -07:00
AC_DEFINE_UNQUOTED([ENABLE_FILES],[1],[enable Files menu item])
2006-11-07 14:46:24 -08:00
fi
AC_MSG_RESULT([$e_cv_enable_files])
2010-05-14 11:19:51 -07:00
AC_ARG_ENABLE([device-hal],
2010-08-29 15:39:35 -07:00
AS_HELP_STRING([--enable-device-hal],[enable hal device backend @<:@default=disabled@:>@]),
2011-11-12 03:24:26 -08:00
[e_cv_want_device_hal=$enableval],
[e_cv_want_device_hal=no])
AC_MSG_CHECKING([whether the HAL device backend is enabled])
AC_MSG_RESULT([${e_cv_want_device_hal}])
2010-05-16 21:22:49 -07:00
2010-05-14 11:19:51 -07:00
AC_ARG_ENABLE([device-udev],
2011-01-03 16:35:09 -08:00
AS_HELP_STRING([--enable-device-udev],[enable udev device backend @<:@default=enabled@:>@]),
2010-08-29 15:39:35 -07:00
[e_cv_want_device_udev=$enableval],
2011-11-12 03:24:26 -08:00
[e_cv_want_device_udev=yes])
AC_MSG_CHECKING([whether the UDEV device backend is enabled])
AC_MSG_RESULT([${e_cv_want_device_udev}])
2010-05-16 21:22:49 -07:00
2011-01-03 16:35:09 -08:00
if test "x$e_cv_want_device_udev" != "xno";then
2012-09-18 15:20:11 -07:00
PKG_CHECK_MODULES([EEZE], [eeze >= ${efl_version} ecore >= ${efl_version} eina >= ${efl_version}],
2010-08-29 15:39:35 -07:00
[
device_backend=eeze
AC_DEFINE_UNQUOTED([HAVE_EEZE],[1],[enable udev support])
2011-11-12 03:24:26 -08:00
],
[device_backend=ehal])
2011-01-03 16:35:09 -08:00
else
device_backend=ehal
fi
2011-11-12 03:24:26 -08:00
AC_MSG_CHECKING([which device backend to use])
2011-01-03 16:35:09 -08:00
AC_MSG_RESULT($device_backend)
2011-11-12 03:24:26 -08:00
2011-01-03 17:18:13 -08:00
AM_CONDITIONAL([HAVE_EEZE], [test "x${device_backend}" = "xeeze"])
2011-01-03 18:11:41 -08:00
test "x${device_backend}" = "xeeze" || AC_DEFINE_UNQUOTED([HAVE_HAL],[1],[enable HAL support])
2011-01-03 16:35:09 -08:00
DBUS_MOUNT_CONFIG=1
dbus_mount="dbus-1"
2012-11-28 02:24:25 -08:00
hal_mount="ehal >= 1.7.0, edbus >= 1.7.0"
2012-11-15 03:19:01 -08:00
udisks_mount="eukit >= 1.7.0"
2011-01-03 16:35:09 -08:00
AC_ARG_ENABLE([mount-hal],
AS_HELP_STRING([--enable-mount-hal],[enable hal mounting support @<:@default=enabled@:>@]),
[e_cv_want_mount_hal=$enableval],
2011-11-12 03:24:26 -08:00
[e_cv_want_mount_hal=yes])
AC_MSG_CHECKING([whether the HAL mounting support is enabled])
AC_MSG_RESULT([${e_cv_want_mount_hal}])
2011-01-05 09:36:33 -08:00
if test "x$e_cv_want_mount_hal" != "xno";then
2012-09-18 15:20:11 -07:00
PKG_CHECK_EXISTS([ehal >= ${efl_version}],
2011-01-05 09:36:33 -08:00
[],[
hal_mount=
AC_MSG_NOTICE([HAL mounting disabled])
])
else
hal_mount=
2011-01-05 18:02:54 -08:00
AC_MSG_NOTICE([HAL mounting disabled])
2011-01-05 09:36:33 -08:00
fi
2011-01-03 16:35:09 -08:00
AC_ARG_ENABLE([mount-udisks],
AS_HELP_STRING([--enable-mount-udisks],[enable udisks mounting support @<:@default=enabled@:>@]),
[e_cv_want_mount_udisks=$enableval],
2011-11-12 03:24:26 -08:00
[e_cv_want_mount_udisks=yes])
AC_MSG_CHECKING([whether the UDISKS mounting support is enabled])
AC_MSG_RESULT([${e_cv_want_mount_udisks}])
2011-01-05 09:36:33 -08:00
if test "x$e_cv_want_mount_udisks" != "xno";then
2012-09-18 15:20:11 -07:00
PKG_CHECK_EXISTS([eukit >= ${efl_version}],
2011-01-05 09:36:33 -08:00
[],[
udisks_mount=
AC_MSG_NOTICE([udisks mounting disabled])
])
else
udisks_mount=
2011-01-05 18:02:54 -08:00
AC_MSG_NOTICE([udisks mounting disabled])
2011-01-05 09:36:33 -08:00
fi
2011-01-03 16:35:09 -08:00
if test "x${e_cv_want_mount_udisks}" = "xno" && test "x${e_cv_want_mount_hal}" = "xno" ; then
DBUS_MOUNT_CONFIG=0
dbus_mount=
2012-07-30 03:18:59 -07:00
udisks_mount=
hal_mount=
2011-01-03 16:35:09 -08:00
fi
AC_ARG_ENABLE([mount-eeze],
2012-07-30 03:18:59 -07:00
AS_HELP_STRING([--enable-mount-eeze],[enable eeze mounting support @<:@default=disabled@:>@]),
2011-01-03 16:35:09 -08:00
[e_cv_want_mount_eeze=$enableval],
2012-07-30 03:18:59 -07:00
[e_cv_want_mount_eeze=no])
2011-11-12 03:24:26 -08:00
AC_MSG_CHECKING([whether the Eeze mounting support is enabled])
AC_MSG_RESULT([${e_cv_want_mount_eeze}])
2011-01-03 16:35:09 -08:00
eeze_mount=
EEZE_MOUNT_CONFIG=0
2012-07-30 03:18:59 -07:00
if test "x$e_cv_want_mount_eeze" != "xno" && test -z "$dbus_mount" ; then
2011-11-17 22:56:07 -08:00
CPPFLAGS_save="$CPPFLAGS"
LIBS_save="$LIBS"
CPPFLAGS="$EEZE_CFLAGS $CPPFLAGS"
LIBS="$EEZE_LIBS $LIBS"
2010-10-21 01:59:41 -07:00
AC_CHECK_LIB([eeze], [eeze_disk_function],
2011-07-25 02:47:57 -07:00
[
2012-11-15 03:19:01 -08:00
eeze_mount="eeze >= 1.7.0 ecore-con >= 1.7.0"
2011-07-25 02:47:57 -07:00
EEZE_MOUNT_CONFIG=1
AC_DEFINE_UNQUOTED([HAVE_EEZE_MOUNT], [1], [enable eeze mounting])
AC_MSG_NOTICE([eeze mounting enabled])
],
2010-10-21 01:59:41 -07:00
[
2011-07-25 02:40:18 -07:00
AC_MSG_NOTICE([eeze mounting disabled])
e_cv_want_mount_eeze=no
]
2010-10-21 01:59:41 -07:00
)
2011-11-17 22:56:07 -08:00
CPPFLAGS="$CPPFLAGS_save"
LIBS="$LIBS_save"
2011-01-05 18:02:54 -08:00
else
AC_MSG_NOTICE([eeze mounting disabled])
2010-05-14 14:02:46 -07:00
fi
2010-05-14 11:19:51 -07:00
2011-01-02 17:24:15 -08:00
AC_SUBST([EEZE_MOUNT_CONFIG])
2011-01-03 16:35:09 -08:00
AC_SUBST([DBUS_MOUNT_CONFIG])
AM_CONDITIONAL([HAVE_HAL_MOUNT], [test -n "$hal_mount"])
2010-12-22 17:23:23 -08:00
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false])
2011-01-03 17:18:13 -08:00
test -n "$hal_mount" && AC_DEFINE_UNQUOTED([HAVE_HAL_MOUNT], [1], [enable HAL mounting])
2011-01-04 21:46:33 -08:00
test -n "$udisks_mount" && AC_DEFINE_UNQUOTED([HAVE_UDISKS_MOUNT], [1], [enable Udisks mounting])
AM_CONDITIONAL([HAVE_UDISKS_MOUNT], [test -n "$udisks_mount"])
2011-07-25 02:47:57 -07:00
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test -n "$eeze_mount"])
2010-10-21 01:59:41 -07:00
2010-02-10 20:39:58 -08:00
# doxygen program for documentation building
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
2008-12-07 17:39:33 -08:00
# explicit libs for each binary to reduce linkage requirements
PKG_CHECK_MODULES(E_REMOTE, [
2012-09-18 15:20:11 -07:00
ecore >= ${efl_version}
ecore-ipc >= ${efl_version}
eet >= ${efl_version}
eina >= ${efl_version}
2008-12-07 17:39:33 -08:00
])
2011-08-27 09:25:51 -07:00
PKG_CHECK_MODULES(E_START, [
2012-09-18 15:20:11 -07:00
eina >= ${efl_version}
2011-08-27 09:25:51 -07:00
])
2008-12-07 17:39:33 -08:00
PKG_CHECK_MODULES(E_IMC, [
2012-09-18 15:20:11 -07:00
ecore-file >= ${efl_version}
eet >= ${efl_version}
eina >= ${efl_version}
2008-12-07 17:39:33 -08:00
])
PKG_CHECK_MODULES(E_THUMB, [
2012-09-18 15:20:11 -07:00
eina >= ${efl_version}
evas >= ${efl_version}
ecore >= ${efl_version}
ecore-evas >= ${efl_version}
edje >= ${efl_version}
ecore-file >= ${efl_version}
ecore-ipc >= ${efl_version}
eet >= ${efl_version}
efreet >= ${efl_version}
2008-12-07 17:39:33 -08:00
])
2012-10-19 04:10:28 -07:00
PKG_CHECK_MODULES(E_GRABBER, [
eina >= ${efl_version}
ecore >= ${efl_version}
eet >= ${efl_version}
efreet >= ${efl_version}
ecore-x >= ${efl_version}
])
2011-04-24 01:28:42 -07:00
efm_requires="\
2012-11-15 03:19:01 -08:00
ecore >= 1.7.0 \
ecore-file >= 1.7.0 \
ecore-ipc >= 1.7.0 \
eet >= 1.7.0 \
efreet >= 1.7.0 \
2012-11-28 02:24:25 -08:00
edbus >= 1.7.0 \
2012-11-15 03:19:01 -08:00
eina >= 1.7.0"
2011-12-27 11:12:56 -08:00
efm_requires="$efm_requires $eeze_mount $dbus_mount $hal_mount $udisks_mount"
2011-01-03 16:35:09 -08:00
2012-03-24 11:58:09 -07:00
AC_MSG_WARN([EFM requirements : $efm_requires])
2011-01-03 16:35:09 -08:00
PKG_CHECK_MODULES(E_FM, [$efm_requires])
2008-12-07 17:39:33 -08:00
2012-06-30 12:28:49 -07:00
PKG_CHECK_MODULES(E_FM_CMDLINE, [
2012-12-03 03:24:40 -08:00
eina >= ${efl_version}
2012-09-18 15:20:11 -07:00
ecore >= ${efl_version}
ecore-file >= ${efl_version}
2012-11-28 02:24:25 -08:00
edbus >= ${efl_version}
2012-06-30 12:28:49 -07:00
dbus-1
])
2008-12-07 17:39:33 -08:00
PKG_CHECK_MODULES(E_FM_OP, [
2012-09-18 15:20:11 -07:00
ecore >= ${efl_version}
ecore-file >= ${efl_version}
eina >= ${efl_version}
2008-12-07 17:39:33 -08:00
])
PKG_CHECK_MODULES(E_FM_OPEN, [
2012-12-03 03:24:40 -08:00
eina >= ${efl_version}
eet >= ${efl_version}
2012-09-18 15:20:11 -07:00
ecore >= ${efl_version}
ecore-ipc >= ${efl_version}
ecore-con >= ${efl_version}
2008-12-07 17:39:33 -08:00
])
PKG_CHECK_MODULES(E_SYS, [
2012-09-18 15:20:11 -07:00
eina >= ${efl_version}
2008-12-07 17:39:33 -08:00
])
PKG_CHECK_MODULES(E_INIT, [
2012-09-18 15:20:11 -07:00
evas >= ${efl_version}
ecore >= ${efl_version}
ecore-evas >= ${efl_version}
ecore-x >= ${efl_version}
edje >= ${efl_version}
ecore-ipc >= ${efl_version}
eina >= ${efl_version}
2008-12-07 17:39:33 -08:00
])
2011-07-25 02:40:18 -07:00
PKG_CHECK_MODULES(E_ALERT, [
xcb
2011-08-07 07:03:21 -07:00
xcb-shape
2012-11-09 05:53:08 -08:00
xcb-keysyms
2012-09-18 15:20:11 -07:00
eina >= ${efl_version}
ecore >= ${efl_version}
ecore-ipc >= ${efl_version}
2011-07-25 02:40:18 -07:00
])
2007-03-21 11:59:50 -07:00
PKG_CHECK_MODULES(E, [
2012-09-18 15:20:11 -07:00
evas >= ${efl_version}
ecore >= ${efl_version}
ecore-x >= ${efl_version}
ecore-evas >= ${efl_version}
ecore-input >= ${efl_version}
ecore-input-evas >= ${efl_version}
ecore-con >= ${efl_version}
ecore-ipc >= ${efl_version}
ecore-file >= ${efl_version}
eet >= ${efl_version}
edje >= ${efl_version}
efreet >= ${efl_version}
efreet-mime >= ${efl_version}
efreet-trash >= ${efl_version}
eina >= ${efl_version}
2010-01-04 11:37:06 -08:00
dbus-1
2012-11-28 02:24:25 -08:00
edbus >= ${efl_version}
2012-09-18 15:20:11 -07:00
eio >= ${efl_version}
2011-01-03 16:35:09 -08:00
$hal_mount
$eeze_mount
$udisks_mount
2010-05-14 11:19:51 -07:00
$device_backend
2004-11-24 19:37:45 -08:00
])
2011-04-24 01:28:42 -07:00
requirements_e="\
2012-09-18 15:20:11 -07:00
evas >= ${efl_version} \
ecore >= ${efl_version} \
ecore-x >= ${efl_version} \
ecore-evas >= ${efl_version} \
ecore-con >= ${efl_version} \
ecore-ipc >= ${efl_version} \
ecore-file >= ${efl_version} \
eet >= ${efl_version} \
edje >= ${efl_version} \
efreet >= ${efl_version} \
efreet-mime >= ${efl_version} \
2012-11-11 00:37:30 -08:00
efreet-trash >= ${efl_version} \
2012-09-18 15:20:11 -07:00
eina >= ${efl_version} \
2011-04-24 01:28:42 -07:00
dbus-1 \
2012-11-28 02:24:25 -08:00
edbus >= ${efl_version} \
2012-09-18 15:20:11 -07:00
eio >= ${efl_version} \
2011-04-24 01:28:42 -07:00
$hal_mount \
$udisks_mount \
$eeze_mount \
$device_backend"
2012-07-18 21:39:25 -07:00
want_elementary=auto
have_elementary=no
AC_ARG_ENABLE(elementary,
AC_HELP_STRING([--enable-elementary], [enable Elementary support @<:@default=detect@:>@]),
[want_elementary=$enableval],
[want_elementary=auto]
)
if test "x$want_elementary" != "xno"; then
2012-09-18 15:20:11 -07:00
PKG_CHECK_MODULES(ELM, [elementary >= ${efl_version}],
2012-07-18 21:39:25 -07:00
[have_elementary=yes], [have_elementary=no])
if test "x$want_elementary" = "xyes" -a "x$have_elementary" = "xno"; then
AC_MSG_ERROR([Elementary support requested but it was not found])
fi
if test "x$have_elementary" = "xyes"; then
AC_DEFINE([HAVE_ELEMENTARY], 1, "Have Elementary support")
requirements_e="${requirements_e} elementary > 1.6.9.0"
fi
fi
2012-09-21 04:10:04 -07:00
want_emotion=auto
have_emotion=no
AC_ARG_ENABLE(emotion,
AC_HELP_STRING([--enable-emotion], [enable emotion support @<:@default=detect@:>@]),
[want_emotion=$enableval],
[want_emotion=auto]
)
if test "x$want_emotion" != "xno"; then
PKG_CHECK_MODULES(EMOTION, [emotion >= ${efl_version}],
[have_emotion=yes], [have_emotion=no])
if test "x$want_emotion" = "xyes" -a "x$have_emotion" = "xno"; then
AC_MSG_ERROR([emotion support requested but it was not found])
fi
if test "x$have_emotion" = "xyes"; then
AC_DEFINE([HAVE_EMOTION], 1, "Have emotion support")
2012-10-13 05:17:15 -07:00
requirements_e="${requirements_e} emotion >= ${efl_version}"
2012-09-21 04:10:04 -07:00
fi
fi
2012-07-04 16:09:39 -07:00
PKG_CHECK_MODULES(E_OPEN, [
2012-12-03 03:40:34 -08:00
eina >= ${efl_version}
2012-09-18 15:20:11 -07:00
ecore >= ${efl_version}
efreet >= ${efl_version}
efreet-mime >= ${efl_version}
2012-07-04 16:09:39 -07:00
])
2012-09-18 15:20:11 -07:00
AC_E_CHECK_PKG(ECORE_IMF, [ ecore-imf >= ${efl_version} ecore-imf-evas >= ${efl_version} ], [], [:])
2008-12-07 06:34:44 -08:00
2009-11-11 13:04:21 -08:00
e_libs=$E_LIBS" "$LIBINTL" "$fnmatch_libs" "$ECORE_IMF_LIBS" "$execinfo_libs
2008-10-27 15:52:49 -07:00
e_cflags="-DUSE_E_CONFIG_H "$E_CFLAGS" "$ECORE_IMF_CFLAGS
e_configflags="-DUSE_E_CONFIG_H"
2008-08-05 22:42:53 -07:00
2007-09-25 07:26:36 -07:00
AC_SUBST(e_libs)
AC_SUBST(e_cflags)
2008-08-05 22:42:53 -07:00
AC_SUBST(e_configflags)
2008-08-13 12:22:01 -07:00
AC_SUBST(requirements_e)
2007-09-25 07:26:36 -07:00
2005-10-29 22:36:50 -07:00
profile="SLOW_PC"
2004-11-24 19:37:45 -08:00
AC_ARG_WITH(profile,
2010-08-29 15:39:35 -07:00
AS_HELP_STRING([--with-profile=TARGET_PROFILE],
[specify a target format profile of:
2009-04-27 22:50:02 -07:00
LOWRES_PDA, MEDIUMRES_PDA, HIRES_PDA, SLOW_PC, MEDIUM_PC, FAST_PC]),
[profile=$withval])
AC_MSG_NOTICE([Enlightenment build profile set to $profile])
2004-11-24 19:37:45 -08:00
EDJE_DEF="-DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6"
EDJE_DEF=$EDJE_DEF" -DE17_PROFILE"=$profile
AC_SUBST(EDJE_DEF)
AC_ARG_WITH(edje-cc,
[ --with-edje-cc=PATH specify a specific path to edje_cc],
[
v=$withval;
edje_cc=$v
echo " Enlightenment edje_cc explicitly set to "$edje_cc;
],[
2007-03-21 11:59:50 -07:00
edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
2004-11-24 19:37:45 -08:00
])
AC_SUBST(edje_cc)
2012-09-18 15:20:11 -07:00
PKG_CHECK_MODULES(EET, [eet >= ${efl_version}])
2008-08-21 23:55:37 -07:00
AC_ARG_WITH(eet-eet,
[ --with-eet-eet=PATH specify a specific path to eet utility],
[
v=$withval;
eet_eet=$v
echo " Enlightenment eet explicitly set to "$eet_eet;
],[
eet_eet=$(pkg-config --variable=prefix eet)/bin/eet
])
AC_SUBST(eet_eet)
2008-01-09 23:43:01 -08:00
AC_DEFINE(E_INTERNAL, 1, "This define can be used to wrap internal E stuff, as config.h isn't exported")
2008-12-07 17:39:33 -08:00
AM_CONDITIONAL(HAVE_BATTERY, false)
define([CHECK_MODULE_BATTERY],
[
2012-11-15 03:19:01 -08:00
AC_E_CHECK_PKG(BATTERY, [ ecore >= 1.7.0 ecore-file >= 1.7.0 ecore-con >= 1.7.0 eina >= 1.7.0 ], [], [BATTERY=false])
2008-12-07 17:39:33 -08:00
])
2011-10-30 09:47:50 -07:00
have_openbsd="no"
2009-04-10 07:05:50 -07:00
BATTERY_LDFLAGS=
case "$host_os" in
2010-08-29 15:39:35 -07:00
darwin*)
BATTERY_LDFLAGS="-framework Foundation -framework IOKit"
;;
2011-10-30 09:47:50 -07:00
openbsd*)
have_openbsd="yes"
;;
2009-04-10 07:05:50 -07:00
esac
AC_SUBST(BATTERY_LDFLAGS)
2011-10-30 09:47:50 -07:00
AM_CONDITIONAL([HAVE_OPENBSD], [test "x${have_openbsd}" = "xyes"])
2009-04-10 07:05:50 -07:00
2010-02-01 23:33:11 -08:00
AM_CONDITIONAL(HAVE_TEMPERATURE, false)
define([CHECK_MODULE_TEMPERATURE],
[
2012-11-15 03:19:01 -08:00
AC_E_CHECK_PKG(TEMPERATURE, [ ecore >= 1.7.0 ecore-file >= 1.7.0 eina >= 1.7.0 ], [], [TEMPERATURE=false])
2010-02-01 23:33:11 -08:00
])
2012-09-21 03:16:28 -07:00
##have_exchange=no
##AC_ARG_ENABLE(exchange,
## AC_HELP_STRING([--disable-exchange], [disable Exchange support @<:@default=detect@:>@]),
## [want_exchange=$enableval],
## [want_exchange=auto]
##)
2010-02-05 15:22:34 -08:00
2008-12-07 17:39:33 -08:00
AM_CONDITIONAL(HAVE_EXCHANGE, false)
2012-09-21 03:16:28 -07:00
##define([CHECK_MODULE_CONF_THEME],
##[
## if test "x$want_exchange" != "xno" ; then
## AC_E_CHECK_PKG(EXCHANGE, [exchange], [], [:])
## else
## AC_MSG_NOTICE([requested to not use exchange library])
## fi
##])
2008-07-31 20:08:16 -07:00
2011-04-08 14:03:36 -07:00
have_enotify=no
AM_CONDITIONAL([HAVE_ENOTIFY], [false])
AC_ARG_ENABLE([enotify],
AC_HELP_STRING([--disable-enotify], [disable Enotify support @<:@default=detect@:>@]),
[e_cv_want_enotify=$enableval],
AC_CACHE_VAL([e_cv_want_enotify], [e_cv_want_enotify=yes])
)
if test "x$e_cv_want_enotify" != "xno" ; then
2012-11-28 02:24:25 -08:00
AC_E_CHECK_PKG(ENOTIFY, [ edbus >= 1.7.0 enotify >= 1.7.0 ],
2011-04-08 14:03:36 -07:00
[
AC_DEFINE_UNQUOTED([HAVE_ENOTIFY], [1], [enable enotify])
],
[
AC_MSG_NOTICE([enotify disabled])
e_cv_want_enotify=no
])
else
AC_MSG_NOTICE([enotify disabled])
e_cv_want_enotify=no
fi
AC_SUBST([ENOTIFY_CFLAGS])
AC_SUBST([ENOTIFY_LIBS])
2011-10-27 19:49:24 -07:00
AM_CONDITIONAL(HAVE_NOTIFICATION, false)
define([CHECK_MODULE_NOTIFICATION],
[
if test "x$e_cv_want_enotify" = "xno" ; then
NOTIFICATION=false
fi
])
2011-04-08 14:03:36 -07:00
2012-07-05 08:01:58 -07:00
have_ephysics=no
AM_CONDITIONAL([HAVE_EPHYSICS], [false])
AC_ARG_ENABLE([ephysics],
AC_HELP_STRING([--disable-ephysics], [disable Ephysics support @<:@default=detect@:>@]),
[e_cv_want_ephysics=$enableval],
AC_CACHE_VAL([e_cv_want_ephysics], [e_cv_want_ephysics=yes])
)
if test "x$e_cv_want_ephysics" != "xno" ; then
AC_E_CHECK_PKG(EPHYSICS, [ ephysics ],
[
AC_DEFINE_UNQUOTED([HAVE_EPHYSICS], [1], [enable ephysics])
],
[
AC_MSG_NOTICE([ephysics disabled])
e_cv_want_ephysics=no
])
else
AC_MSG_NOTICE([ephysics disabled])
e_cv_want_ephysics=no
fi
AC_SUBST([EPHYSICS_CFLAGS])
AC_SUBST([EPHYSICS_LIBS])
AM_CONDITIONAL(HAVE_PHYSICS, false)
define([CHECK_MODULE_PHYSICS],
[
if test "x$e_cv_want_ephysics" = "xno" ; then
PHYSICS=false
fi
])
2008-07-31 20:08:16 -07:00
AM_CONDITIONAL(HAVE_ALSA, false)
2008-12-07 17:39:33 -08:00
define([CHECK_MODULE_MIXER],
[
2010-08-29 15:39:35 -07:00
if test "x$enable_alsa" = "x" || test "x$enable_alsa" = "xdefault" || test "x$enable_alsa" = "xyes"; then
AC_E_CHECK_PKG(ALSA, [alsa >= 1.0.8],
[ SOUND_CFLAGS="$ALSA_CFLAGS -DHAVE_ALSA $SOUND_CFLAGS"
SOUND_LIBS="$ALSA_LIBS $SOUND_LDFLAGS"
],
[ if test "x$enable_alsa" = "xyes"; then
2008-12-07 17:39:33 -08:00
AC_MSG_ERROR([alsa library >= 1.0.8 not found])
2010-08-29 15:39:35 -07:00
else
2008-12-07 17:39:33 -08:00
AC_MSG_WARN([alsa library development files not present. no alsa support.])
2010-08-29 15:39:35 -07:00
fi
])
else
have_alsa=no
fi
2008-07-31 20:08:16 -07:00
2010-08-29 15:39:35 -07:00
if test "$have_alsa" = "yes"; then
2008-07-31 20:08:16 -07:00
AC_DEFINE(HAVE_ALSA, 1, [Define if the ALSA output plugin should be built])
2010-08-29 15:39:35 -07:00
else
2008-07-31 20:08:16 -07:00
have_alsa=no
2010-08-29 15:39:35 -07:00
fi
2008-12-07 17:39:33 -08:00
])
2008-07-31 20:08:16 -07:00
AC_SUBST(SOUND_CFLAGS)
2008-12-07 17:39:33 -08:00
AC_SUBST(SOUND_LIBS)
2009-12-31 13:44:33 -08:00
AM_CONDITIONAL(HAVE_ECONNMAN, false)
2012-09-04 06:31:12 -07:00
AM_CONDITIONAL(HAVE_DUMMY, false)
2009-12-31 13:44:33 -08:00
define([CHECK_MODULE_CONNMAN],
[
2012-11-28 03:27:20 -08:00
AC_E_CHECK_PKG(ECONNMAN, [ edbus >= 1.7.0 ], [], [CONNMAN=false])
2012-09-10 02:33:27 -07:00
dnl AC_E_CHECK_PKG(DUMMY, [ connman >= 1.0 ], [], [CONNMAN=false])
2009-12-31 13:44:33 -08:00
])
AC_SUBST(ECONNMAN_CFLAGS)
AC_SUBST(ECONNMAN_LIBS)
2012-01-31 08:36:07 -08:00
have_wayland_clients=no
2012-01-20 10:41:01 -08:00
AC_ARG_ENABLE([wayland-clients],
AS_HELP_STRING([--enable-wayland-clients],[enable wayland clients in composite module @<:@default=disabled@:>@]),
[e_cv_want_wayland_clients=$enableval],
2012-01-21 01:22:24 -08:00
[e_cv_want_wayland_clients=no])
2012-01-20 10:41:01 -08:00
AC_MSG_CHECKING([whether wayland client support is enabled])
AC_MSG_RESULT([${e_cv_want_wayland_clients}])
if test "x$e_cv_want_wayland_clients" != "xno";then
2012-01-26 10:23:01 -08:00
PKG_CHECK_MODULES([WAYLAND], [wayland-server egl >= 7.10 glesv2 gl pixman-1 xcb-image],
2012-01-20 10:41:01 -08:00
[
2012-01-31 08:36:07 -08:00
have_wayland_clients=yes
AC_DEFINE_UNQUOTED([HAVE_WAYLAND_CLIENTS],[1],[enable wayland client support])
2012-01-20 10:41:01 -08:00
],
2012-01-31 08:36:07 -08:00
[have_wayland_clients=no])
2012-01-20 10:41:01 -08:00
else
2012-01-31 08:36:07 -08:00
have_wayland_clients=no
2012-01-20 10:41:01 -08:00
fi
2012-01-31 08:36:07 -08:00
AM_CONDITIONAL([HAVE_WAYLAND_CLIENTS], [test "x${have_wayland_clients}" = "xyes"])
2012-01-20 10:41:01 -08:00
2011-04-08 14:03:36 -07:00
2008-12-07 17:39:33 -08:00
AC_E_OPTIONAL_MODULE([ibar], true)
AC_E_OPTIONAL_MODULE([dropshadow], true)
AC_E_OPTIONAL_MODULE([clock], true)
AC_E_OPTIONAL_MODULE([pager], true)
AC_E_OPTIONAL_MODULE([battery], true, [CHECK_MODULE_BATTERY])
2010-02-01 23:33:11 -08:00
AC_E_OPTIONAL_MODULE([temperature], true, [CHECK_MODULE_TEMPERATURE])
2011-10-27 19:49:24 -07:00
AC_E_OPTIONAL_MODULE([notification], true, [CHECK_MODULE_NOTIFICATION])
2008-12-07 17:39:33 -08:00
AC_E_OPTIONAL_MODULE([cpufreq], true)
AC_E_OPTIONAL_MODULE([ibox], true)
AC_E_OPTIONAL_MODULE([start], true)
AC_E_OPTIONAL_MODULE([winlist], true)
AC_E_OPTIONAL_MODULE([fileman], true)
2009-03-29 08:51:12 -07:00
AC_E_OPTIONAL_MODULE([fileman_opinfo], true)
2008-12-07 17:39:33 -08:00
AC_E_OPTIONAL_MODULE([wizard], true)
AC_E_OPTIONAL_MODULE([conf], true)
2012-11-05 07:24:47 -08:00
AC_E_OPTIONAL_MODULE([conf_wallpaper2], false)
2012-09-21 03:16:28 -07:00
AC_E_OPTIONAL_MODULE([conf_theme], true, true)
2008-12-07 17:39:33 -08:00
AC_E_OPTIONAL_MODULE([conf_intl], true)
2010-03-06 23:13:28 -08:00
AC_E_OPTIONAL_MODULE([msgbus], true)
2008-12-07 17:39:33 -08:00
AC_E_OPTIONAL_MODULE([conf_applications], true)
AC_E_OPTIONAL_MODULE([conf_display], true)
AC_E_OPTIONAL_MODULE([conf_shelves], true)
AC_E_OPTIONAL_MODULE([conf_keybindings], true)
2009-02-25 14:21:46 -08:00
AC_E_OPTIONAL_MODULE([conf_edgebindings], true)
2008-12-07 17:39:33 -08:00
AC_E_OPTIONAL_MODULE([conf_window_remembers], true)
AC_E_OPTIONAL_MODULE([conf_window_manipulation], true)
AC_E_OPTIONAL_MODULE([conf_menus], true)
AC_E_OPTIONAL_MODULE([conf_dialogs], true)
AC_E_OPTIONAL_MODULE([conf_performance], true)
AC_E_OPTIONAL_MODULE([conf_paths], true)
AC_E_OPTIONAL_MODULE([conf_interaction], true)
AC_E_OPTIONAL_MODULE([gadman], true)
AC_E_OPTIONAL_MODULE([mixer], true, [CHECK_MODULE_MIXER])
2009-12-31 13:44:33 -08:00
AC_E_OPTIONAL_MODULE([connman], true, [CHECK_MODULE_CONNMAN])
2010-01-01 09:15:16 -08:00
AC_E_OPTIONAL_MODULE([illume2], true)
2008-12-07 17:39:33 -08:00
AC_E_OPTIONAL_MODULE([syscon], true)
2009-05-17 13:42:01 -07:00
AC_E_OPTIONAL_MODULE([everything], true)
2009-05-12 17:45:21 -07:00
AC_E_OPTIONAL_MODULE([systray], true)
2010-01-04 04:27:15 -08:00
AC_E_OPTIONAL_MODULE([comp], true)
2012-11-05 07:24:47 -08:00
AC_E_OPTIONAL_MODULE([physics], false, [CHECK_MODULE_PHYSICS])
super sekrit module mostly complete: introducing the new and rewritten quickaccess module!
found in the Launcher category, this module allows for windows to be hidden/shown using bindings, and can be used to turn any window/application into a quake-style drop-down terminal or whatever else you would use triggered window hiding/showing for.
config options:
* autohide - hides window when focus is lost
* hide instead of raise - by default, qa will raise an activated window if it doesn't have focus; use this option to make it hide instead of raising
* automatically reopen when closed - this option, when set, causes qa to relaunch the application which created the window if the window is closed. it should (probably) only be used for terminals, and requires some magic for setting window names on terminals which I have created some infra for extending to non-standard terminal types; currently all xterm clones, urxvt, and terminology are supported. note that setting this option will cause the entry to become permanent, as any entry which is set to restart itself when closed cannot be transient
* transient - a window added to qa is initially a transient entry, meaning it's temporary: once you close the window, the binding is deleted, though the binding will remain if you restart e17. if you uncheck this option, it will become a permanent entry which can only be deleted either through the quickaccess advanced settings or the keybindings dialog.
fun fact: you can get to the quickaccess settings faster by clicking the Quickaccess... border menu item
SVN revision: 75550
2012-08-22 06:55:41 -07:00
AC_E_OPTIONAL_MODULE([quickaccess], true)
2011-05-27 23:53:44 -07:00
AC_E_OPTIONAL_MODULE([shot], true)
2011-06-12 08:05:22 -07:00
AC_E_OPTIONAL_MODULE([backlight], true)
2011-10-30 00:36:54 -07:00
AC_E_OPTIONAL_MODULE([tasks], true)
2011-11-05 23:41:39 -07:00
AC_E_OPTIONAL_MODULE([conf_randr], true)
2012-04-27 21:09:56 -07:00
AC_E_OPTIONAL_MODULE([xkbswitch], true)
2012-05-02 01:20:53 -07:00
AC_E_OPTIONAL_MODULE([tiling], true)
2012-11-05 07:24:47 -08:00
AC_E_OPTIONAL_MODULE([access], false)
2008-07-31 20:08:16 -07:00
2011-03-29 11:30:40 -07:00
SUSPEND=""
HIBERNATE=""
case "$host_os" in
freebsd*|pcbsd*)
SUSPEND="acpiconf -s3"
AC_MSG_NOTICE([use suspend method: $SUSPEND])
2011-03-29 11:32:22 -07:00
AC_SUBST(SUSPEND)
HIBERNATE="acpiconf -s4"
2011-03-29 11:30:40 -07:00
AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
2011-03-29 11:32:22 -07:00
AC_SUBST(HIBERNATE)
2011-03-29 11:30:40 -07:00
;;
*)
2011-03-29 12:14:39 -07:00
AC_PATH_PROGS([SUSPEND], [sleep.sh pm-suspend],[/etc/acpi/sleep.sh], [/etc/acpi:/sbin:/usr/sbin:$PATH])
if test "$SUSPEND" = "/etc/acpi/sleep.sh" ; then
2011-03-29 11:30:40 -07:00
SUSPEND="/etc/acpi/sleep.sh force"
AC_MSG_NOTICE([use suspend method: $SUSPEND])
fi
2011-03-29 11:20:11 -07:00
2011-03-29 11:30:40 -07:00
AC_PATH_PROGS([HIBERNATE], [hibernate.sh pm-hibernate],[/etc/acpi/hibernate.sh], [/etc/acpi:/sbin:/usr/sbin:$PATH])
2011-03-29 12:14:39 -07:00
if test "$HIBERNATE" = "/etc/acpi/hibernate.sh" ; then
2011-03-29 11:30:40 -07:00
HIBERNATE="/etc/acpi/hibernate.sh force"
AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
fi
;;
esac
2011-03-29 11:20:11 -07:00
2012-08-03 01:43:37 -07:00
m4_ifdef([v_mic],
[
EFL_COMPILER_FLAG([-Wshadow])
EFL_COMPILER_FLAG([-Wall])
EFL_COMPILER_FLAG([-W])
])
2012-07-13 05:46:50 -07:00
SUID_CFLAGS=-fPIE
SUID_LDFLAGS=-pie
AC_SUBST([SUID_CFLAGS])
AC_SUBST([SUID_LDFLAGS])
2004-11-24 19:37:45 -08:00
AC_OUTPUT([
Makefile
2005-10-24 22:02:03 -07:00
enlightenment.spec
2008-03-28 13:53:26 -07:00
enlightenment.pc
2004-11-24 19:37:45 -08:00
src/Makefile
src/bin/Makefile
2011-01-02 17:24:15 -08:00
src/bin/e_fm_shared_types.h
2010-10-04 23:33:19 -07:00
src/bin/e_fm/Makefile
2004-11-24 19:37:45 -08:00
src/modules/Makefile
2006-09-03 00:42:06 -07:00
src/modules/ibar/module.desktop
src/modules/dropshadow/module.desktop
src/modules/clock/module.desktop
src/modules/pager/module.desktop
src/modules/battery/module.desktop
src/modules/temperature/module.desktop
2011-10-27 19:49:24 -07:00
src/modules/notification/module.desktop
2006-09-03 00:42:06 -07:00
src/modules/cpufreq/module.desktop
src/modules/ibox/module.desktop
src/modules/start/module.desktop
2007-08-04 21:41:55 -07:00
src/modules/winlist/module.desktop
2007-08-12 03:03:18 -07:00
src/modules/fileman/module.desktop
2009-03-29 08:51:12 -07:00
src/modules/fileman_opinfo/module.desktop
2007-08-05 01:07:39 -07:00
src/modules/conf/module.desktop
2009-03-30 06:34:32 -07:00
src/modules/conf_wallpaper2/module.desktop
2007-07-07 08:44:01 -07:00
src/modules/conf_theme/module.desktop
2007-07-13 15:33:48 -07:00
src/modules/conf_intl/module.desktop
2007-07-24 07:50:26 -07:00
src/modules/conf_applications/module.desktop
2007-07-27 20:50:14 -07:00
src/modules/conf_display/module.desktop
2007-07-28 19:12:51 -07:00
src/modules/conf_shelves/module.desktop
src/modules/conf_keybindings/module.desktop
2009-02-25 14:21:46 -08:00
src/modules/conf_edgebindings/module.desktop
2008-05-06 02:30:21 -07:00
src/modules/conf_window_remembers/module.desktop
2007-07-28 19:12:51 -07:00
src/modules/conf_window_manipulation/module.desktop
2007-07-28 20:25:34 -07:00
src/modules/conf_menus/module.desktop
2007-07-28 23:58:24 -07:00
src/modules/conf_dialogs/module.desktop
src/modules/conf_performance/module.desktop
src/modules/conf_paths/module.desktop
2008-01-23 01:04:56 -08:00
src/modules/conf_interaction/module.desktop
2011-04-30 20:56:17 -07:00
src/modules/msgbus/module.desktop
2011-11-05 23:41:39 -07:00
src/modules/conf_randr/module.desktop
2008-05-18 21:37:34 -07:00
src/modules/gadman/module.desktop
2008-07-31 20:08:16 -07:00
src/modules/mixer/module.desktop
2008-08-30 18:51:27 -07:00
src/modules/connman/module.desktop
2010-05-14 08:21:02 -07:00
src/modules/illume2/doc/illume.dox
src/modules/illume2/module.desktop
2009-11-16 11:39:20 -08:00
src/modules/illume-home/module.desktop
2010-04-20 12:38:36 -07:00
src/modules/illume-home-toggle/module.desktop
2009-11-22 16:18:33 -08:00
src/modules/illume-softkey/module.desktop
2009-11-20 09:24:31 -08:00
src/modules/illume-keyboard/module.desktop
2009-11-24 17:02:11 -08:00
src/modules/illume-indicator/module.desktop
2009-12-14 20:33:47 -08:00
src/modules/illume-kbd-toggle/module.desktop
2009-12-22 16:39:24 -08:00
src/modules/illume-mode-toggle/module.desktop
2010-01-17 18:02:09 -08:00
src/modules/illume-bluetooth/module.desktop
2008-11-25 00:05:58 -08:00
src/modules/syscon/module.desktop
2009-05-06 07:20:45 -07:00
src/modules/everything/module.desktop
2009-08-13 08:10:54 -07:00
src/modules/everything/everything.pc
2009-05-12 17:45:21 -07:00
src/modules/systray/module.desktop
2010-01-04 04:27:15 -08:00
src/modules/comp/module.desktop
2012-07-05 08:01:58 -07:00
src/modules/physics/module.desktop
super sekrit module mostly complete: introducing the new and rewritten quickaccess module!
found in the Launcher category, this module allows for windows to be hidden/shown using bindings, and can be used to turn any window/application into a quake-style drop-down terminal or whatever else you would use triggered window hiding/showing for.
config options:
* autohide - hides window when focus is lost
* hide instead of raise - by default, qa will raise an activated window if it doesn't have focus; use this option to make it hide instead of raising
* automatically reopen when closed - this option, when set, causes qa to relaunch the application which created the window if the window is closed. it should (probably) only be used for terminals, and requires some magic for setting window names on terminals which I have created some infra for extending to non-standard terminal types; currently all xterm clones, urxvt, and terminology are supported. note that setting this option will cause the entry to become permanent, as any entry which is set to restart itself when closed cannot be transient
* transient - a window added to qa is initially a transient entry, meaning it's temporary: once you close the window, the binding is deleted, though the binding will remain if you restart e17. if you uncheck this option, it will become a permanent entry which can only be deleted either through the quickaccess advanced settings or the keybindings dialog.
fun fact: you can get to the quickaccess settings faster by clicking the Quickaccess... border menu item
SVN revision: 75550
2012-08-22 06:55:41 -07:00
src/modules/quickaccess/module.desktop
2011-05-27 23:53:44 -07:00
src/modules/shot/module.desktop
2011-06-12 08:05:22 -07:00
src/modules/backlight/module.desktop
2011-10-30 00:36:54 -07:00
src/modules/tasks/module.desktop
2012-04-27 21:09:56 -07:00
src/modules/xkbswitch/module.desktop
2012-05-02 01:20:53 -07:00
src/modules/tiling/module.desktop
2012-05-22 06:56:53 -07:00
src/modules/access/module.desktop
2004-11-24 19:37:45 -08:00
data/Makefile
data/images/Makefile
2012-04-27 21:09:56 -07:00
data/flags/Makefile
2012-08-02 00:51:46 -07:00
data/favorites/Makefile
2012-06-30 12:28:49 -07:00
data/desktop/Makefile
2005-10-23 00:17:59 -07:00
data/input_methods/Makefile
2004-11-24 19:37:45 -08:00
data/themes/Makefile
2005-07-03 00:23:03 -07:00
data/xsession/Makefile
data/xsession/enlightenment.desktop
2009-09-20 20:25:31 -07:00
data/tools/Makefile
2006-09-03 01:51:32 -07:00
data/etc/Makefile
2011-03-29 11:20:11 -07:00
data/etc/sysactions.conf
2006-09-11 02:36:32 -07:00
data/icons/Makefile
2008-10-26 02:04:05 -07:00
data/backgrounds/Makefile
2004-11-24 19:37:45 -08:00
doc/Makefile
2011-06-13 11:44:46 -07:00
doc/Doxyfile
2010-02-10 20:39:58 -08:00
doc/e.dox
2008-08-21 23:55:37 -07:00
config/Makefile
config/default/Makefile
2008-10-25 19:39:29 -07:00
config/standard/Makefile
2012-08-07 23:07:25 -07:00
config/mobile/Makefile
2010-06-19 10:33:38 -07:00
$po_makefile_in
2004-11-24 19:37:45 -08:00
])
2008-12-07 17:39:33 -08:00
# report
txt_strip() {
2010-08-29 15:39:35 -07:00
echo "[$]@" | sed -e 's/^[[ \t]]*\([[^ \t]]*\)[[ \t]]*$/\1/g'
2008-12-07 17:39:33 -08:00
}
2010-02-10 20:39:58 -08:00
echo
2008-12-07 17:39:33 -08:00
cat << SUMMARY_EOF
Summary:
* project.........: $PACKAGE $VERSION
* prefix..........: $(txt_strip $prefix)
* CFLAGS..........: $(txt_strip $CFLAGS)
* LDFLAGS.........: $(txt_strip $LDFLAGS)
SUMMARY_EOF
2010-02-10 20:39:58 -08:00
echo
2010-05-14 11:19:51 -07:00
cat << DEVICE_EOF
Preferred Backends:
2011-11-12 03:24:26 -08:00
* device..............: $device_backend
* hal_mount...........: $e_cv_want_mount_hal
* udisks_mount........: $e_cv_want_mount_udisks
* eeze_mount..........: $e_cv_want_mount_eeze
2010-05-14 11:19:51 -07:00
DEVICE_EOF
echo
2008-12-07 17:39:33 -08:00
2010-02-10 20:39:58 -08:00
UNUSED_MODS=""
for mod in $UNUSED_OPTIONAL_MODULES; do
2010-08-29 15:39:35 -07:00
UNUSED_MODS="$UNUSED_MODS${COLOR_HRED}$mod${COLOR_END} "
2010-02-10 20:39:58 -08:00
done
2008-12-07 17:39:33 -08:00
2010-02-10 20:39:58 -08:00
cat << MODULES_EOF
Modules:
* disabled........: $(txt_strip $UNUSED_MODS)
MODULES_EOF
echo
cat << DOCS_EOF
Documentation:
* enabled.........: ${build_doc}
DOCS_EOF
if test "x${build_doc}" = "xyes" ; then
2010-08-29 15:39:35 -07:00
echo " Building..........: make doc"
2008-12-07 17:39:33 -08:00
fi
2010-02-10 20:39:58 -08:00
echo
2008-12-07 17:39:33 -08:00
2010-02-10 20:39:58 -08:00
cat << COMPILE_EOF
Compilation........: make (or gmake)
COMPILE_EOF
echo
2008-12-07 17:39:33 -08:00
2010-02-10 20:39:58 -08:00
cat << INSTALL_EOF
Installation.......: make all install (as root if needed, with 'su' or 'sudo')
INSTALL_EOF
echo