aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-10 20:53:58 +0900
committerCedric Bail <cedric.bail@free.fr>2013-03-10 21:21:19 +0900
commit29299ea2ab2338065514299b0b3f70374e8a79e4 (patch)
tree9b6aa857f514b2b5ae073c442258571ed09e5e69 /configure.ac
parentevil: cleanup compiler flags. (diff)
downloadefl-29299ea2ab2338065514299b0b3f70374e8a79e4.tar.gz
ecore: notify systemd automatically when the main loop is starting.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 01ed6e2af8..6d54280354 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,6 +137,7 @@ case "$host_os" in
;;
esac
+want_systemd="no"
have_wince="no"
have_win32="no"
have_windows="no"
@@ -158,6 +159,7 @@ case "$host_os" in
;;
linux*)
have_linux="yes"
+ want_systemd="yes"
;;
esac
@@ -1735,6 +1737,9 @@ if test "x${have_glib}" = "xno"; then
want_g_main_loop="no"
fi
+EFL_OPTIONAL_DEPEND_PKG([ECORE], [${want_systemd}], [SYSTEMD], [libsystemd-daemon])
+
+EFL_ADD_FEATURE([ECORE], [systemd-daemon], [${want_systemd}])
EFL_ADD_FEATURE([ECORE], [glib])
EFL_ADD_FEATURE([ECORE], [g-main-loop])
@@ -1885,26 +1890,21 @@ want_ecore_con_local_sockets="yes"
want_ecore_con_abstract_sockets="yes"
if test "${have_wince}" = "yes"; then
- want_systemd="no"
want_curl="no"
want_cares="no"
want_ecore_con_local_sockets="no"
want_ecore_con_abstract_sockets="no"
elif test "${have_win32}" = "yes"; then
- want_systemd="no"
want_cares="yes"
want_ecore_con_abstract_sockets="no"
elif test "${have_darwin}" = "yes"; then
- want_systemd="no"
want_cares="no"
want_ecore_con_abstract_sockets="no"
elif test "${have_ps3}" = "yes"; then
- want_systemd="no"
want_cares="no"
want_ecore_con_local_sockets="no"
want_ecore_con_abstract_sockets="no"
else
- want_systemd="yes"
want_cares="no"
fi