gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive
authorPedro Alves <palves@redhat.com>
Fri, 28 Oct 2016 15:00:38 +0000 (16:00 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 28 Oct 2016 15:00:38 +0000 (16:00 +0100)
commit87106a7b0a3c403832f15aa316d5d6d2434e323f
treedba12c5870da264fddb6cd7b21884678b1e26e7b
parentf610ab6d3cbab5d8b8ef3f3a93dd81a800ec5725
gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive

This macro throws C++11 code at the compiler in order to check whether
it supports C++11.  final/override, rvalue references, static_assert,
decltype, auto, constexpr, etc., and adds -std=gnu++11 to CXX if
necessary.

Nothing uses the macro yet.  Simply adding it as separate preliminary
step because we'll need local changes.

gdb/ChangeLog
2016-10-28  Pedro Alves  <palves@redhat.com>

* ax_cxx_compile_stdcxx.m4: New file.
gdb/ChangeLog
gdb/ax_cxx_compile_stdcxx.m4 [new file with mode: 0644]