Merge pull request #3643 from b4n/prefs-virtual-spaces-no-visual
[geany-mirror.git] / m4 / ax_cxx_compile_stdcxx_17.m4
bloba6834171739bed1a8974fe48999a9c91104cab34
1 # =============================================================================
2 #  https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_17.html
3 # =============================================================================
5 # SYNOPSIS
7 #   AX_CXX_COMPILE_STDCXX_17([ext|noext], [mandatory|optional])
9 # DESCRIPTION
11 #   Check for baseline language coverage in the compiler for the C++17
12 #   standard; if necessary, add switches to CXX and CXXCPP to enable
13 #   support.
15 #   This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
16 #   macro with the version set to C++17.  The two optional arguments are
17 #   forwarded literally as the second and third argument respectively.
18 #   Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
19 #   more information.  If you want to use this macro, you also need to
20 #   download the ax_cxx_compile_stdcxx.m4 file.
22 # LICENSE
24 #   Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
25 #   Copyright (c) 2016 Krzesimir Nowak <qdlacz@gmail.com>
27 #   Copying and distribution of this file, with or without modification, are
28 #   permitted in any medium without royalty provided the copyright notice
29 #   and this notice are preserved. This file is offered as-is, without any
30 #   warranty.
32 #serial 2
34 AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
35 AC_DEFUN([AX_CXX_COMPILE_STDCXX_17], [AX_CXX_COMPILE_STDCXX([17], [$1], [$2])])