config5.m4 revision af536445271e71c6f1f2751c5c1b5df4dae6a649
5616N/Adnl modules enabled in this directory by default
5616N/A
5616N/Adnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
5616N/A
5616N/AAPACHE_MODPATH_INIT(generators)
5616N/A
5616N/AAPACHE_MODULE(status, process/thread monitoring, , , yes)
5616N/AAPACHE_MODULE(autoindex, directory listing, , , yes)
5616N/AAPACHE_MODULE(asis, as-is filetypes, , , yes)
5616N/AAPACHE_MODULE(info, server information, , , most)
5616N/AAPACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [
5616N/A other_targets=suexec ] )
5616N/A
5616N/Aif ap_mpm_is_threaded; then
5616N/A# if we are using a threaded MPM, we will get better performance with
5616N/A# mod_cgid, so make it the default.
5616N/A APACHE_MODULE(cgid, CGI scripts. Enabled by default with threaded MPMs, , , yes, [
5616N/A case $host in
5616N/A *-solaris2*)
5616N/A case `uname -r` in
5616N/A 5.10)
5616N/A dnl Does the system have the appropriate patches?
5616N/A case `uname -p` in
5616N/A i386)
5616N/A patch_id="120665"
5616N/A ;;
5616N/A sparc)
5616N/A patch_id="120664"
5616N/A ;;
5616N/A *)
5616N/A AC_MSG_WARN([Unknown platform])
5616N/A patch_id="120664"
5616N/A ;;
5616N/A esac
5616N/A AC_MSG_CHECKING([for Solaris patch $patch_id])
5616N/A showrev -p | grep "$patch_id" >/dev/null 2>&1
5616N/A if test $? -eq 1; then
5616N/A dnl Solaris 11 (next release) as of snv_19 doesn't have this problem.
5616N/A dnl It may be possible to use /kernel/drv/tl from later releases.
5616N/A AC_MSG_ERROR([Please apply either patch # 120664 (Sparc) or # 120665 (x86).
5616N/AWithout these patches, mod_cgid is non-functional on Solaris 10 due to an OS
5616N/Abug with AF_UNIX sockets.
5616N/AIf you can not apply these patches, you can do one of the following:
5616N/A - run configure with --disable-cgid
5616N/A - switch to the prefork MPM
5616N/AFor more info: <http://issues.apache.org/bugzilla/show_bug.cgi?id=34264>])
5616N/A else
5616N/A AC_MSG_RESULT(yes)
5616N/A fi
5616N/A ;;
5616N/A esac
5616N/A ;;
5616N/A esac
5616N/A ])
5616N/A APACHE_MODULE(cgi, CGI scripts. Enabled by default with non-threaded MPMs, , , no)
5616N/Aelse
5616N/A# if we are using a non-threaded MPM, it makes little sense to use
5616N/A# mod_cgid, and it just opens up holes we don't need. Make mod_cgi the
5616N/A# default
5616N/A APACHE_MODULE(cgi, CGI scripts. Enabled by default with non-threaded MPMs, , , yes)
5616N/A APACHE_MODULE(cgid, CGI scripts. Enabled by default with threaded MPMs, , , no)
5616N/Afi
5616N/A
5616N/AAPR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
5616N/A
5616N/AAPACHE_MODPATH_FINISH
5616N/A