Skip to content

Commit

Permalink
Add C++11 checks to configure script
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgr committed Aug 30, 2019
1 parent 47c1232 commit 044184b
Show file tree
Hide file tree
Showing 3 changed files with 955 additions and 2 deletions.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ AC_CONFIG_MACRO_DIR([m4])

dnl Do not set default CFLAGS and CXXFLAGS
ENV_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=" -Wall -std=c++11"
CXXFLAGS=" -Wall "

# Disable provenance
AC_ARG_ENABLE(
Expand Down Expand Up @@ -87,6 +87,8 @@ AS_IF([test "x$enable_mpi" = "xyes"], [
AM_CONDITIONAL([MPI], [test "x$enable_mpi" = "xyes"])

AC_PROG_CXX
AX_CXX_COMPILE_STDCXX(11)

AC_PROG_INSTALL
AC_PROG_MAKE_SET

Expand Down
Loading

0 comments on commit 044184b

Please sign in to comment.