summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-07-10 10:39:20 +0200
committerLars Wendler <polynomial-c@gentoo.org>2017-07-10 10:40:19 +0200
commit4b33fc3fc85114b1a95509eb393299ebc428c167 (patch)
treef37d91ea19ccd224cdbb49adef7ca06a0f618ad6 /eclass/apache-2.eclass
parentsys-kernel/mips-sources: Security bumps, add ebuild for 4.12 (diff)
downloadgentoo-4b33fc3fc85114b1a95509eb393299ebc428c167.tar.gz
gentoo-4b33fc3fc85114b1a95509eb393299ebc428c167.tar.bz2
gentoo-4b33fc3fc85114b1a95509eb393299ebc428c167.zip
apache-2.eclass: http2 does not work with prefork MPM.
Diffstat (limited to 'eclass/apache-2.eclass')
-rw-r--r--eclass/apache-2.eclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/apache-2.eclass b/eclass/apache-2.eclass
index 0a4fe86df5b6..20e93f3b3dac 100644
--- a/eclass/apache-2.eclass
+++ b/eclass/apache-2.eclass
@@ -171,6 +171,10 @@ setup_mpm() {
eerror "You have selected a non-threaded MPM but USE=threads is enabled"
die "invalid use flag combination"
fi
+
+ if [[ "${MY_MPM}" = *prefork* ]] && use apache2_modules_http2 ; then
+ die "http2 does not work with prefork MPM."
+ fi
}
# @VARIABLE: MODULE_CRITICAL