summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index fc0cb00ae2..1d1480caec 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -231,6 +231,12 @@ fremoveea fsetea getea listea
removeea setea
''', 'attr', checklibc=True)
+ if (conf.CONFIG_SET('HAVE_ATTR_LISTF') or
+ conf.CONFIG_SET('HAVE_EXTATTR_LIST_FD') or
+ conf.CONFIG_SET('HAVE_FLISTEA') or
+ conf.CONFIG_SET('HAVE_FLISTXATTR')):
+ conf.DEFINE('HAVE_XATTR_SUPPORT', 1)
+
# Darwin has extra options to xattr-family functions
conf.CHECK_CODE('getxattr(0, 0, 0, 0, 0, 0);',
'XATTR_ADD_OPT',