APACHE_MODPATH_INIT(generators)
APACHE_MODULE(status, process/thread monitoring, , , yes)
APACHE_MODULE(autoindex, directory listing, , , yes)
APACHE_MODULE(asis, as-is filetypes, , , )
APACHE_MODULE(info, server information, , , most)
APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [
other_targets=suexec ] )
case $host in
*mingw*)
cgid_needed="no"
;;
*)
if ap_mpm_is_threaded; then
cgid_needed="yes"
else
cgid_needed="no"
fi
;;
esac
if test $cgid_needed = "yes"; then
APACHE_MODULE(cgid, CGI scripts. Enabled by default with threaded MPMs, , , most, [
case $host in
*-solaris2*)
case `uname -r` in
5.10)
case `uname -p` in
i386)
patch_id="120665"
;;
sparc)
patch_id="120664"
;;
*)
AC_MSG_WARN([Unknown platform])
patch_id="120664"
;;
esac
AC_MSG_CHECKING([for Solaris patch $patch_id])
showrev -p | grep "$patch_id" >/dev/null 2>&1
if test $? -eq 1; then
AC_MSG_ERROR([Please apply either patch Without these patches, mod_cgid is non-functional on Solaris 10 due to an OS
bug with AF_UNIX sockets.
If you can not apply these patches, you can do one of the following:
- run configure with --disable-cgid
- switch to the prefork MPM
For more info: <http://issues.apache.org/bugzilla/show_bug.cgi?id=34264>])
else
AC_MSG_RESULT(yes)
fi
;;
esac
;;
esac
])
APACHE_MODULE(cgi, CGI scripts. Enabled by default with non-threaded MPMs, , , no)
else
APACHE_MODULE(cgi, CGI scripts. Enabled by default with non-threaded MPMs, , , most)
APACHE_MODULE(cgid, CGI scripts. Enabled by default with threaded MPMs, , , no)
fi
APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
APACHE_MODPATH_FINISH