diff options
author | Michael Biebl <mbiebl@gmail.com> | 2017-05-03 16:45:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 16:45:31 +0200 |
commit | 8251ee109c5f7788fe33043c97b8b9011cb31de6 (patch) | |
tree | 1aad161bd45dc9d4105afdae98a5d567891ae8d9 /src/shared | |
parent | 7feeb8998040ce9358f5c1d805c03e59d72e1190 (diff) | |
parent | 2c201c2140f9a75f3698e988880f00f8d0492315 (diff) |
Merge pull request #5842 from keszybz/meson-status-and-conditionals
Meson status and conditional simplification
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/meson.build b/src/shared/meson.build index f1d73d1b3f..b684e5b543 100644 --- a/src/shared/meson.build +++ b/src/shared/meson.build @@ -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 |