From: Thomas Weißschuh Date: Mon, 21 Nov 2022 01:49:40 +0000 (+0100) Subject: meson: implement colors-default X-Git-Tag: v2.39-rc1~413^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0806c4091da5b416c7bada414fe75ce6aa6f362;p=thirdparty%2Futil-linux.git meson: implement colors-default --- diff --git a/meson.build b/meson.build index 4ef8745c67..115a285a2c 100644 --- a/meson.build +++ b/meson.build @@ -734,6 +734,7 @@ conf.set('USE_HWCLOCK_CMOS', use_hwclock_cmos ? 1 : false) conf.set('HAVE_TLS', get_option('use-tls') ? 1 : false) conf.set('PG_BELL', get_option('pg-bell') ? 1 : false) +conf.set('USE_COLORS_BY_DEFAULT', get_option('colors-default') ? 1 : false) ############################################################ diff --git a/meson_options.txt b/meson_options.txt index 07abf315bf..339948b913 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -193,6 +193,8 @@ option('use-tls', option('pg-bell', type : 'boolean', value : true, description : 'should pg ring the bell on invalid keys?') +option('colors-default', type: 'boolean', value: 'true', + description: 'Enables colorized output from utils by default') option('fs-search-path', type : 'string',