From: Wolfgang 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-Tag: v8.0.0~3138 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a00ebf26406eca3940c1fc14a033b84bbc8d24d;p=dealii.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)