[gjs/wip/ptomato/mozjs31prep: 3/8] build: Require C++11
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/mozjs31prep: 3/8] build: Require C++11
- Date: Mon, 12 Sep 2016 18:37:44 +0000 (UTC)
commit e63082b68d6641f04cd8bca2b6aa658e48143f9f
Author: Philip Chimento <philip chimento gmail com>
Date: Sat Sep 3 12:11:42 2016 -0700
build: Require C++11
This was already required in practice, as the mozjs24 headers included
C++11 features. Probably this was not noticed because GCC did not warn
about that, but Clang does.
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9148550..66d0d3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -29,6 +29,7 @@ PKG_PROG_PKG_CONFIG
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
+AX_CXX_COMPILE_STDCXX_11
AC_ISC_POSIX
AC_HEADER_STDC
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]