diff options
author | Jeff Trawick <trawick@apache.org> | 2013-09-08 20:06:47 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2013-09-08 20:06:47 +0200 |
commit | 06e4f5daaabd4e478e7fee2dde5c508031a47fe1 (patch) | |
tree | d91416366e667583e10ab72a30baea0be5534ba5 | |
parent | fix odd bug that prevented the manual from being installed (diff) | |
download | apache2-06e4f5daaabd4e478e7fee2dde5c508031a47fe1.tar.xz apache2-06e4f5daaabd4e478e7fee2dde5c508031a47fe1.zip |
add apreq and skiplist to libhttpd, support mod_apreq
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520888 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | CMakeLists.txt | 25 | ||||
-rw-r--r-- | README.cmake | 5 |
2 files changed, 25 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 76e574c9da..3b71a53d34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -290,12 +290,16 @@ IF(NOT ${minorversion} STREQUAL "4") "modules/debugging/mod_firehose.c+O+Firehose dump filter" "modules/proxy/mod_serf.c+O+Reverse proxy module using Serf" "modules/test/mod_policy.c+I+HTTP protocol compliance filters" + "modules/apreq/mod_apreq.c+i+Apache Request Filter" ) ENDIF() # Define extra definitions, sources, headers, etc. required by some modules. # This could be included in the master list of modules above, though it # certainly would get a lot more unreadable. +SET(mod_apreq_extra_defines APREQ_DECLARE_EXPORT) +SET(mod_apreq_extra_sources modules/apreq/handle.c) +SET(mod_apreq_main_source modules/apreq/filter.c) SET(mod_authz_dbd_extra_defines AUTHZ_DBD_DECLARE_EXPORT) SET(mod_authnz_ldap_requires APR_HAS_LDAP) SET(mod_authnz_ldap_extra_libs mod_ldap) @@ -524,7 +528,19 @@ IF(NOT ${minorversion} STREQUAL "4") # more libhttpd sources in trunk SET(LIBHTTPD_SOURCES ${LIBHTTPD_SOURCES} - "server/util_fcgi.c" + server/apreq_cookie.c + server/apreq_error.c + server/apreq_module.c + server/apreq_module_cgi.c + server/apreq_module_custom.c + server/apreq_param.c + server/apreq_parser.c + server/apreq_parser_header.c + server/apreq_parser_multipart.c + server/apreq_parser_urlencoded.c + server/apreq_util.c + server/skiplist.c + server/util_fcgi.c ) ENDIF() @@ -664,7 +680,12 @@ ENDFOREACH() ADD_LIBRARY(libhttpd SHARED ${LIBHTTPD_SOURCES}) SET(install_targets ${install_targets} libhttpd) TARGET_LINK_LIBRARIES(libhttpd ${APR_LIBRARIES} ${PCRE_LIBRARIES} ${HTTPD_SYSTEM_LIBS}) -SET_TARGET_PROPERTIES(libhttpd PROPERTIES COMPILE_FLAGS -DAP_DECLARE_EXPORT) +IF(NOT ${minorversion} STREQUAL "4") + # trunk needs apreq symbols exported + SET_TARGET_PROPERTIES(libhttpd PROPERTIES COMPILE_FLAGS "-DAP_DECLARE_EXPORT -DAPREQ_DECLARE_EXPORT") +ELSE() + SET_TARGET_PROPERTIES(libhttpd PROPERTIES COMPILE_FLAGS -DAP_DECLARE_EXPORT) +ENDIF() ADD_DEPENDENCIES(libhttpd test_char_header) ########### HTTPD EXECUTABLES ########## diff --git a/README.cmake b/README.cmake index 1c55980797..55c95528c3 100644 --- a/README.cmake +++ b/README.cmake @@ -191,9 +191,8 @@ Known Bugs and Limitations * no standard script or makefile is provided to tie together the builds of httpd and support libraries in a manner suitable for typical users -* no logic to find support libraries needed by some modules (distcache, serf) -* no working support for building these modules: - + mod_socache_dc, mod_serf, apreq+mod_apreq +* no logic to find support libraries or otherwise build these modules: + + mod_socache_dc (distcache), mod_serf (serf) + additionally, mod_lbmethod_rr and mod_firehose don't compile on Windows anyway * buildmark.c isn't necessarily rebuilt when httpd.exe is regenerated |