From: Michael DeRoy Date: Mon, 30 Jul 2018 07:48:00 +0000 (+0300) Subject: New configure --disable-register-main-static-data option X-Git-Tag: v8.0.0~48 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e15c5396a18a4f669f119af8f7d770da50e18a49;p=gc New configure --disable-register-main-static-data option (part of commit 6be3fb4 from Unity-Technologies/bdwgc) Issue #173 (bdwgc). * configure.ac (register-main-static-data): New AC_ARG_ENABLE. * configure.ac [$enable_register_main_static_data=no] (GC_DONT_REGISTER_MAIN_STATIC_DATA): Define AC macro. --- diff --git a/configure.ac b/configure.ac index ade6f597..dccf9718 100644 --- a/configure.ac +++ b/configure.ac @@ -954,6 +954,14 @@ if test "${enable_dynamic_loading}" = "no"; then collector with disabled tracing of dynamic library data roots).]) fi +AC_ARG_ENABLE(register-main-static-data, + [AC_HELP_STRING([--disable-register-main-static-data], + [skip the initial guess of data root sets])]) +if test "${enable_register_main_static_data}" = "no"; then + AC_DEFINE([GC_DONT_REGISTER_MAIN_STATIC_DATA], 1, + [Skip the initial guess of data root sets.]) +fi + AC_ARG_ENABLE(checksums, [AS_HELP_STRING([--enable-checksums], [report on erroneously cleared dirty bits at