Skip to content

Commit 54e2125

Browse files
Adding m4 macro for C++17
1 parent e85c972 commit 54e2125

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,35 @@
11
# =============================================================================
2-
# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
2+
# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_17.html
33
# =============================================================================
44
#
55
# SYNOPSIS
66
#
7-
# AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
7+
# AX_CXX_COMPILE_STDCXX_17([ext|noext], [mandatory|optional])
88
#
99
# DESCRIPTION
1010
#
11-
# Check for baseline language coverage in the compiler for the C++11
11+
# Check for baseline language coverage in the compiler for the C++17
1212
# standard; if necessary, add switches to CXX and CXXCPP to enable
1313
# support.
1414
#
1515
# This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
16-
# macro with the version set to C++11. The two optional arguments are
16+
# macro with the version set to C++17. The two optional arguments are
1717
# forwarded literally as the second and third argument respectively.
1818
# Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
1919
# more information. If you want to use this macro, you also need to
2020
# download the ax_cxx_compile_stdcxx.m4 file.
2121
#
2222
# LICENSE
2323
#
24-
# Copyright (c) 2008 Benjamin Kosnik <[email protected]>
25-
# Copyright (c) 2012 Zack Weinberg <[email protected]>
26-
# Copyright (c) 2013 Roy Stogner <[email protected]>
27-
# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <[email protected]>
28-
# Copyright (c) 2015 Paul Norman <[email protected]>
2924
# Copyright (c) 2015 Moritz Klammler <[email protected]>
25+
# Copyright (c) 2016 Krzesimir Nowak <[email protected]>
3026
#
3127
# Copying and distribution of this file, with or without modification, are
3228
# permitted in any medium without royalty provided the copyright notice
3329
# and this notice are preserved. This file is offered as-is, without any
3430
# warranty.
3531

36-
#serial 18
32+
#serial 2
3733

3834
AX_REQUIRE_DEFINED([AX_CXX_COMPILE_STDCXX])
39-
AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [AX_CXX_COMPILE_STDCXX([11], [$1], [$2])])
35+
AC_DEFUN([AX_CXX_COMPILE_STDCXX_17], [AX_CXX_COMPILE_STDCXX([17], [$1], [$2])])

0 commit comments

Comments
 (0)