Skip to content
Snippets Groups Projects
Select Git revision
  • d4e20c7ec4c31befc489ffcca945bc7916a30b3c
  • master default protected
  • julia protected
  • 6.x protected
  • python-codegen
  • llvm-15
  • 5.x protected
  • 4.6 protected
  • uop
  • rework_pac
  • aux_vars_fix
  • julia-7.0.0
  • julia-6.4.0
  • julia-6.3.0
  • julia-6.2.0
15 results

ax_cxx_compile_stdcxx_17.m4

Blame
  • ax_cxx_compile_stdcxx_17.m4 1.38 KiB
    # =============================================================================
    #  https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_17.html
    # =============================================================================
    #
    # SYNOPSIS
    #
    #   AX_CXX_COMPILE_STDCXX_17([ext|noext], [mandatory|optional])
    #
    # DESCRIPTION
    #
    #   Check for baseline language coverage in the compiler for the C++17
    #   standard; if necessary, add switches to CXX and CXXCPP to enable
    #   support.
    #
    #   This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
    #   macro with the version set to C++17.  The two optional arguments are
    #   forwarded literally as the second and third argument respectively.
    #   Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
    #   more information.  If you want to use this macro, you also need to
    #   download the ax_cxx_compile_stdcxx.m4 file.
    #
    # LICENSE
    #
    #   Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
    #   Copyright (c) 2016 Krzesimir Nowak <qdlacz@gmail.com>
    #
    #   Copying and distribution of this file, with or without modification, are
    #   permitted in any medium without royalty provided the copyright notice
    #   and this notice are preserved. This file is offered as-is, without any
    #   warranty.
    
    #serial 2
    
    AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
    AC_DEFUN([AX_CXX_COMPILE_STDCXX_17], [AX_CXX_COMPILE_STDCXX([17], [$1], [$2])])