httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r730876 - in /httpd/httpd/trunk/modules: lua/config.m4 proxy/config.m4
Date Sat, 03 Jan 2009 00:20:14 GMT
Author: rjung
Date: Fri Jan  2 16:20:14 2009
New Revision: 730876

URL: http://svn.apache.org/viewvc?rev=730876&view=rev
Log:
Use LDADD mechanism to only link mod_serf resp.
mod_lua to libserf resp. liblua.

No need to include this dependency in all other
modules and binaries.

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

Modified: httpd/httpd/trunk/modules/lua/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/config.m4?rev=730876&r1=730875&r2=730876&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/lua/config.m4 (original)
+++ httpd/httpd/trunk/modules/lua/config.m4 Fri Jan  2 16:20:14 2009
@@ -100,8 +100,8 @@
 APACHE_MODULE(lua, Apache Lua Framework, $lua_objects, , no,
 [
 CHECK_LUA()
-APR_ADDTO(LIBS, ["$LUA_LIBS"])
 APR_ADDTO(INCLUDES, ["$LUA_CFLAGS"])
+MOD_LUA_LDADD="$LUA_LIBS"
 ])
 
 APACHE_MODPATH_FINISH

Modified: httpd/httpd/trunk/modules/proxy/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/config.m4?rev=730876&r1=730875&r2=730876&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/config.m4 (original)
+++ httpd/httpd/trunk/modules/proxy/config.m4 Fri Jan  2 16:20:14 2009
@@ -77,8 +77,7 @@
   ])
   
   if test "$serf_found" = "yes"; then
-    APR_ADDTO(LDFLAGS, ["-L$serf_prefix/lib"])
-    APR_ADDTO(LIBS, ["-lserf-0"])
+    MOD_SERF_LDADD="-L$serf_prefix/lib -lserf-0"
     APR_ADDTO(INCLUDES, ["-I$serf_prefix/include/serf-0"])
   else
     AC_MSG_ERROR(unable to find serf)



Mime
View raw message