Blame synfig-studio/m4/ax_cxx_compile_stdcxx_11.m4

[d.j.a.y] Jerome Blanchi 811187
# ============================================================================
[d.j.a.y] Jerome Blanchi 811187
#  http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
[d.j.a.y] Jerome Blanchi 811187
# ============================================================================
[d.j.a.y] Jerome Blanchi 811187
#
[d.j.a.y] Jerome Blanchi 811187
# SYNOPSIS
[d.j.a.y] Jerome Blanchi 811187
#
[d.j.a.y] Jerome Blanchi 811187
#   AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
[d.j.a.y] Jerome Blanchi 811187
#
[d.j.a.y] Jerome Blanchi 811187
# DESCRIPTION
[d.j.a.y] Jerome Blanchi 811187
#
[d.j.a.y] Jerome Blanchi 811187
#   Check for baseline language coverage in the compiler for the C++11
[d.j.a.y] Jerome Blanchi 811187
#   standard; if necessary, add switches to CXXFLAGS to enable support.
[d.j.a.y] Jerome Blanchi 811187
#
[d.j.a.y] Jerome Blanchi 811187
#   This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
[d.j.a.y] Jerome Blanchi 811187
#   macro with the version set to C++11.  The two optional arguments are
[d.j.a.y] Jerome Blanchi 811187
#   forwarded literally as the second and third argument respectively.
[d.j.a.y] Jerome Blanchi 811187
#   Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
[d.j.a.y] Jerome Blanchi 811187
#   more information.  If you want to use this macro, you also need to
[d.j.a.y] Jerome Blanchi 811187
#   download the ax_cxx_compile_stdcxx.m4 file.
[d.j.a.y] Jerome Blanchi 811187
#
[d.j.a.y] Jerome Blanchi 811187
# LICENSE
[d.j.a.y] Jerome Blanchi 811187
#
[d.j.a.y] Jerome Blanchi 811187
#   Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com></bkoz@redhat.com>
[d.j.a.y] Jerome Blanchi 811187
#   Copyright (c) 2012 Zack Weinberg <zackw@panix.com></zackw@panix.com>
[d.j.a.y] Jerome Blanchi 811187
#   Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu></roystgnr@ices.utexas.edu>
[d.j.a.y] Jerome Blanchi 811187
#   Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com></sokolov@google.com>
[d.j.a.y] Jerome Blanchi 811187
#   Copyright (c) 2015 Paul Norman <penorman@mac.com></penorman@mac.com>
[d.j.a.y] Jerome Blanchi 811187
#   Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu></moritz@klammler.eu>
[d.j.a.y] Jerome Blanchi 811187
#
[d.j.a.y] Jerome Blanchi 811187
#   Copying and distribution of this file, with or without modification, are
[d.j.a.y] Jerome Blanchi 811187
#   permitted in any medium without royalty provided the copyright notice
[d.j.a.y] Jerome Blanchi 811187
#   and this notice are preserved. This file is offered as-is, without any
[d.j.a.y] Jerome Blanchi 811187
#   warranty.
[d.j.a.y] Jerome Blanchi 811187
[d.j.a.y] Jerome Blanchi 811187
#serial 14
[d.j.a.y] Jerome Blanchi 811187
[d.j.a.y] Jerome Blanchi 811187
include([ax_cxx_compile_stdcxx.m4])
[d.j.a.y] Jerome Blanchi 811187
[d.j.a.y] Jerome Blanchi 811187
AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX([11], [$1], [$2])])