summaryrefslogtreecommitdiff
path: root/modules/arch
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2013-10-01 10:15:12 +0000
committerJoe Orton <jorton@apache.org>2013-10-01 10:15:12 +0000
commitf6f568d30c9718df3b0474529b6663100f5bba41 (patch)
tree595ecf249dc907193303ddd2baad5b7c920b9af2 /modules/arch
parent2aa439bdec9de8c8f6afded5f1c291cdcf711c82 (diff)
downloadhttpd-f6f568d30c9718df3b0474529b6663100f5bba41.tar.gz
* configure.in: Simplify/fix systemd detection: move later to fix
autoconf warnings; define HAVE_SYSTEMD rather than using CPPFLAGS. * server/listen.c: Use HAVE_SYSTEMD for systemd #define. * modules/arch/unix/config5.m4: Update systemd headers check. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1528032 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/arch')
-rw-r--r--modules/arch/unix/config5.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/arch/unix/config5.m4 b/modules/arch/unix/config5.m4
index a992ae2813..e6c154ba1f 100644
--- a/modules/arch/unix/config5.m4
+++ b/modules/arch/unix/config5.m4
@@ -21,7 +21,7 @@ APACHE_MODULE(privileges, Per-virtualhost Unix UserIDs and enhanced security for
])
APACHE_MODULE(systemd, Systemd support, , , all, [
- if test $ap_HAVE_SD_DAEMON_H = "no" || test -z "${SYSTEMD_LIBS}"; then
+ if test "${ac_cv_header_systemd_sd_daemon_h}" = "no" || test -z "${SYSTEMD_LIBS}"; then
AC_MSG_WARN([Your system does not support systemd.])
enable_systemd="no"
else