listxattr \
setxattr,
[ac_cv_archive_xattr_darwin=yes],
- [ac_cv_archive_xattr_darwin=no],
- [#include <sys/xattr.h>
-])
+ [ac_cv_archive_xattr_darwin=no])
]
)
elif test "x$ac_cv_header_sys_extattr_h" = "xyes" \
extattr_set_fd \
extattr_set_link,
[ac_cv_archive_xattr_freebsd=yes],
- [ac_cv_archive_xattr_freebsd=no],
- [#include <sys/types.h>
-#include <sys/extattr.h>
-])
+ [ac_cv_archive_xattr_freebsd=no])
]
)
elif test "x$ac_cv_header_sys_xattr_h" = "xyes" \
llistxattr \
lsetxattr,
[ac_cv_archive_xattr_linux=yes],
- [ac_cv_archive_xattr_linux=no],
- [#if HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-#if HAVE_SYS_XATTR_H
-#include <sys/xattr.h>
-#endif
-#if HAVE_ATTR_XATTR_H
-#include <attr/xatr.h>
-#endif
-])
+ [ac_cv_archive_xattr_linux=no])
]
)
elif test "x$ac_cv_header_sys_ea_h" = "xyes"; then
llistea \
lsetea,
[ac_cv_archive_xattr_aix=yes],
- [ac_cv_archive_xattr_aix=no],
- [#include <sys/ea.h>
-])
+ [ac_cv_archive_xattr_aix=no])
]
)
fi
richacl_get_file \
richacl_set_fd \
richacl_set_file,
- [ac_cv_archive_acl_librichacl=yes], [ac_cv_archive_acl_librichacl=no], [#include <sys/richacl.h>])])
+ [ac_cv_archive_acl_librichacl=yes], [ac_cv_archive_acl_librichacl=no])])
fi
if test "x$ac_cv_func_acl" = "xyes" \
acl_set_file \
acl_set_qualifier \
acl_set_tag_type,
- [ac_cv_posix_acl_funcs=yes], [ac_cv_posix_acl_funcs=no],
- [#if HAVE_SYS_TYPES_H
- #include <sys/types.h>
- #endif
- #if HAVE_SYS_ACL_H
- #include <sys/acl.h>
- #endif
- ])
+ [ac_cv_posix_acl_funcs=yes], [ac_cv_posix_acl_funcs=no])
])
AC_CHECK_FUNCS(acl_get_perm)
acl_is_trivial_np \
acl_set_entry_type_np \
acl_set_fd_np \
- acl_set_link_np,,,
- [#include <sys/types.h>
- #include <sys/acl.h>])
+ acl_set_link_np)
AC_CHECK_FUNCS(mbr_uid_to_uuid \
mbr_uuid_to_id \
- mbr_gid_to_uuid,,,
- [#include <membership.h>])
+ mbr_gid_to_uuid)
AC_CHECK_DECLS([ACL_TYPE_EXTENDED, ACL_TYPE_NFS4, ACL_USER,
ACL_SYNCHRONIZE], [], [],