Skip to content

Commit

Permalink
config: Require that C++ use the C++11 standard
Browse files Browse the repository at this point in the history
Introduce the AX_CXX_COMPILE_STDCXX macro from
 https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html.

Employ the macro to set the C++ compiler to use C++11.
  • Loading branch information
morrone committed Sep 27, 2017
1 parent e2efec5 commit 4c21db9
Show file tree
Hide file tree
Showing 2 changed files with 983 additions and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ AC_DEFINE([_GNU_SOURCE], 1,
[Define _GNU_SOURCE so that we get all necessary prototypes])
AC_PROG_CC_C99
AC_PROG_CXX
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])
AC_PROG_LN_S
AC_PROG_MAKE_SET
AM_PROG_CC_C_O
Expand Down
Loading

0 comments on commit 4c21db9

Please sign in to comment.