Skip to content

Commit

Permalink
Use the AX_CXX_COMPILE_STDCXX macro to set the correct compiler flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jan 28, 2017
1 parent 957b5f9 commit 512941e
Show file tree
Hide file tree
Showing 2 changed files with 985 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.ac
Expand Up @@ -30,6 +30,9 @@ AC_PROG_CXX
AC_DISABLE_STATIC
AC_PROG_LIBTOOL

# We require a C++11-compliant compiler, without nonstandard extensions
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])

# Optional features
AC_ARG_ENABLE([debug],
[AS_HELP_STRING([--enable-debug],
Expand Down

0 comments on commit 512941e

Please sign in to comment.