summaryrefslogtreecommitdiff
path: root/modules/cluster
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2010-06-22 11:57:51 +0000
committerBrian Havard <bjh@apache.org>2010-06-22 11:57:51 +0000
commit8a47421de6d6ceaa62d0fd743c5865a7104a99cd (patch)
treeb2c7284999fc181642e6c56bfdc92eb7590f7df1 /modules/cluster
parentc07640c285650d99fbeb5cbba1b4819c836780af (diff)
downloadhttpd-8a47421de6d6ceaa62d0fd743c5865a7104a99cd.tar.gz
OS/2: Fix building of more modules that depend on symbols from other modules.
Affected modules are: mod_heartbeat, mod_session_cookie, mod_session_crypto, mod_session_dbd and mod_disk_cache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956857 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cluster')
-rw-r--r--modules/cluster/config5.m412
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/cluster/config5.m4 b/modules/cluster/config5.m4
index 2a4d759ea3..a4cf197175 100644
--- a/modules/cluster/config5.m4
+++ b/modules/cluster/config5.m4
@@ -1,7 +1,17 @@
APACHE_MODPATH_INIT(cluster)
-APACHE_MODULE(heartbeat, Generates Heartbeats, , , most)
+heartbeat_objects='mod_heartbeat.lo'
+
+case "$host" in
+ *os2*)
+ # OS/2 DLLs must resolve all symbols at build time
+ # and we need some from the watchdog module
+ heartbeat_objects="$heartbeat_objects ../core/mod_watchdog.la"
+ ;;
+esac
+
+APACHE_MODULE(heartbeat, Generates Heartbeats, $heartbeat_objects, , most)
APACHE_MODULE(heartmonitor, Collects Heartbeats, , , most)
APACHE_MODPATH_FINISH