config2.m4 785 B

123456789101112131415161718192021
  1. dnl modules enabled in this directory by default
  2. APACHE_MODPATH_INIT(http)
  3. http_objects="http_core.lo http_protocol.lo http_request.lo http_filters.lo chunk_filter.lo byterange_filter.lo http_etag.lo"
  4. dnl mod_http should only be built as a static module for now.
  5. dnl this will hopefully be "fixed" at some point in the future by
  6. dnl refactoring mod_http and moving some things to the core and
  7. dnl vice versa so that the core does not depend upon mod_http.
  8. if test "$enable_http" = "yes"; then
  9. enable_http="static"
  10. elif test "$enable_http" = "shared"; then
  11. AC_MSG_ERROR([mod_http can not be built as a shared DSO])
  12. fi
  13. APACHE_MODULE(http, HTTP protocol handling, $http_objects, , static)
  14. APACHE_MODULE(mime, mapping of file-extension to MIME, , , yes)
  15. APACHE_MODPATH_FINISH