summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/lua/config.m42
-rw-r--r--modules/proxy/config.m43
2 files changed, 2 insertions, 3 deletions
diff --git a/modules/lua/config.m4 b/modules/lua/config.m4
index 1eff3f9626..71ecb2031d 100644
--- a/modules/lua/config.m4
+++ b/modules/lua/config.m4
@@ -100,8 +100,8 @@ 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,
[
CHECK_LUA()
-APR_ADDTO(LIBS, ["$LUA_LIBS"])
APR_ADDTO(INCLUDES, ["$LUA_CFLAGS"])
+MOD_LUA_LDADD="$LUA_LIBS"
])
APACHE_MODPATH_FINISH
diff --git a/modules/proxy/config.m4 b/modules/proxy/config.m4
index 583df00b7d..2c2ba81beb 100644
--- a/modules/proxy/config.m4
+++ b/modules/proxy/config.m4
@@ -77,8 +77,7 @@ AC_DEFUN([CHECK_SERF], [
])
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)