]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
support mod_lua; add some tweaks/disclaimers to the README
authorJeff Trawick <trawick@apache.org>
Sun, 8 Sep 2013 11:57:35 +0000 (11:57 +0000)
committerJeff Trawick <trawick@apache.org>
Sun, 8 Sep 2013 11:57:35 +0000 (11:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520856 13f79535-47bb-0310-9956-ffa450edef68

CMakeLists.txt
README.cmake

index e2e7977e9595252c7b2cbbbba558cad55c6ce546..fcdf906076075d77a6a245ad999e443a62d6aa5e 100644 (file)
@@ -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)
index 9f9729798395419633f0cc37d363dbe14584ab96..1c55980797a39d33041f1f4e8a8d1e8ffa69ea45 100644 (file)
@@ -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