dnl modules enabled in this directory by default
-dnl AC_DEFUN(modulename, modulestructname, defaultonoroff, configmacros)
-dnl XXX - Need to allow --enable-module to fail if optional config fails
-
-AC_DEFUN(APACHE_CHECK_AAA_MODULE, [
- APACHE_MODULE([$1],[$2],,[$3],[$4],[$5])
-])
+dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
APACHE_MODPATH_INIT(aaa)
-APACHE_CHECK_AAA_MODULE(access, host-based access control, , yes)
-APACHE_CHECK_AAA_MODULE(auth, user-based access control, , yes)
-APACHE_CHECK_AAA_MODULE(auth_anon, anonymous user access, , no)
-APACHE_CHECK_AAA_MODULE(auth_dbm, DBM-based access databases, , no)
+APACHE_MODULE(access, host-based access control, , , yes)
+APACHE_MODULE(auth, user-based access control, , , yes)
+APACHE_MODULE(auth_anon, anonymous user access, , , no)
+APACHE_MODULE(auth_dbm, DBM-based access databases, , , no)
-APACHE_CHECK_AAA_MODULE(auth_db, DB-based access databases, , no, [
+APACHE_MODULE(auth_db, DB-based access databases, , , no, [
AC_CHECK_HEADERS(db.h)
AC_CHECK_LIB(db,main)
])
-APACHE_CHECK_AAA_MODULE(auth_digest, digests, , no)
+
+APACHE_MODULE(auth_digest, digests, , , no)
LTFLAGS="$LTFLAGS -export-dynamic"
APACHE_MODPATH_FINISH
-
-APACHE_SUBST(STANDARD_LIBS)
dnl modules enabled in this directory by default
-dnl AC_DEFUN(modulename, modulestructname, defaultonoroff, configmacros)
-dnl XXX - Need to allow --enable-module to fail if optional config fails
-
-AC_DEFUN(APACHE_CHECK_CACHE_MODULE, [
- APACHE_MODULE([$1],[$2],,[$3],[$4],[$5])
-])
+dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
APACHE_MODPATH_INIT(cache)
-APACHE_CHECK_CACHE_MODULE(file_cache, File cache, , no)
+APACHE_MODULE(file_cache, File cache, , , no)
LTFLAGS="$LTFLAGS -export-dynamic"
+
APACHE_MODPATH_FINISH
-
-APACHE_SUBST(STANDARD_LIBS)
dnl modules enabled in this directory by default
-dnl AC_DEFUN(modulename, modulestructname, defaultonoroff, configmacros)
-dnl XXX - Need to allow --enable-module to fail if optional config fails
+dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
APACHE_MODPATH_INIT(echo)
LTFLAGS="$LTFLAGS -export-dynamic"
APACHE_MODPATH_FINISH
-
-APACHE_SUBST(STANDARD_LIBS)
dnl modules enabled in this directory by default
-dnl AC_DEFUN(modulename, modulestructname, defaultonoroff, configmacros)
-dnl XXX - Need to allow --enable-module to fail if optional config fails
+dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
APACHE_MODPATH_INIT(filters)
LTFLAGS="$LTFLAGS -export-dynamic"
APACHE_MODPATH_FINISH
-
-APACHE_SUBST(STANDARD_LIBS)
dnl modules enabled in this directory by default
-dnl AC_DEFUN(modulename, modulestructname, defaultonoroff, configmacros)
-dnl XXX - Need to allow --enable-module to fail if optional config fails
-
-AC_DEFUN(APACHE_CHECK_GENERATOR_MODULE, [
- APACHE_MODULE([$1],[$2],,[$3],[$4],[$5])
-])
+dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
APACHE_MODPATH_INIT(generators)
-APACHE_CHECK_GENERATOR_MODULE(status, process/thread monitoring, , no)
-APACHE_CHECK_GENERATOR_MODULE(autoindex, directory listing, , yes)
-APACHE_CHECK_GENERATOR_MODULE(asis, as-is filetypes, , yes)
-APACHE_CHECK_GENERATOR_MODULE(info, server information, , no)
-APACHE_CHECK_GENERATOR_MODULE(suexec, set uid and gid for spawned processes, , no)
+APACHE_MODULE(status, process/thread monitoring, , , no)
+APACHE_MODULE(autoindex, directory listing, , , yes)
+APACHE_MODULE(asis, as-is filetypes, , , yes)
+APACHE_MODULE(info, server information, , , no)
+APACHE_MODULE(suexec, set uid and gid for spawned processes, , , no)
LTFLAGS="$LTFLAGS -export-dynamic"
if test "$apache_cv_mpm" = "mpmt_pthread" -o "$apache_cv_mpm" = "dexter"; then
# if we are using a threaded MPM, we will get better performance with
# mod_cgid, so make it the default.
- APACHE_CHECK_GENERATOR_MODULE(cgid, CGI scripts, , yes)
- APACHE_CHECK_GENERATOR_MODULE(cgi, CGI scripts, , no)
+ APACHE_MODULE(cgid, CGI scripts, , , yes)
+ APACHE_MODULE(cgi, CGI scripts, , , no)
else
# if we are using a non-threaded MPM, it makes little sense to use
-# mod_cgid, and it just opens up holes we don't need. Make mod_cgi the # default
- APACHE_CHECK_GENERATOR_MODULE(cgi, CGI scripts, , yes)
- APACHE_CHECK_GENERATOR_MODULE(cgid, CGI scripts, , no)
+# mod_cgid, and it just opens up holes we don't need. Make mod_cgi the
+# default
+ APACHE_MODULE(cgi, CGI scripts, , , yes)
+ APACHE_MODULE(cgid, CGI scripts, , , no)
fi
APACHE_MODPATH_FINISH
-
-APACHE_SUBST(STANDARD_LIBS)
dnl modules enabled in this directory by default
-APACHE_MODPATH_INIT(loggers)
-dnl APACHE_MODULE(vhost_alias,blabla)
+dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
+
+APACHE_MODPATH_INIT(loggers)
APACHE_MODULE(log_config, logging configuration, , config_log, yes)
APACHE_MODPATH_FINISH
-
-APACHE_SUBST(STANDARD_LIBS)
dnl modules enabled in this directory by default
-dnl AC_DEFUN(modulename, modulestructname, defaultonoroff, configmacros)
-dnl XXX - Need to allow --enable-module to fail if optional config fails
-
-AC_DEFUN(APACHE_CHECK_METADATA_MODULE, [
- APACHE_MODULE([$1],[$2],,[$3],[$4],[$5])
-])
+dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
APACHE_MODPATH_INIT(metadata)
-APACHE_CHECK_METADATA_MODULE(env, clearing/setting of ENV vars, , yes)
-APACHE_CHECK_METADATA_MODULE(mime_magic, automagically determining MIME type, , no)
-APACHE_CHECK_METADATA_MODULE(cern_meta, CERN-type meta files, , no)
-APACHE_CHECK_METADATA_MODULE(expires, Expires header control, , no)
-APACHE_CHECK_METADATA_MODULE(headers, HTTP header control, , no)
+APACHE_MODULE(env, clearing/setting of ENV vars, , , yes)
+APACHE_MODULE(mime_magic, automagically determining MIME type, , , no)
+APACHE_MODULE(cern_meta, CERN-type meta files, , , no)
+APACHE_MODULE(expires, Expires header control, , , no)
+APACHE_MODULE(headers, HTTP header control, , , no)
-APACHE_CHECK_METADATA_MODULE(usertrack, user-session tracking, , no, [
+APACHE_MODULE(usertrack, user-session tracking, , , no, [
AC_CHECK_HEADERS(sys/times.h)
AC_CHECK_FUNCS(times)
])
-APACHE_CHECK_METADATA_MODULE(unique_id, per-request unique ids, , no)
-APACHE_CHECK_METADATA_MODULE(setenvif, basing ENV vars on headers, , yes)
+APACHE_MODULE(unique_id, per-request unique ids, , , no)
+APACHE_MODULE(setenvif, basing ENV vars on headers, , , yes)
LTFLAGS="$LTFLAGS -export-dynamic"
APACHE_MODPATH_FINISH
-
-APACHE_SUBST(STANDARD_LIBS)
dnl modules enabled in this directory by default
-dnl AC_DEFUN(modulename, modulestructname, defaultonoroff, configmacros)
+dnl APACHE_MODULE(name, helptext[, objects[, structname[, default[, config]]]])
+
dnl XXX - Need to add help text to --enable-module flags
dnl XXX - Need to allow --enable-module to fail if optional config fails
-AC_DEFUN(APACHE_CHECK_PROXY_MODULE, [
- APACHE_MODULE($1,,,$2,$3,$4)
-])
-
APACHE_MODPATH_INIT(proxy)
-APACHE_CHECK_PROXY_MODULE(proxy, , no)
+APACHE_MODULE(proxy, proxy handling, , , no)
APACHE_MODPATH_FINISH
-
-APACHE_SUBST(STANDARD_LIBS)