Add support for systemd socket activation to listener sockets.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1511033 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Paul Querna
2013-08-06 16:51:15 +00:00
parent 505bdb0ba7
commit ba9ab903c4
4 changed files with 206 additions and 35 deletions

View File

@ -21,8 +21,6 @@ APACHE_MODULE(privileges, Per-virtualhost Unix UserIDs and enhanced security for
])
APACHE_MODULE(systemd, Systemd support, , , all, [
AC_CHECK_LIB(systemd-daemon, sd_notify, SYSTEMD_LIBS="-lsystemd-daemon")
AC_CHECK_HEADERS(systemd/sd-daemon.h, [ap_HAVE_SD_DAEMON_H="yes"], [ap_HAVE_SD_DAEMON_H="no"])
if test $ap_HAVE_SD_DAEMON_H = "no" || test -z "${SYSTEMD_LIBS}"; then
AC_MSG_WARN([Your system does not support systemd.])
enable_systemd="no"