From: Simon Marchi Date: Fri, 3 Sep 2021 21:31:28 +0000 (-0400) Subject: Add mandatory C++ compiler build dependency X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;h=c30417c11fcaf0406c4cfb3a09373c848a86e291;hp=c30417c11fcaf0406c4cfb3a09373c848a86e291;p=lttng-tools.git Add mandatory C++ compiler build dependency This change is in preparation of converting some internal code to C++. - Add ax_cxx_compile_stdcxx.m4, which provides AX_CXX_COMPILE_STDCXX, a macro to find a C++ compiler matching certain characteristics. - Find which warning flags work for the C++ compiler (certain warning flags may be C or C++ specific). - Do a bit of reorganizing to group all C compiler things together, all C++ compiler things together. Change-Id: I35a16996fa9ba1fbbb040f7fa5f826e6bc95ea29 Signed-off-by: Michael Jeanson Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau ---