]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/meson.build
Merge pull request #5842 from keszybz/meson-status-and-conditionals
[thirdparty/systemd.git] / src / shared / meson.build
index f1d73d1b3ff6a85ff006fefd29c3d7b014d47a3b..b684e5b5436fbc6ed49671f4f569c9c73288f216 100644 (file)
@@ -103,19 +103,19 @@ shared_sources = '''
 test_tables_h = files('test-tables.h')
 shared_sources += [test_tables_h]
 
-if conf.get('HAVE_ACL', 0) == 1
+if conf.get('HAVE_ACL', false)
         shared_sources += ['acl-util.c']
 endif
 
-if conf.get('HAVE_UTMP', 0) == 1
+if conf.get('HAVE_UTMP', false)
         shared_sources += ['utmp-wtmp.c']
 endif
 
-if conf.get('HAVE_SECCOMP', 0) == 1
+if conf.get('HAVE_SECCOMP', false)
         shared_sources += ['seccomp-util.c']
 endif
 
-if conf.get('HAVE_LIBIPTC', 0) == 1
+if conf.get('HAVE_LIBIPTC', false)
         shared_sources += ['firewall-util.c']
 endif