mirror of
https://github.com/apache/httpd.git
synced 2025-07-29 12:37:06 +00:00

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
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
|
|
APACHE_MODPATH_INIT(arch/unix)
|
|
|
|
if ap_mpm_is_enabled "simple" \
|
|
|| ap_mpm_is_enabled "worker" \
|
|
|| ap_mpm_is_enabled "event" \
|
|
|| ap_mpm_is_enabled "eventopt" \
|
|
|| ap_mpm_is_enabled "prefork"; then
|
|
unixd_mods_enable=yes
|
|
else
|
|
unixd_mods_enable=no
|
|
fi
|
|
|
|
APACHE_MODULE(unixd, unix specific support, , , $unixd_mods_enable)
|
|
APACHE_MODULE(privileges, Per-virtualhost Unix UserIDs and enhanced security for Solaris, , , no, [
|
|
AC_CHECK_HEADERS(priv.h, [ap_HAVE_PRIV_H="yes"], [ap_HAVE_PRIV_H="no"])
|
|
if test $ap_HAVE_PRIV_H = "no"; then
|
|
AC_MSG_WARN([Your system does not support privileges.])
|
|
enable_privileges="no"
|
|
fi
|
|
])
|
|
|
|
APACHE_MODULE(systemd, Systemd support, , , all, [
|
|
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
|
|
APR_ADDTO(MOD_SYSTEMD_LDADD, [$SYSTEMD_LIBS])
|
|
enable_systemd="yes"
|
|
fi
|
|
])
|
|
|
|
APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
|
|
|
|
APACHE_MODPATH_FINISH
|
|
|