HPACK tools depends on C++14 but does not detect it
This commit is contained in:
Matthew Berryman 2020-11-30 13:54:11 +11:00
parent fb5b5aef0a
commit 9d1704e6de
No known key found for this signature in database
GPG Key ID: 488C06AF20E3E18E
1 changed files with 5 additions and 0 deletions

View File

@ -502,6 +502,11 @@ if test "x${request_hpack_tools}" = "xyes" &&
AC_MSG_ERROR([HPACK tools were requested (--enable-hpack-tools) but dependencies are not met.]) AC_MSG_ERROR([HPACK tools were requested (--enable-hpack-tools) but dependencies are not met.])
fi fi
if AX_CXX_COMPILE_STDCXX([14], [noext], [optional]) then
enable_hpack_tools=no
AC_MSG_WARN([HPACK tools were requested but depend on C++14])
fi
AM_CONDITIONAL([ENABLE_HPACK_TOOLS], [ test "x${enable_hpack_tools}" = "xyes" ]) AM_CONDITIONAL([ENABLE_HPACK_TOOLS], [ test "x${enable_hpack_tools}" = "xyes" ])
# C++ library libnghttp2_asio # C++ library libnghttp2_asio