From: bangerth Date: Sun, 6 Nov 2011 14:20:15 +0000 (+0000) Subject: Now that C++2011 is out, refer to it by that name. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a0372bc3650a83cb7c3412da340ddde550e16f0;p=dealii-svn.git Now that C++2011 is out, refer to it by that name. git-svn-id: https://svn.dealii.org/trunk@24727 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 57e6fd4022..42d79c5b89 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -424,11 +424,11 @@ AC_DEFUN(DEAL_II_SET_CXX_FLAGS, dnl dnl BOOST uses long long, so don't warn about this CXXFLAGSG="$CXXFLAGSG -Wno-long-long" - dnl See whether the gcc we use already has a flag for C++1x features. + dnl See whether the gcc we use already has a flag for C++2011 features. + AC_MSG_CHECKING(whether compiler has a flag to support C++2011) + OLD_CXXFLAGS="$CXXFLAGS" CXXFLAGS=-std=c++0x - - AC_MSG_CHECKING(whether compiler has a flag to support C++1x) AC_TRY_COMPILE([], [;], [ AC_MSG_RESULT(yes)