summaryrefslogtreecommitdiff
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
parentcf26a36fec320fd7905dcd249ea3ca6eaa780ec5 (diff)
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
137 ;; 137 ;;
138esac 138esac
139 139
140want_systemd="no"
140have_wince="no" 141have_wince="no"
141have_win32="no" 142have_win32="no"
142have_windows="no" 143have_windows="no"
@@ -158,6 +159,7 @@ case "$host_os" in
158 ;; 159 ;;
159 linux*) 160 linux*)
160 have_linux="yes" 161 have_linux="yes"
162 want_systemd="yes"
161 ;; 163 ;;
162esac 164esac
163 165
@@ -1735,6 +1737,9 @@ if test "x${have_glib}" = "xno"; then
1735 want_g_main_loop="no" 1737 want_g_main_loop="no"
1736fi 1738fi
1737 1739
1740EFL_OPTIONAL_DEPEND_PKG([ECORE], [${want_systemd}], [SYSTEMD], [libsystemd-daemon])
1741
1742EFL_ADD_FEATURE([ECORE], [systemd-daemon], [${want_systemd}])
1738EFL_ADD_FEATURE([ECORE], [glib]) 1743EFL_ADD_FEATURE([ECORE], [glib])
1739EFL_ADD_FEATURE([ECORE], [g-main-loop]) 1744EFL_ADD_FEATURE([ECORE], [g-main-loop])
1740 1745
@@ -1885,26 +1890,21 @@ want_ecore_con_local_sockets="yes"
1885want_ecore_con_abstract_sockets="yes" 1890want_ecore_con_abstract_sockets="yes"
1886 1891
1887if test "${have_wince}" = "yes"; then 1892if test "${have_wince}" = "yes"; then
1888 want_systemd="no"
1889 want_curl="no" 1893 want_curl="no"
1890 want_cares="no" 1894 want_cares="no"
1891 want_ecore_con_local_sockets="no" 1895 want_ecore_con_local_sockets="no"
1892 want_ecore_con_abstract_sockets="no" 1896 want_ecore_con_abstract_sockets="no"
1893elif test "${have_win32}" = "yes"; then 1897elif test "${have_win32}" = "yes"; then
1894 want_systemd="no"
1895 want_cares="yes" 1898 want_cares="yes"
1896 want_ecore_con_abstract_sockets="no" 1899 want_ecore_con_abstract_sockets="no"
1897elif test "${have_darwin}" = "yes"; then 1900elif test "${have_darwin}" = "yes"; then
1898 want_systemd="no"
1899 want_cares="no" 1901 want_cares="no"
1900 want_ecore_con_abstract_sockets="no" 1902 want_ecore_con_abstract_sockets="no"
1901elif test "${have_ps3}" = "yes"; then 1903elif test "${have_ps3}" = "yes"; then
1902 want_systemd="no"
1903 want_cares="no" 1904 want_cares="no"
1904 want_ecore_con_local_sockets="no" 1905 want_ecore_con_local_sockets="no"
1905 want_ecore_con_abstract_sockets="no" 1906 want_ecore_con_abstract_sockets="no"
1906else 1907else
1907 want_systemd="yes"
1908 want_cares="no" 1908 want_cares="no"
1909fi 1909fi
1910 1910