config9.m4 revision 61afed048a4d67ed923d52e5c865c0f10a8e9e73
dnl modules enabled in this directory by default
dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
APACHE_MODPATH_INIT(mappers)
APACHE_MODULE(vhost_alias, mass hosting module, , , most)
APACHE_MODULE(negotiation, content negoatiation, , , yes)
APACHE_MODULE(dir, directory request handling, , , yes)
APACHE_MODULE(imap, internal imagemaps, , , yes)
APACHE_MODULE(actions, Action triggering on requests, , , yes)
APACHE_MODULE(speling, correct common URL misspellings, , , most)
APACHE_MODULE(userdir, mapping of user requests, , , yes)
APACHE_MODULE(alias, translation of requests, , , yes)
APACHE_MODULE(rewrite, regex URL translation, , , most)
dnl mod_so should only be built as a static module
if test "$enable_so" = "yes"; then
enable_so="static"
elif test "$enable_so" = "shared"; then
AC_MSG_ERROR([mod_so can not be built as a shared DSO])
fi
ap_old_cppflags=$CPPFLAGS
CPPFLAGS="$CPPFLAGS -I$APR_SOURCE_DIR/include -I$abs_builddir/srclib/apr/include"
AC_TRY_COMPILE([#include <apr.h>], [
#if !APR_HAS_DSO
#error You need APR DSO support to use mod_so.
#endif
], ap_enable_so="static", [
if test "$enable_so" = "static"; then
AC_MSG_ERROR([mod_so has been requested but cannot be built on your system])
else if test "$sharedobjs" = "yes"; then
AC_MSG_ERROR([shared objects have been requested but cannot be built since mod_so cannot be built])
else
ap_enable_so="no"
fi
fi
])
CPPFLAGS=$ap_old_cppflags
APACHE_MODULE(so, DSO capability, , , $ap_enable_so)
dnl ### why save the cache?
AC_CACHE_SAVE
APACHE_MODPATH_FINISH