We want to support more than two mozjs versions, so
cleanup the mozjs configure selection and add an
additional stanza.
Signed-off-by: Jeremy Linton
---
configure.ac | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/configure.ac b/configure.ac
index 18c
Now that polkitbackendjsauthority is compiling in C++ mode
and the autoconf supports mozjs24, update the module so
that it builds with mozjs24.
Signed-off-by: Jeremy Linton
---
src/polkitbackend/polkitbackendjsauthority.cpp | 71 ++
1 file changed, 51 insertions(+), 20 de
C++ needs explicit casts for many pointer type conversions
For example char * to void * should have a cast. Fix a
number of these cases. Also, scope initializations of C++
objects that are jumped around with goto's so the compiler
can determine when to destroy the objects.
Signed-off-by: Jeremy Li
Polkit is out of date with respect to supported versions of mozjs. These
patches start moving polkit forward again. Right now they are just to
mozjs24 which is one of the first C++ only JSAPI versions of spidermonkey
and is a good starting point for evolving polkit. Moving it forward to 38 or
45 in
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
---
configure.ac | 3 +++
src/polkitbackend/Makefile.