summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2022-04-12 15:43:04 +0000
committerJoe Orton <jorton@apache.org>2022-04-12 15:43:04 +0000
commitdb0631ed09566c81d651b4a51401ea0d61b1e986 (patch)
treea4bba0ba7e30cbf3a9de152c861db20637d25445 /acinclude.m4
parent4c8b180828d8c39daa7529c659cce5768feb87af (diff)
downloadhttpd-db0631ed09566c81d651b4a51401ea0d61b1e986.tar.gz
Remove libsystemd dependency from main httpd binary
Until this change httpd was linking libsystemd to the main httpd binary. If you want to run lightweight version of httpd in container, sometimes you just want to install httpd binary with as little dependencies as possible to make container small in size and do not pull uncencessary dependencies and libraries. This change will move all systemd library calls from listen.c to mod_systemd module and remove systemd linking from the main httpd bin. Fixed mixed declaration and wrongly declared variable. Submitted by: Luboš Uhliarik <luhliari redhat.com> Github: closes #312 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899784 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m41
1 files changed, 0 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index a879eaabf2..c40cbd2304 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -831,7 +831,6 @@ case $host in
if test "${ac_cv_header_systemd_sd_daemon_h}" = "no"; 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
fi