printf "%s\n" "yes" >&6; }
fi
if test "$enable_smack" = "yes"; then
- ac_fn_c_check_header_compile "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
+ ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
if test "x$ac_cv_header_attr_xattr_h" = xyes
then :
true
if test "$enable_xattr" = "yes"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
- ac_fn_c_check_header_compile "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
+ ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
if test "x$ac_cv_header_attr_xattr_h" = xyes
then :
printf "%s\n" "#define HAVE_XATTR 1" >>confdefs.h
AC_MSG_RESULT(yes)
fi
if test "$enable_smack" = "yes"; then
- AC_CHECK_HEADER([attr/xattr.h], true, enable_smack="no")
+ AC_CHECK_HEADER([sys/xattr.h], true, enable_smack="no")
fi
if test "$enable_smack" = "yes"; then
AC_MSG_CHECKING(for XATTR_NAME_SMACKEXEC in linux/xattr.h)
, enable_xattr="yes")
if test "$enable_xattr" = "yes"; then
AC_MSG_RESULT(yes)
- AC_CHECK_HEADER([attr/xattr.h], [AC_DEFINE(HAVE_XATTR)])
+ AC_CHECK_HEADER([sys/xattr.h], [AC_DEFINE(HAVE_XATTR)])
else
AC_MSG_RESULT(no)
fi
#endif
#ifdef FEAT_XATTR
-# include <attr/xattr.h>
+# include <sys/xattr.h>
# define XATTR_VAL_LEN 1024
#endif
#ifdef HAVE_SMACK
-# include <attr/xattr.h>
+# include <sys/xattr.h>
# include <linux/xattr.h>
# ifndef SMACK_LABEL_LEN
# define SMACK_LABEL_LEN 1024
func Test_write_with_xattr_support()
CheckLinux
+ CheckFeature xattr
CheckExecutable setfattr
let contents = ["file with xattrs", "line two"]
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1963,
/**/
1962,
/**/