From: Stefan Fritsch Date: Sun, 24 Jul 2011 19:14:25 +0000 (+0000) Subject: enable mod_lua at level 'all' if the dependencies are present X-Git-Tag: 2.3.14^2~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e487ff2212d2689a87c79a01af0221515837ba0d;p=thirdparty%2Fapache%2Fhttpd.git enable mod_lua at level 'all' if the dependencies are present git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1150473 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/lua/config.m4 b/modules/lua/config.m4 index 95cb01db1cf..c70c5af930c 100644 --- a/modules/lua/config.m4 +++ b/modules/lua/config.m4 @@ -135,10 +135,12 @@ fi lua_objects="lua_apr.lo lua_config.lo mod_lua.lo lua_request.lo lua_vmprep.lo" -APACHE_MODULE(lua, Apache Lua Framework, $lua_objects, , no, [ +APACHE_MODULE(lua, Apache Lua Framework, $lua_objects, , , [ CHECK_LUA() - APR_ADDTO(INCLUDES, [$LUA_CFLAGS]) - APR_ADDTO(MOD_LUA_LDADD, [$LUA_LIBS]) + if test "x$enable_lua" != "xno" ; then + APR_ADDTO(INCLUDES, [$LUA_CFLAGS]) + APR_ADDTO(MOD_LUA_LDADD, [$LUA_LIBS]) + fi ]) APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])