git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d18c6c
)
build: check for xattr support
author
Andrew Tridgell
<tridge@samba.org>
Sun, 7 Mar 2010 11:59:25 +0000
(22:59 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:26:45 +0000
(20:26 +1000)
lib/util/wscript_configure
patch
|
blob
|
history
diff --git
a/lib/util/wscript_configure
b/lib/util/wscript_configure
index 09687a997b92d76e25082cc909360728c429d2f4..c25ce78eb3c1338301efb1717a49ce41b9f32fc3 100644
(file)
--- a/
lib/util/wscript_configure
+++ b/
lib/util/wscript_configure
@@
-11,3
+11,9
@@
conf.CHECK_FUNCS_IN('flistxattr', 'attr', checklibc=True)
conf.CHECK_STRUCTURE_MEMBER('struct statvfs', 'f_frsize', define='HAVE_FRSIZE')
+conf.CHECK_CODE('getxattr(NULL, NULL, NULL, 0, 0, 0)',
+ define='XATTR_ADDITIONAL_OPTIONS')
+
+if conf.CONFIG_SET('HAVE_FLISTXATTR'):
+ conf.DEFINE('HAVE_XATTR_SUPPORT', 1)
+