From: Michael Wallner Date: Wed, 4 Feb 2015 09:06:34 +0000 (+0100) Subject: check for HTTP2 support X-Git-Tag: RELEASE_2_3_0_RC1~67 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=04038853b905fc2321e96c6da948ac1fcda52550;p=m6w6%2Fext-http check for HTTP2 support --- diff --git a/config9.m4 b/config9.m4 index 3b1f701..6178eb2 100644 --- a/config9.m4 +++ b/config9.m4 @@ -202,6 +202,14 @@ dnl ---- if test `echo $CURL_VERSION | $SED -e 's/[[^0-9]]/ /g' | $AWK '{print $1*10000 + $2*100 + $3}'` -lt 71802; then AC_MSG_ERROR([libcurl version greater or equal to 7.18.2 required]) fi + + AC_MSG_CHECKING([for HTTP2 support in libcurl]) + if $CURL_CONFIG --features | $EGREP -q HTTP2; then + AC_MSG_RESULT([yes]) + AC_DEFINE([PHP_HTTP_HAVE_HTTP2], [1], [ ]) + else + AC_MSG_RESULT([no]) + fi dnl dnl compile tests