aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-03 11:15:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-25 10:54:10 +0200
commit05e391ae4056e122fd78b694607ccd2e5a943dab (patch)
tree2253a3a96e14bc4e7770a2df9ef7695df4050b7a /tests/unit/meson.build
parentba7ed407e67589167ef582ac1f17a38f09fbd327 (diff)
downloadqemu-05e391ae4056e122fd78b694607ccd2e5a943dab.zip
qemu-05e391ae4056e122fd78b694607ccd2e5a943dab.tar.gz
qemu-05e391ae4056e122fd78b694607ccd2e5a943dab.tar.bz2
configure, meson: convert pam detection to meson
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/unit/meson.build')
-rw-r--r--tests/unit/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/meson.build b/tests/unit/meson.build
index 4c1ebc0..3e0504d 100644
--- a/tests/unit/meson.build
+++ b/tests/unit/meson.build
@@ -94,7 +94,7 @@ if have_block
'test-io-channel-tls': ['io-channel-helpers.c', 'crypto-tls-x509-helpers.c', 'pkix_asn1_tab.c',
tasn1, io, crypto, gnutls]}
endif
- if 'CONFIG_AUTH_PAM' in config_host
+ if pam.found()
tests += {'test-authz-pam': [authz]}
endif
if xts == 'private'