aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorMatwey V. Kornilov <[email protected]>2013-12-17 18:16:56 +0400
committerMatwey V. Kornilov <[email protected]>2014-02-19 15:33:36 +0400
commitb7c95eabf6017ddb352fb8ce2b3749af108ebf29 (patch)
treeb74548225eda68455bc5ab0d6d982832cc411dce /erts/configure.in
parent25237481ccccd3ddfa74582dc267632ad618ba30 (diff)
downloadotp-b7c95eabf6017ddb352fb8ce2b3749af108ebf29.tar.gz
otp-b7c95eabf6017ddb352fb8ce2b3749af108ebf29.tar.bz2
otp-b7c95eabf6017ddb352fb8ce2b3749af108ebf29.zip
Add systemd socket activation for epmd.
Check for systemd libraries and headers in confgiure. Add -systemd option enabling waiting for sockets from systemd.
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index bad748d8fe..3ed1238319 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -967,6 +967,8 @@ AC_CHECK_LIB(dl, dlopen)
AC_CHECK_LIB(inet, main)
AC_CHECK_LIB(util, openpty)
+AC_CHECK_LIB(systemd-daemon, sd_listen_fds)
+
dnl Try to find a thread library.
dnl
dnl ETHR_LIB_NAME, ETHR_LIBS, ETHR_X_LIBS, ETHR_THR_LIB_BASE and ETHR_DEFS
@@ -1563,6 +1565,8 @@ AC_CHECK_MEMBERS([struct ifreq.ifr_enaddr], [], [],
#endif
])
+AC_CHECK_HEADERS(systemd/sd-daemon.h)
+
dnl ----------------------------------------------------------------------
dnl Check the availability for libdlpi
dnl ----------------------------------------------------------------------