1 dnl modules enabled in this directory by default
3 dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
5 APACHE_MODPATH_INIT(generators)
7 APACHE_MODULE(status, process/thread monitoring, , , yes)
8 APACHE_MODULE(autoindex, directory listing, , , yes)
9 APACHE_MODULE(asis, as-is filetypes, , , yes)
10 APACHE_MODULE(info, server information, , , most)
11 APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no, [
12 other_targets=suexec ] )
14 APR_ADDTO(LT_LDFLAGS,-export-dynamic)
16 if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild"; then
17 # if we are using a threaded MPM, we will get better performance with
18 # mod_cgid, so make it the default.
19 APACHE_MODULE(cgid, CGI scripts, , , yes, [
24 dnl Does the system have the appropriate patches?
33 AC_MSG_WARN([Unknown platform])
37 AC_MSG_CHECKING([for Solaris patch $patch_id])
38 showrev -p | grep "$patch_id" >/dev/null 2>&1
39 if test $? -eq 1; then
40 dnl Solaris 11 (next release) as of snv_19 doesn't have this problem.
41 dnl It may be possible to use /kernel/drv/tl from later releases.
42 AC_MSG_ERROR([Please apply either patch # 120664 (Sparc) or # 120665 (x86).
43 Without these patches, mod_cgid is non-functional on Solaris 10 due to an OS
44 bug with AF_UNIX sockets.
45 If you can not apply these patches, you can do one of the following:
46 - run configure with --disable-cgid
47 - switch to the prefork MPM
48 For more info: <http://issues.apache.org/bugzilla/show_bug.cgi?id=34264>])
57 APACHE_MODULE(cgi, CGI scripts, , , no)
59 # if we are using a non-threaded MPM, it makes little sense to use
60 # mod_cgid, and it just opens up holes we don't need. Make mod_cgi the
62 APACHE_MODULE(cgi, CGI scripts, , , yes)
63 APACHE_MODULE(cgid, CGI scripts, , , no)