ax_cxx_compile_stdcxx_11

Synopsis

AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])

Description

Check for baseline language coverage in the compiler for the C++11 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++11. 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.

Source Code

Download the latest version of ax_cxx_compile_stdcxx_11.m4 or browse the macro’s revision history.

License

Copyright © 2008 Benjamin Kosnik 
Copyright © 2012 Zack Weinberg 
Copyright © 2013 Roy Stogner 
Copyright © 2014, 2015 Google Inc.; contributed by Alexey Sokolov 
Copyright © 2015 Paul Norman 
Copyright © 2015 Moritz Klammler 

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.