From e0806c4091da5b416c7bada414fe75ce6aa6f362 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Mon, 21 Nov 2022 02:49:40 +0100 Subject: [PATCH] meson: implement colors-default --- meson.build | 1 + meson_options.txt | 2 ++ 2 files changed, 3 insertions(+) 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', -- 2.47.3