From: Zbigniew Jędrzejewski-Szmek Date: Wed, 17 Oct 2018 12:36:09 +0000 (+0200) Subject: meson: simplify definition of MEMORY_ACCOUNTING_DEFAULT X-Git-Tag: v240~533^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30538ff10b28f59c7b0b287ab0cba84d7972e607;p=thirdparty%2Fsystemd.git meson: simplify definition of MEMORY_ACCOUNTING_DEFAULT Let's just use the simplest form, it doesn't really matter how the define looks after preprocessing. --- diff --git a/meson.build b/meson.build index 5d5783a591e..a47d7f9370a 100644 --- a/meson.build +++ b/meson.build @@ -231,7 +231,7 @@ conf.set_quoted('SYSTEMD_EXPORT_PATH', join_paths(rootlib conf.set_quoted('VENDOR_KEYRING_PATH', join_paths(rootlibexecdir, 'import-pubring.gpg')) conf.set_quoted('USER_KEYRING_PATH', join_paths(pkgsysconfdir, 'import-pubring.gpg')) conf.set_quoted('DOCUMENT_ROOT', join_paths(pkgdatadir, 'gatewayd')) -conf.set('MEMORY_ACCOUNTING_DEFAULT', memory_accounting_default ? 'true' : 'false') +conf.set10('MEMORY_ACCOUNTING_DEFAULT', memory_accounting_default) conf.set_quoted('MEMORY_ACCOUNTING_DEFAULT_YES_NO', memory_accounting_default ? 'yes' : 'no') substs.set('prefix', prefixdir)