|
@@ -20,6 +20,14 @@ APACHE_CONF_ENV= \
|
|
ap_cv_void_ptr_lt_long=no \
|
|
ap_cv_void_ptr_lt_long=no \
|
|
PCRE_CONFIG=$(STAGING_DIR)/usr/bin/pcre-config
|
|
PCRE_CONFIG=$(STAGING_DIR)/usr/bin/pcre-config
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_APACHE_MPM_EVENT),y)
|
|
|
|
+APACHE_MPM = event
|
|
|
|
+else ifeq ($(BR2_PACKAGE_APACHE_MPM_PREFORK),y)
|
|
|
|
+APACHE_MPM = prefork
|
|
|
|
+else ifeq ($(BR2_PACKAGE_APACHE_MPM_WORKER),y)
|
|
|
|
+APACHE_MPM = worker
|
|
|
|
+endif
|
|
|
|
+
|
|
APACHE_CONF_OPTS = \
|
|
APACHE_CONF_OPTS = \
|
|
--sysconfdir=/etc/apache2 \
|
|
--sysconfdir=/etc/apache2 \
|
|
--with-apr=$(STAGING_DIR)/usr \
|
|
--with-apr=$(STAGING_DIR)/usr \
|
|
@@ -31,7 +39,7 @@ APACHE_CONF_OPTS = \
|
|
--enable-mime-magic \
|
|
--enable-mime-magic \
|
|
--without-suexec-bin \
|
|
--without-suexec-bin \
|
|
--enable-mods-shared=all \
|
|
--enable-mods-shared=all \
|
|
- --with-mpm=worker \
|
|
|
|
|
|
+ --with-mpm=$(APACHE_MPM) \
|
|
--disable-lua \
|
|
--disable-lua \
|
|
--disable-luajit
|
|
--disable-luajit
|
|
|
|
|