diff options
author | Wayne Davison <wayned@samba.org> | 2014-05-05 09:25:13 -0700 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2014-05-05 09:25:13 -0700 |
commit | 677c6e14cc7d5f41371d5616865a5f0cfc0a273f (patch) | |
tree | 9d941449d54a869b58ebb2653d6681ede9379ff8 | |
parent | 7665ba5b364e270a1239fda25ca925b19a4716d3 (diff) | |
download | rsync-677c6e14cc7d5f41371d5616865a5f0cfc0a273f.tar.gz rsync-677c6e14cc7d5f41371d5616865a5f0cfc0a273f.tar.bz2 rsync-677c6e14cc7d5f41371d5616865a5f0cfc0a273f.zip |
Check for attr lib.
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c7b28c52..8e3703cb 100644 --- a/configure.ac +++ b/configure.ac @@ -1007,7 +1007,7 @@ else *) AC_MSG_RESULT(running tests:) AC_CHECK_LIB(acl,acl_get_file) - AC_CACHE_CHECK([for ACL support],samba_cv_HAVE_POSIX_ACLS,[ + AC_CACHE_CHECK([for ACL support],samba_cv_HAVE_POSIX_ACLS,[ AC_TRY_LINK([#include <sys/types.h> #include <sys/acl.h>], [ acl_t acl; int entry_id; acl_entry_t *entry_p; return acl_get_entry( acl, entry_id, entry_p);], @@ -1057,6 +1057,7 @@ else AC_DEFINE(HAVE_LINUX_XATTRS, 1, [True if you have Linux xattrs]) AC_DEFINE(SUPPORT_XATTRS, 1) AC_DEFINE(NO_SYMLINK_USER_XATTRS, 1, [True if symlinks do not support user xattrs]) + AC_CHECK_LIB(attr,getxattr) ;; darwin*) AC_MSG_RESULT(Using OS X xattrs) |