On Fri, Nov 14, 2014 at 12:01:43PM +0100, Richard Biener wrote: > > doc/invoke.texi also talks about it, wonder if it shouldn't be mentioned > > elsewhere, install.texi? > > Sure - the configure option should be mentioned in install.texi as well.
Here it is. Ok for trunk? 2014-11-14 Jakub Jelinek <ja...@redhat.com> * doc/install.texi (--with-diagnostics-color=): Document. --- gcc/doc/install.texi.jj 2014-11-13 15:13:22.000000000 +0100 +++ gcc/doc/install.texi 2014-11-14 16:29:47.941342318 +0100 @@ -1795,6 +1795,15 @@ static data members and inline function default for a toolchain with an assembler that accepts it and GLIBC 2.11 or above, otherwise disabled. +@item --with-diagnostics-color=@var{choice} +Tells GCC to use @var{choice} as the default for @option{-fdiagnostics-color=} +option (if not used explicitly on the command line). @var{choice} +can be one of @samp{never}, @samp{auto}, @samp{always}, and @samp{auto-if-env} +where @samp{auto} is the default. @samp{auto-if-env} means that +@option{-fdiagnostics-color=auto} will be the default if @code{GCC_COLORS} +is present and non-empty in the environment, and +@option{-fdiagnostics-color=never} otherwise. + @item --enable-lto @itemx --disable-lto Enable support for link-time optimization (LTO). This is enabled by Jakub