1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

socket_wrapper: Be strict when checking __attribute__ features

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Amitay Isaacs 2018-07-03 14:36:16 +10:00 committed by Martin Schwenke
parent a9775c2429
commit 77cdfe3ecc

View File

@ -36,6 +36,7 @@ def configure(conf):
''',
'HAVE_DESTRUCTOR_ATTRIBUTE',
addmain=False,
strict=True,
msg='Checking for library destructor support')
# check HAVE_FUNCTION_ATTRIBUTE_FORMAT
@ -48,6 +49,7 @@ def configure(conf):
''',
'HAVE_FUNCTION_ATTRIBUTE_FORMAT',
addmain=False,
strict=True,
msg='Checking for printf format validation support')
conf.CHECK_HEADERS('sys/signalfd.h')