]> Raphaƫl G. Git Repositories - ihttpd/blob - SOURCES/httpd-2.4.27-systemd.patch
New 2.4.48 version
[ihttpd] / SOURCES / httpd-2.4.27-systemd.patch
1 diff -uap httpd-2.4.27/modules/arch/unix/config5.m4.systemd httpd-2.4.27/modules/arch/unix/config5.m4
2 --- httpd-2.4.27/modules/arch/unix/config5.m4.systemd
3 +++ httpd-2.4.27/modules/arch/unix/config5.m4
4 @@ -18,6 +18,16 @@
5 fi
6 ])
7
8 +APACHE_MODULE(systemd, Systemd support, , , all, [
9 + if test "${ac_cv_header_systemd_sd_daemon_h}" = "no" || test -z "${SYSTEMD_LIBS}"; then
10 + AC_MSG_WARN([Your system does not support systemd.])
11 + enable_systemd="no"
12 + else
13 + APR_ADDTO(MOD_SYSTEMD_LDADD, [$SYSTEMD_LIBS])
14 + enable_systemd="yes"
15 + fi
16 +])
17 +
18 APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
19
20 APACHE_MODPATH_FINISH