1 1.1 mrg # ============================================================================ 2 1.1 mrg # http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.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_11([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++11 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++11. 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) 2008 Benjamin Kosnik <bkoz (a] redhat.com> 25 1.1 mrg # Copyright (c) 2012 Zack Weinberg <zackw (a] panix.com> 26 1.1 mrg # Copyright (c) 2013 Roy Stogner <roystgnr (a] ices.utexas.edu> 27 1.1 mrg # Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov (a] google.com> 28 1.1 mrg # Copyright (c) 2015 Paul Norman <penorman (a] mac.com> 29 1.1 mrg # Copyright (c) 2015 Moritz Klammler <moritz (a] klammler.eu> 30 1.1 mrg # 31 1.1 mrg # Copying and distribution of this file, with or without modification, are 32 1.1 mrg # permitted in any medium without royalty provided the copyright notice 33 1.1 mrg # and this notice are preserved. This file is offered as-is, without any 34 1.1 mrg # warranty. 35 1.1 mrg 36 1.1 mrg #serial 17 37 1.1 mrg 38 1.1 mrg AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX]) 39 1.1 mrg AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX([11], [$1], [$2])]) 40