From e9d797e153ae95561dbb10b56a41281b2472f137 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 1 Jun 2012 15:01:09 +1000 Subject: 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 --- lib/replace/libreplace.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/replace/libreplace.m4') 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 #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 -- cgit