2016-02-19 21:02:58 +00:00
|
|
|
# ============================================================================
|
|
|
|
# http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
|
|
|
|
# ============================================================================
|
|
|
|
#
|
|
|
|
# SYNOPSIS
|
|
|
|
#
|
2016-05-01 22:42:22 +01:00
|
|
|
# AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
|
2016-02-19 21:02:58 +00:00
|
|
|
#
|
|
|
|
# DESCRIPTION
|
|
|
|
#
|
|
|
|
# Check for baseline language coverage in the compiler for the C++11
|
2016-05-01 22:42:22 +01:00
|
|
|
# standard; if necessary, add switches to CXX and CXXCPP to enable
|
|
|
|
# support.
|
2016-02-19 21:02:58 +00:00
|
|
|
#
|
2016-05-01 22:42:22 +01:00
|
|
|
# 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.
|
2016-02-19 21:02:58 +00:00
|
|
|
#
|
|
|
|
# LICENSE
|
|
|
|
#
|
|
|
|
# Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
|
|
|
|
# Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
|
|
|
|
# Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
|
2016-05-01 22:42:22 +01:00
|
|
|
# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
|
|
|
|
# Copyright (c) 2015 Paul Norman <penorman@mac.com>
|
|
|
|
# Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
|
2016-02-19 21:02:58 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2016-05-01 22:42:22 +01:00
|
|
|
#serial 16
|
2016-02-19 21:02:58 +00:00
|
|
|
|
2016-05-01 22:42:22 +01:00
|
|
|
m4_include([m4/ax_cxx_compile_stdcxx.m4])
|
2016-02-19 21:02:58 +00:00
|
|
|
|
2016-05-01 22:42:22 +01:00
|
|
|
AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX([11], [$1], [$2])])
|