From f9b7cd53b9fe253b122cb545c2dd1be073ab0592 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 1 Jun 2012 13:41:46 +1000 Subject: s4-xattr: Use libreplace xattr functions directly --- lib/replace/wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/replace') 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', -- cgit