Files
apache-http-server/modules/arch/unix/config5.m4
Jeff Trawick 33e15a38e8 more configure-time support for dynamically loadable MPMs:
. axe --with-mpm="shared" hack, replace with --enable-mpms-shared={all|list}
. replace singular MPM_NAME with access to the list of enabled MPMs
. replace singular MPM_SUBDIR with list MPM_SUBDIRS
. enable OS/2 MPM in same manner as others with configure support instead of
  hard-coding in configure.in

Current state: MPMs are built as static archives (but not linked to httpd) with
--enable-mpms-shared, so they still have to be built with apxs to load 
dynamically.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832228 13f79535-47bb-0310-9956-ffa450edef68
2009-11-03 00:38:06 +00:00

26 lines
692 B
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 "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
])
APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
APACHE_MODPATH_FINISH