summaryrefslogtreecommitdiffstats
path: root/modules/arch/unix/config5.m4
blob: 1815b6198bfcad36650aa540b51fc77e3e3e4966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
APACHE_MODPATH_INIT(arch/unix)

if test "$APACHE_MPM" = "simple" -o "$APACHE_MPM" = "worker" \
   -o "$APACHE_MPM" = "event" -o "$APACHE_MPM" = "prefork" \
   -o "$APACHE_MPM" = "shared"; 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
])

APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])

APACHE_MODPATH_FINISH