meson: Consider the 'pam' option in the summary

We may show that we build it even when it's disabled but available in
the system
This commit is contained in:
Marco Trevisan (Treviño)
2021-03-02 15:40:08 +01:00
parent a04a60cd8e
commit d07e81acae

View File

@ -189,7 +189,7 @@ if get_option('pam')
output += ' PAM module directory: ' + pam_modules_dir output += ' PAM module directory: ' + pam_modules_dir
endif endif
output += '\nOptional features:\n' output += '\nOptional features:\n'
output += ' PAM module: ' + pam_dep.found().to_string() output += ' PAM module: ' + (pam_dep.found() and get_option('pam')).to_string()
output += ' Manuals: ' + get_option('man').to_string() output += ' Manuals: ' + get_option('man').to_string()
output += ' GTK Doc: ' + get_option('gtk_doc').to_string() output += ' GTK Doc: ' + get_option('gtk_doc').to_string()
output += ' XML Linter ' + xmllint.found().to_string() output += ' XML Linter ' + xmllint.found().to_string()