1 dnl modules enabled in this directory by default
3 dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
5 APACHE_MODPATH_INIT(mappers)
7 APACHE_MODULE(vhost_alias, mass virtual hosting module, , , most)
8 APACHE_MODULE(negotiation, content negotiation, , , yes)
9 APACHE_MODULE(dir, directory request handling, , , yes)
10 APACHE_MODULE(imap, server-side imagemaps, , , yes)
11 APACHE_MODULE(actions, Action triggering on requests, , , yes)
12 APACHE_MODULE(speling, correct common URL misspellings, , , most)
13 APACHE_MODULE(userdir, mapping of requests to user-specific directories, , , yes)
14 APACHE_MODULE(alias, mapping of requests to different filesystem parts, , , yes)
16 APACHE_MODULE(rewrite, rule based URL manipulation, , , most)
19 APR_CHECK_APR_DEFINE(APR_HAS_DSO)
23 if test $ac_cv_define_APR_HAS_DSO = "no"; then
24 AC_MSG_ERROR([mod_so has been requested but cannot be built on your system])
28 AC_MSG_ERROR([mod_so can not be built as a shared DSO])
33 enable_so=$ac_cv_define_APR_HAS_DSO
37 dnl mod_so can only be built statically. If the user wants modules to
38 dnl be built as DSOs by default (eg. ./configure --enable-mods-shared=most)
39 dnl then we must override the default here.
40 if test "x$enable_so" = "xyes"; then
44 if test "$sharedobjs" = "yes"; then
45 if test $ac_cv_define_APR_HAS_DSO = "no"; then
46 AC_MSG_ERROR([shared objects have been requested but cannot be built since mod_so cannot be built])
47 elif test $enable_so = "no"; then
48 AC_MSG_ERROR([shared objects have been requested but cannot be built since mod_so was disabled])
52 APACHE_MODULE(so, DSO capability, , , $enable_so)
54 dnl ### why save the cache?