From 3bc141cb7b8ea0861e60ecb96b3f0a81af53b349 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 17 Dec 2009 22:14:22 +0100 Subject: [PATCH] use -std=c++0x for C++ sources This is for --enable-testing, as we use C99 features (anonymous variadic macros, in logging.h). --- configure.ac.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac.in b/configure.ac.in index de6eda30..7659accb 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -947,7 +947,7 @@ conky_CXXFLAGS=${conky_CXXFLAGS/-Wdeclaration-after-statement/} conky_CXXFLAGS=${conky_CXXFLAGS/-Wbad-function-cast/} conky_CXXFLAGS=${conky_CXXFLAGS/-Wstrict-prototypes/} conky_CXXFLAGS=${conky_CXXFLAGS/-Wold-style-definition/} -conky_CXXFLAGS=${conky_CXXFLAGS/-std=c99/-std=c++98} +conky_CXXFLAGS=${conky_CXXFLAGS/-std=c99/-std=c++0x} AC_SUBST(conky_CFLAGS) AC_SUBST(conky_CXXFLAGS)