[gjs] build: Require C++11



commit 4e627cb58c2c1c54d7b374cdb10e4ab1fd37a648
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=742249

 configure.ac |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f1eb107..3e43109 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]