nss_wrapper: Be strict when checking __attribute__ features
[bbaumbach/samba-autobuild/.git] / third_party / nss_wrapper / wscript
index 90c6e71d6e9278cf1dbbb0b34f1b99e11de7ac44..d50dd5cbb17d6e475b65d37dcd3f0edba872ec01 100644 (file)
@@ -38,6 +38,7 @@ def configure(conf):
             ''',
             'HAVE_DESTRUCTOR_ATTRIBUTE',
             addmain=False,
+            strict=True,
             msg='Checking for library destructor support')
 
         # check HAVE_ATTRIBUTE_PRINTF_FORMAT
@@ -50,6 +51,7 @@ def configure(conf):
             ''',
             'HAVE_ATTRIBUTE_PRINTF_FORMAT',
             addmain=False,
+            strict=True,
             msg='Checking for printf format validation support')
 
         conf.CHECK_FUNCS('gethostbyaddr_r gethostbyname_r')