summaryrefslogtreecommitdiffstats
path: root/rules/apache2.make
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2006-09-26 20:47:52 +0000
committerLadislav Michl <ladis@linux-mips.org>2006-09-26 20:47:52 +0000
commita319dde99480950accb6d677587c5c8c8c401cfc (patch)
tree1811d707338668609f5260beac3bf2b649051b29 /rules/apache2.make
parentf1245a1a83d36b5f12ac9ee75d3a235b4e835a4d (diff)
downloadptxdist-a319dde99480950accb6d677587c5c8c8c401cfc.tar.gz
ptxdist-a319dde99480950accb6d677587c5c8c8c401cfc.tar.xz
Add Multi Process Model choice to Apache.
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6068 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/apache2.make')
-rw-r--r--rules/apache2.make12
1 files changed, 11 insertions, 1 deletions
diff --git a/rules/apache2.make b/rules/apache2.make
index 417871738..b6abe4c84 100644
--- a/rules/apache2.make
+++ b/rules/apache2.make
@@ -1,5 +1,5 @@
# -*-makefile-*-
-# $Id: apache2.make,v 1.8 2006/09/26 12:11:10 michl Exp $
+# $Id: apache2.make,v 1.9 2006/09/26 20:45:08 michl Exp $
#
# Copyright (C) 2005 by Robert Schwebel
#
@@ -74,6 +74,16 @@ APACHE2_AUTOCONF = \
$(CROSS_AUTOCONF_USR) \
--enable-so
+ifdef PTXCONF_APACHE2_MPM_PREFORK
+APACHE2_AUTOCONF += --with-mpm=prefork
+endif
+ifdef PTXCONF_APACHE2_MPM_PERCHILD
+APACHE2_AUTOCONF += --with-mpm=perchild
+endif
+ifdef PTXCONF_APACHE2_MPM_WORKER
+APACHE2_AUTOCONF += --with-mpm=worker
+endif
+
# FIXME
# --without-apxs $(CROSS_AUTOCONF_USR)
# --with-python \