From 9d1704e6dea7f47f75a518c05ce55d77e5f8679a Mon Sep 17 00:00:00 2001 From: Matthew Berryman Date: Mon, 30 Nov 2020 13:54:11 +1100 Subject: [PATCH] fixes #1535 HPACK tools depends on C++14 but does not detect it --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 001b1abd..916c0543 100644 --- a/configure.ac +++ b/configure.ac @@ -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.]) 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" ]) # C++ library libnghttp2_asio