diff options
Diffstat (limited to 'm4/xattr.m4')
-rw-r--r-- | m4/xattr.m4 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/xattr.m4 b/m4/xattr.m4 index 7691177..ed26886 100644 --- a/m4/xattr.m4 +++ b/m4/xattr.m4 @@ -28,9 +28,10 @@ AC_DEFUN([gl_FUNC_XATTR], AC_SEARCH_LIBS([attr_copy_file], [attr], [test "$ac_cv_search_attr_copy_file" = "none required" || LIB_XATTR=$ac_cv_search_attr_copy_file]) - AC_CHECK_FUNCS([attr_copy_file]) + AC_CHECK_FUNCS([attr_copy_file attr_copy_action]) LIBS=$xattr_saved_LIBS - if test $ac_cv_func_attr_copy_file = yes; then + if test $ac_cv_func_attr_copy_file = yes \ + && test $ac_cv_func_attr_copy_action = yes; then use_xattr=yes fi fi |