From 65fffd85fcc53c2f2af6be46802773ed2d85ff47 Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Fri, 16 Jul 2021 14:25:39 +0200 Subject: [PATCH] install: set --enable-color on by default Installation option '--enable-color' is set on by default which enables the `auto` output color mode. --- INSTALL.rst | 5 ++++- NEWS.rst | 2 ++ configure | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/INSTALL.rst b/INSTALL.rst index 8a43d987..cbc97e4d 100644 --- a/INSTALL.rst +++ b/INSTALL.rst @@ -512,12 +512,15 @@ instance :instopt:`--disable-set-manpath<--enable-set-manpath>`): Control if output should be colored by default or not. A value of ``yes`` equals to the ``auto`` color mode. ``no`` equals to the ``never`` color - mode. (default=no) + mode. (default=yes) .. only:: html .. versionadded:: 4.3 + .. versionchanged:: 5.0 + Configuration option default set to ``yes`` + .. instopt:: --enable-wa-277 Activate workaround for issue #277 related to Tcsh history mechanism which diff --git a/NEWS.rst b/NEWS.rst index 82ffc492..042a7eaf 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -35,6 +35,8 @@ Modules 5.0.0-alpha (2021-07-XX) * Install: installation option :instopt:`--enable-advanced-version-spec` is set on by default which activates the :ref:`Advanced module version specifiers` +* Install: installation option :instopt:`--enable-color` is set on by default + which enables the ``auto`` output color mode (see :envvar:`MODULES_COLOR`). .. _4.8 release notes: diff --git a/configure b/configure index 9b871bea..e824af96 100755 --- a/configure +++ b/configure @@ -98,7 +98,7 @@ initconfin=initdir pager=less pageropts='-eFKRX' verbosity=normal -color=n +color=y darkbgcolors='hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:va=93:sy=95:de=4:cm=92:aL=100:L=90;47:H=2:F=41:nF=43:S=46:sS=44' lightbgcolors='hi=1:db=2:tr=2:se=2:er=31:wa=33:me=35:in=34:mp=1;34:di=34:al=36:va=33:sy=35:de=4:cm=32:aL=107:L=47:H=2:F=101:nF=103:S=106:sS=104' termbg=dark @@ -283,7 +283,7 @@ Optional Features: --enable-ml define \`ml' command when Modules initializes [yes] --enable-color control colored output. \`yes' equals to the \`auto' color mode. \`no' equals to the \`never' color mode - [no] + [yes] --enable-wa-277 activate workaround for Tcsh history issue [no] --enable-windows-support install all required files for Windows platform [no]