From d91f672d4faa4696e9d972c593e3da4ae2a67904 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Thu, 31 Jul 2014 07:56:44 +0000 Subject: * configure.in, acinclude.m4: Move systemd check to APACHE_CHECK_SYSTEMD and use pkg-config where available. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1614821 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 32a7090e9c..55e5e32060 100644 --- a/configure.in +++ b/configure.in @@ -531,18 +531,7 @@ if test "$ac_cv_struct_tm_gmtoff" = "yes"; then AC_DEFINE(HAVE_GMTOFF, 1, [Define if struct tm has a tm_gmtoff field]) fi -dnl Check for systemd support for listen.c's socket activation. -case $host in -*-linux-*) - AC_CHECK_LIB(systemd-daemon, sd_notify, SYSTEMD_LIBS="-lsystemd-daemon") - AC_CHECK_HEADERS(systemd/sd-daemon.h) - if test "${ac_cv_header_systemd_sd_daemon_h}" = "no" || test -z "${SYSTEMD_LIBS}"; then - AC_MSG_WARN([Your system does not support systemd.]) - else - APR_ADDTO(HTTPD_LIBS, [$SYSTEMD_LIBS]) - AC_DEFINE(HAVE_SYSTEMD, 1, [Define if systemd is supported]) - fi -esac +APACHE_CHECK_SYSTEMD dnl ## Set up any appropriate OS-specific environment variables for apachectl -- cgit v1.2.1