diff --git a/configure.ac b/configure.ac index ee70c7b86..7f7dc3bc2 100644 --- a/configure.ac +++ b/configure.ac @@ -22,9 +22,9 @@ AS_IF([test x"$PROTOC" = x], # automake 1.12 seems to require this, but automake 1.11 doesn't recognize it m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) -# Protobuf 3.6+ requires C++11. -AS_IF([pkg-config --atleast-version 3.6.0 protobuf], - [AX_CXX_COMPILE_STDCXX([11])]) +# Protobuf transitively requires at least C++14, get ahead of the +# curve and require at least C++17. +AX_CXX_COMPILE_STDCXX([17]) WARNING_CXXFLAGS="" PICKY_CXXFLAGS=""