[configure] Fix docs for --with-libgc option (#4707)
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 18 Apr 2017 17:41:13 +0000 (19:41 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Apr 2017 17:41:13 +0000 (19:41 +0200)
It was renamed from --with-gc to --with-libgc in 66ca91f10b0fdd61824e318f659b807cbf45aef3,
but a few places were missed.

README.md
configure.ac

index 87b011375061be7f0b91c045c3975cca6353354d..0a62776579733820c77ef2877ad822ee84dda2bf 100644 (file)
--- 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
index 28c6002a6d690e83e8b576aaf847db8349ae420a..f96988a18c13569aaa31d16a93b07ca188cb824c 100644 (file)
@@ -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