summaryrefslogtreecommitdiffstats
path: root/modules/http2/config.m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/http2/config.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/http2/config.m4 b/modules/http2/config.m4
index f383b3cd83..e10bb8158f 100644
--- a/modules/http2/config.m4
+++ b/modules/http2/config.m4
@@ -154,6 +154,8 @@ AC_DEFUN([APACHE_CHECK_NGHTTP2],[
if test "x$liberrors" != "x"; then
AC_MSG_WARN([nghttp2 library is unusable])
fi
+ AC_CHECK_FUNCS([nghttp2_session_change_stream_priority],
+ [APR_ADDTO(MOD_CPPFLAGS, ["-DH2_NG2_CHANGE_PRIO"])], [])
else
AC_MSG_WARN([nghttp2 version is too old])
fi