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