[gnome-commander/googletest] Adds autotools check for C++11, needed for list initializations in tests



commit 3cc3500c1a155bc82b257bf74190a1326eeb4e3a
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Oct 24 23:10:14 2015 +0200

    Adds autotools check for C++11, needed for list initializations in tests

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4fc2a62..6ea9a17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,6 +20,8 @@ IT_PROG_INTLTOOL([0.35.0])
 dnl make sure we keep ACLOCAL_FLAGS around for maintainer builds to work
 AC_SUBST(ACLOCAL_AMFLAGS, "$ACLOCAL_FLAGS -I m4")
 
+AX_CXX_COMPILE_STDCXX_11
+
 dnl add -Wall to CFLAGS when using gcc
 CC_WARNINGS=
 if test "x$GCC" = "xyes"; then
@@ -27,7 +29,6 @@ if test "x$GCC" = "xyes"; then
 fi
 AC_SUBST(CC_WARNINGS)
 
-
 dnl ===================
 dnl Gettext stuff
 dnl ===================


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]