diff options
author | Rodrigo Kumpera <kumpera@gmail.com> | 2016-06-09 23:39:11 +0300 |
---|---|---|
committer | Rodrigo Kumpera <kumpera@gmail.com> | 2016-06-09 23:39:53 +0300 |
commit | 10fb3e1955f4865cf7a1cc003a6d83b9644fff20 (patch) | |
tree | 08f2439b0bef434ba12eed2bbc3d3acf6a4d0e87 /configure.ac | |
parent | b2cf7bbf8497fcae37d2fe8290b25c04adda8e4e (diff) |
[sgen] Inform on configure and --version when the concurrent GC is the default.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 4999b8f2b48..0cd24ea88df 100644 --- a/configure.ac +++ b/configure.ac @@ -3267,14 +3267,17 @@ AC_ARG_WITH(sgen-default-concurrent, [ --with-sgen-default-concurrent=yes,no if test x$buildsgen = xyes; then AC_DEFINE(HAVE_MOVING_COLLECTOR, 1, [Moving collector]) SGEN_DEFINES="-DHAVE_SGEN_GC" - if test "x$gc_msg" = "x"; then - gc_msg="sgen" - else - gc_msg="sgen and $gc_msg" - fi + conc_gc_msg="" if test x$with_sgen_default_concurrent != xno; then AC_DEFINE(HAVE_CONC_GC_AS_DEFAULT, 1, [Defaults to concurrent GC]) + conc_gc_msg=" (concurrent by default)" + fi + + if test "x$gc_msg" = "x"; then + gc_msg="sgen$conc_gc_msg" + else + gc_msg="sgen$conc_gc_msg and $gc_msg" fi fi AC_SUBST(SGEN_DEFINES) |