httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1150473 - /httpd/httpd/trunk/modules/lua/config.m4
Date Sun, 24 Jul 2011 19:14:26 GMT
Author: sf
Date: Sun Jul 24 19:14:25 2011
New Revision: 1150473

URL: http://svn.apache.org/viewvc?rev=1150473&view=rev
Log:
enable mod_lua at level 'all' if the dependencies are present

Modified:
    httpd/httpd/trunk/modules/lua/config.m4

Modified: httpd/httpd/trunk/modules/lua/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/config.m4?rev=1150473&r1=1150472&r2=1150473&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/config.m4 (original)
+++ httpd/httpd/trunk/modules/lua/config.m4 Sun Jul 24 19:14:25 2011
@@ -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])



Mime
View raw message