summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/http/httpd-worker-conf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/modules/http/httpd-worker-conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/http/httpd-worker-conf b/sca-cpp/trunk/modules/http/httpd-worker-conf
index 84fe6b4a54..0a061dbffa 100755
--- a/sca-cpp/trunk/modules/http/httpd-worker-conf
+++ b/sca-cpp/trunk/modules/http/httpd-worker-conf
@@ -31,9 +31,15 @@ cat >$root/conf/mpm.conf <<EOF
# Use HTTPD worker MPM
LoadModule mpm_worker_module ${modules_prefix}/modules/mod_mpm_worker.so
-# Generated by: httpd-event-conf $*
+EOF
+
+uname=`uname -s`
+if [ $uname = "Darwin" ]; then
+ cat >>$root/conf/mpm.conf <<EOF
+# Generated by: httpd-conf $*
# Set thread stack size
ThreadStackSize 2097152
EOF
+fi