summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorAlexander F Rødseth <alexander.rodseth@appeartv.com>2018-03-01 13:12:02 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-02 09:00:44 +0100
commit96164a3936af2dc2103d4d1ffa3b3b36b5017bff (patch)
tree65ee44e66b2c95ff053a015400e7b5eb9cd2d569 /meson.build
parentOrganize the ANSI codes and add missing colors (diff)
downloadsystemd-96164a3936af2dc2103d4d1ffa3b3b36b5017bff.tar.xz
systemd-96164a3936af2dc2103d4d1ffa3b3b36b5017bff.zip
Add build-time option to change the color of the "OK" status text
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index def2351f210..5aa46cd5791 100644
--- a/meson.build
+++ b/meson.build
@@ -182,6 +182,9 @@ conf.set_quoted('SYSTEM_SYSVINIT_PATH', sysvinit_path)
conf.set_quoted('SYSTEM_SYSVRCND_PATH', sysvrcnd_path)
conf.set_quoted('RC_LOCAL_SCRIPT_PATH_START', get_option('rc-local'))
conf.set_quoted('RC_LOCAL_SCRIPT_PATH_STOP', get_option('halt-local'))
+
+conf.set('ANSI_OK_COLOR', 'ANSI_' + get_option('ok-color').to_upper())
+
conf.set_quoted('USER_CONFIG_UNIT_PATH', join_paths(pkgsysconfdir, 'user'))
conf.set_quoted('USER_DATA_UNIT_PATH', userunitdir)
conf.set_quoted('CERTIFICATE_ROOT', get_option('certificate-root'))