diff options
author | Jeremy Linton <jeremy.linton@arm.com> | 2016-08-26 14:01:46 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2016-12-12 10:17:05 -0500 |
commit | 0676f33aa741a87634ffc3b9ef82c7d092c997ec (patch) | |
tree | e3dc7cee4096c9cd070bff81d97b5ff48a66bd6b /configure.ac | |
parent | 32e9a69c335324a53a2c0ba4e0b513fb044be0fd (diff) | |
download | polkit-0676f33aa741a87634ffc3b9ef82c7d092c997ec.tar.gz |
change mozjs interface module to c++
The JSAPI is now a full C++ interface. Convert the polkit
to JavaScript interface module to C++ compilation in order to
support newer versions of spidermonkey.
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 97d4222..18c1f4e 100644 --- a/configure.ac +++ b/configure.ac @@ -30,6 +30,8 @@ AC_PROG_MAKE_SET AC_PROG_LN_S AC_SYS_LARGEFILE AM_PROG_CC_C_O +AC_PROG_CXX +AX_CXX_COMPILE_STDCXX_11() # Taken from dbus AC_ARG_ENABLE(ansi, [ --enable-ansi enable -ansi -pedantic gcc flags],enable_ansi=$enableval,enable_ansi=no) @@ -142,6 +144,7 @@ AS_IF([test x${with_mozjs} != xauto], [ ]) ]) AC_SUBST(LIBJS_CFLAGS) +AC_SUBST(LIBJS_CXXFLAGS) AC_SUBST(LIBJS_LIBS) EXPAT_LIB="" |