Add mandatory C++ compiler build dependency
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 3 Sep 2021 21:31:28 +0000 (17:31 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 14 Oct 2021 19:43:22 +0000 (15:43 -0400)
commitc30417c11fcaf0406c4cfb3a09373c848a86e291
treeaa62799e55a84df2d8b2ca4e7e57da3bed935f04
parentca806b0b247f89c62ac628a7779ae84049a8c2d7
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 <mjeanson@efficios.com>
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
configure.ac
m4/ax_cxx_compile_stdcxx.m4 [new file with mode: 0644]
m4/rw_prog_cxx_works.m4 [deleted file]
tests/utils/testapp/Makefile.am
tests/utils/testapp/userspace-probe-elf-cxx-binary/userspace-probe-elf-cxx-binary.cpp
This page took 0.036176 seconds and 4 git commands to generate.