[gjs/wip/ptomato/classes: 5/12] Revert "build: Allow compiling without RTTI"

commit 1dc4023ab29ccadc641c27a7e9baa5e69110a903
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Jul 23 19:09:22 2017 -0700

    Revert "build: Allow compiling without RTTI"
    This reverts commit eccf3a14b9b0d6aae89baeaa32dd53f07b2b77d7.
    We don't need to match SpiderMonkey here anymore, since we don't inherit
    from a SpiderMonkey-defined class.

 configure.ac |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/configure.ac b/configure.ac
index 25903af..8fedc2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -204,16 +204,6 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
-dnl If SpiderMonkey was compiled with this configure option, then GJS needs to
-dnl be compiled with it as well, because we inherit from a SpiderMonkey class in
-dnl jsapi-constructor-proxy.cpp. See build/autoconf/compiler-opts.m4 in mozjs31.
-  [AS_HELP_STRING([--enable-cpp-rtti],
-    [needs to match SpiderMonkey's config option @<:@default=off@:>@])])
-AS_IF([test "x$enable_cpp_rtti" != "xyes"],
-  [AX_APPEND_COMPILE_FLAGS([-fno-rtti])],
     [Run all tests under an XVFB server @<:@default=no@:>@])])

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]