From: Alexander Köplinger Date: Tue, 18 Apr 2017 17:41:13 +0000 (+0200) Subject: [configure] Fix docs for --with-libgc option (#4707) X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=856377a61d621ab459d076dc781360913492bd2e [configure] Fix docs for --with-libgc option (#4707) It was renamed from --with-gc to --with-libgc in 66ca91f10b0fdd61824e318f659b807cbf45aef3, but a few places were missed. --- diff --git a/README.md b/README.md index 87b01137506..0a627765797 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ collector. both a `mono` binary and a `mono-sgen` binary. `mono` uses Boehm, while `mono-sgen` uses the Simple Generational GC. -* `--with-gc=[included, boehm, none]` - Selects the default Boehm +* `--with-libgc=[included, boehm, none]` - Selects the default Boehm garbage collector engine to use. * *included*: (*slightly modified Boehm GC*) This is the default diff --git a/configure.ac b/configure.ac index 28c6002a6d6..f96988a18c1 100644 --- a/configure.ac +++ b/configure.ac @@ -1274,7 +1274,7 @@ dnl dnl Boehm GC configuration dnl -AC_ARG_WITH(libgc, [ --with-gc=included,none Controls the Boehm GC config, default=included],[libgc=$with_gc],[libgc=included]) +AC_ARG_WITH(libgc, [ --with-libgc=included,none Controls the Boehm GC config, default=included],[libgc=$with_gc],[libgc=included]) AC_ARG_ENABLE(boehm, [ --disable-boehm Disable the Boehm GC.], support_boehm=$enableval,support_boehm=${support_boehm:-yes}) AM_CONDITIONAL(SUPPORT_BOEHM, test x$support_boehm = xyes) @@ -1322,7 +1322,7 @@ if test "x$support_boehm" = "xyes"; then ;; xsgen) - AC_MSG_WARN("Use --with-sgen instead, --with-gc= controls Boehm configuration") + AC_MSG_WARN("Use --with-sgen instead, --with-libgc= controls Boehm configuration") ;; xnone) @@ -1332,7 +1332,7 @@ if test "x$support_boehm" = "xyes"; then gc_msg="none" ;; *) - AC_MSG_ERROR([Invalid argument to --with-gc.]) + AC_MSG_ERROR([Invalid argument to --with-libgc.]) ;; esac