projects
/
m6w6
/
ext-http
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
91894f4
)
check for HTTP2 support
author
Michael Wallner
<mike@php.net>
Wed, 4 Feb 2015 09:06:34 +0000
(10:06 +0100)
committer
Michael Wallner
<mike@php.net>
Wed, 4 Feb 2015 09:06:34 +0000
(10:06 +0100)
config9.m4
patch
|
blob
|
history
diff --git
a/config9.m4
b/config9.m4
index 3b1f7015554d1683469836e9548efd85b2eb0a08..6178eb2334590e3e10fc01403b4d88ae3a12bb67 100644
(file)
--- 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
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
dnl
dnl compile tests