From 752a1c409e035a57b13bda1ffee3849f81743069 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Tue, 29 Aug 2023 12:07:33 +1200 Subject: [PATCH] =?UTF-8?q?third=5Fparty/heimdal=5Fbuild:=20Use=20?= =?UTF-8?q?=E2=80=98is=E2=80=99=20to=20compare=20with=20singletons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- third_party/heimdal_build/wscript_configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/heimdal_build/wscript_configure b/third_party/heimdal_build/wscript_configure index 116fdd8198f..f3695003085 100644 --- a/third_party/heimdal_build/wscript_configure +++ b/third_party/heimdal_build/wscript_configure @@ -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',