From: Amitay Isaacs Date: Tue, 3 Jul 2018 04:45:04 +0000 (+1000) Subject: pam_wrapper: Be strict when checking __attribute__ features X-Git-Tag: ldb-1.3.6~89 X-Git-Url: http://git.samba.org/samba.git/?p=vlendec%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=81a05ba6d16af22eade72892b608cfaa2e227ecf pam_wrapper: Be strict when checking __attribute__ features BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493 Signed-off-by: Amitay Isaacs Reviewed-by: Andreas Schneider (cherry picked from commit 65b0746694a0cbd8f40c5e89dc9a680044f7a1a9) --- diff --git a/third_party/pam_wrapper/wscript b/third_party/pam_wrapper/wscript index b9acf1b96eb..24bc4e5672b 100644 --- a/third_party/pam_wrapper/wscript +++ b/third_party/pam_wrapper/wscript @@ -44,6 +44,7 @@ def configure(conf): ''', 'HAVE_DESTRUCTOR_ATTRIBUTE', addmain=False, + strict=True, msg='Checking for library destructor support') # check HAVE_FUNCTION_ATTRIBUTE_FORMAT @@ -56,6 +57,7 @@ def configure(conf): ''', 'HAVE_FUNCTION_ATTRIBUTE_FORMAT', addmain=False, + strict=True, msg='Checking for printf format validation support') conf.CHECK_HEADERS('security/pam_appl.h')