1
0
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:
Joseph Sutton 2023-08-29 12:07:33 +12:00 committed by Andrew Bartlett
parent a6c442acea
commit 752a1c409e

View File

@ -65,9 +65,9 @@ conf.CHECK_FUNCS('dirfd', headers='dirent.h')
conf.CHECK_DECLS('dirfd', reverse=True, 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') 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 require_keyutils = False
if conf.env['WITH_KERNEL_KEYRING'] == True: if conf.env['WITH_KERNEL_KEYRING'] is True:
require_keyutils = True require_keyutils = True
conf.CHECK_FUNCS_IN('add_key keyctl_get_persistent', conf.CHECK_FUNCS_IN('add_key keyctl_get_persistent',
'keyutils', headers='keyutils.h', 'keyutils', headers='keyutils.h',