diff options
-rw-r--r-- | CMakeLists.txt | 11 | ||||
-rw-r--r-- | README.cmake | 6 |
2 files changed, 14 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e2e7977e95..fcdf906076 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -232,7 +232,7 @@ SET(MODULE_LIST "modules/loggers/mod_log_debug.c+I+configurable debug logging" "modules/loggers/mod_log_forensic.c+I+forensic logging" "modules/loggers/mod_logio.c+I+input and output logging" - "modules/lua/mod_lua.c+O+Apache Lua Framework" + "modules/lua/mod_lua.c+i+Apache Lua Framework" "modules/mappers/mod_actions.c+I+Action triggering on requests" "modules/mappers/mod_alias.c+A+mapping of requests to different filesystem parts" "modules/mappers/mod_dir.c+A+directory request handling" @@ -333,6 +333,15 @@ SET(mod_ldap_extra_sources ) SET(mod_ldap_main_source modules/ldap/util_ldap.c) SET(mod_ldap_requires APR_HAS_LDAP) +SET(mod_lua_extra_defines AP_LUA_DECLARE_EXPORT) +SET(mod_lua_extra_includes ${LUA_INCLUDE_DIR}) +SET(mod_lua_extra_libs ${LUA_LIBRARIES}) +SET(mod_lua_extra_sources + modules/lua/lua_apr.c modules/lua/lua_config.c + modules/lua/lua_passwd.c modules/lua/lua_request.c + modules/lua/lua_vmprep.c modules/lua/lua_dbd.c +) +SET(mod_lua_requires LUA51_FOUND) SET(mod_optional_hook_export_extra_defines AP_DECLARE_EXPORT) # bogus reuse of core API prefix SET(mod_proxy_extra_defines PROXY_DECLARE_EXPORT) SET(mod_proxy_extra_sources modules/proxy/proxy_util.c) diff --git a/README.cmake b/README.cmake index 9f97297983..1c55980797 100644 --- a/README.cmake +++ b/README.cmake @@ -172,7 +172,7 @@ This can be resolved in several different ways: * Update PATH to include the bin directories of all necessary support libraries. - Depending on where PATH is set, it may not effect starting httpd as + Depending on where PATH is set, it may not affect starting httpd as a service. * Maintain a script which combines required binaries into a common @@ -189,9 +189,11 @@ This can be resolved in several different ways: 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_lua, mod_serf, apreq+mod_apreq + + mod_socache_dc, mod_serf, apreq+mod_apreq + additionally, mod_lbmethod_rr and mod_firehose don't compile on Windows anyway * buildmark.c isn't necessarily rebuilt when httpd.exe is regenerated |