diff options
author | Michael DeRoy <deroymichael@gmail.com> | 2018-07-28 18:09:06 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2018-07-29 10:31:01 +0300 |
commit | b34868bbaf870d6bd80377120688592e02753854 (patch) | |
tree | b58089c396d633089440c6b4cbcf7ec30c006af1 /configure.ac | |
parent | be14525c421aa96c51bae576e00b0f40e3ab3b90 (diff) | |
download | bdwgc-b34868bbaf870d6bd80377120688592e02753854.tar.gz |
New configure --disable-threads-discovery option
(part of commit 7b2813c from Unity-Technologies/bdwgc)
Issue #173 (bdwgc).
* configure.ac (threads-discovery): New AC_ARG_ENABLE.
* configure.ac [$enable_threads_discovery=no]
(GC_NO_THREADS_DISCOVERY): Define macro.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9c28962a..f95ddab0 100644 --- a/configure.ac +++ b/configure.ac @@ -140,6 +140,14 @@ AC_ARG_ENABLE(thread-local-alloc, ;; esac]) +AC_ARG_ENABLE(threads-discovery, + [AC_HELP_STRING([--disable-threads-discovery], + [disable threads discovery in GC])]) +if test "${enable_threads_discovery}" = no; then + AC_DEFINE([GC_NO_THREADS_DISCOVERY], 1, + [Disable threads discovery in GC.]) +fi + AC_ARG_ENABLE(cplusplus, [AC_HELP_STRING([--enable-cplusplus], [install C++ support])]) |