mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
third_party/heimdal_build: Use ‘is’ to compare with singletons
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
a6c442acea
commit
752a1c409e
4
third_party/heimdal_build/wscript_configure
vendored
4
third_party/heimdal_build/wscript_configure
vendored
@ -65,9 +65,9 @@ conf.CHECK_FUNCS('dirfd', headers='dirent.h')
|
||||
conf.CHECK_DECLS('dirfd', reverse=True, headers='dirent.h')
|
||||
conf.CHECK_STRUCTURE_MEMBER('DIR', 'dd_fd', define='HAVE_DIR_DD_FD', headers='dirent.h')
|
||||
|
||||
if conf.env['WITH_KERNEL_KEYRING'] != False:
|
||||
if conf.env['WITH_KERNEL_KEYRING'] is not False:
|
||||
require_keyutils = False
|
||||
if conf.env['WITH_KERNEL_KEYRING'] == True:
|
||||
if conf.env['WITH_KERNEL_KEYRING'] is True:
|
||||
require_keyutils = True
|
||||
conf.CHECK_FUNCS_IN('add_key keyctl_get_persistent',
|
||||
'keyutils', headers='keyutils.h',
|
||||
|
Loading…
Reference in New Issue
Block a user