summaryrefslogtreecommitdiff
path: root/lib/replace/libreplace.m4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-06-01 15:01:09 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-06-02 02:13:49 +0200
commite9d797e153ae95561dbb10b56a41281b2472f137 (patch)
tree1a79b7c8d08352f7a9ead4c15b5c46d2a7f6aeaa /lib/replace/libreplace.m4
parentf9b7cd53b9fe253b122cb545c2dd1be073ab0592 (diff)
downloadsamba-e9d797e153ae95561dbb10b56a41281b2472f137.tar.gz
samba-e9d797e153ae95561dbb10b56a41281b2472f137.tar.bz2
samba-e9d797e153ae95561dbb10b56a41281b2472f137.zip
lib/replace: Merge remaining xattr test details from lib/util
I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett
Diffstat (limited to 'lib/replace/libreplace.m4')
-rw-r--r--lib/replace/libreplace.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4
index 8176a000b3..641d25bb52 100644
--- a/lib/replace/libreplace.m4
+++ b/lib/replace/libreplace.m4
@@ -181,13 +181,13 @@ if test x"$ac_cv_func_getxattr" = x"yes" ; then
#include <sys/xattr.h>
#endif
],[
- getxattr(0, 0, 0, 0, 0, 0);
+ getxattr(NULL, NULL, NULL, 0, 0, 0);
],
[smb_attr_cv_xattr_add_opt=yes],
[smb_attr_cv_xattr_add_opt=no;LIBS=$old_LIBS])
])
if test x"$smb_attr_cv_xattr_add_opt" = x"yes"; then
- AC_DEFINE(XATTR_ADD_OPT, 1, [xattr functions have additional options])
+ AC_DEFINE(XATTR_ADDITIONAL_OPTIONS, 1, [xattr functions have additional options])
fi
fi