summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-10 15:49:54 +0900
committerCedric Bail <cedric.bail@free.fr>2013-03-10 16:00:32 +0900
commit9176271492a7e46305ab95e5e9cf87687c38956c (patch)
tree758247e781db6910551f2972972ff8222258eb6b /configure.ac
parent12ceb717ea64105bbebfb45737fa8448ed721f83 (diff)
ecore_con: add systemd socket activation.
Be careful, systemd socket activation require you to always order server socket creation in the same order as defined in the unit file. This means ecore_con_server_add should always been in the same order for those of them using systemd socket activation.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 79d562b..d43be7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1883,21 +1883,26 @@ want_ecore_con_local_sockets="yes"
1883want_ecore_con_abstract_sockets="yes" 1883want_ecore_con_abstract_sockets="yes"
1884 1884
1885if test "${have_wince}" = "yes"; then 1885if test "${have_wince}" = "yes"; then
1886 want_systemd="no"
1886 want_curl="no" 1887 want_curl="no"
1887 want_cares="no" 1888 want_cares="no"
1888 want_ecore_con_local_sockets="no" 1889 want_ecore_con_local_sockets="no"
1889 want_ecore_con_abstract_sockets="no" 1890 want_ecore_con_abstract_sockets="no"
1890elif test "${have_win32}" = "yes"; then 1891elif test "${have_win32}" = "yes"; then
1892 want_systemd="no"
1891 want_cares="yes" 1893 want_cares="yes"
1892 want_ecore_con_abstract_sockets="no" 1894 want_ecore_con_abstract_sockets="no"
1893elif test "${have_darwin}" = "yes"; then 1895elif test "${have_darwin}" = "yes"; then
1896 want_systemd="no"
1894 want_cares="no" 1897 want_cares="no"
1895 want_ecore_con_abstract_sockets="no" 1898 want_ecore_con_abstract_sockets="no"
1896elif test "${have_ps3}" = "yes"; then 1899elif test "${have_ps3}" = "yes"; then
1900 want_systemd="no"
1897 want_cares="no" 1901 want_cares="no"
1898 want_ecore_con_local_sockets="no" 1902 want_ecore_con_local_sockets="no"
1899 want_ecore_con_abstract_sockets="no" 1903 want_ecore_con_abstract_sockets="no"
1900else 1904else
1905 want_systemd="yes"
1901 want_cares="no" 1906 want_cares="no"
1902fi 1907fi
1903 1908
@@ -1934,11 +1939,14 @@ else
1934 ecore_con_resolver="fork" 1939 ecore_con_resolver="fork"
1935fi 1940fi
1936 1941
1942EFL_OPTIONAL_DEPEND_PKG([ECORE_CON], [${want_systemd}], [SYSTEMD], [libsystemd-daemon])
1943
1937EFL_ADD_FEATURE([ECORE_CON], [curl]) 1944EFL_ADD_FEATURE([ECORE_CON], [curl])
1938EFL_ADD_FEATURE([ECORE_CON], [cares]) 1945EFL_ADD_FEATURE([ECORE_CON], [cares])
1939EFL_ADD_FEATURE([ECORE_CON], [local-sockets], [${want_ecore_con_local_sockets}]) 1946EFL_ADD_FEATURE([ECORE_CON], [local-sockets], [${want_ecore_con_local_sockets}])
1940EFL_ADD_FEATURE([ECORE_CON], [abstract-sockets], [${want_ecore_con_abstract_sockets}]) 1947EFL_ADD_FEATURE([ECORE_CON], [abstract-sockets], [${want_ecore_con_abstract_sockets}])
1941EFL_ADD_FEATURE([ECORE_CON], [resolver], [${ecore_con_resolver}]) 1948EFL_ADD_FEATURE([ECORE_CON], [resolver], [${ecore_con_resolver}])
1949EFL_ADD_FEATURE([ECORE_CON], [systemd-daemon], [${want_systemd}])
1942 1950
1943EFL_EVAL_PKGS([ECORE_CON]) 1951EFL_EVAL_PKGS([ECORE_CON])
1944 1952