summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-19 18:03:12 +0000
committerJeremy Allison <jra@samba.org>2003-05-19 18:03:12 +0000
commit8e486659437884470414ff39598159020a241816 (patch)
tree0eb9d062ebf169dd044e9aa01c13d5fac79dc3cc
parent6c1e3a58e417e25d044ebfafc5175329a0d7e56e (diff)
downloadsamba-8e486659437884470414ff39598159020a241816.tar.gz
samba-8e486659437884470414ff39598159020a241816.tar.bz2
samba-8e486659437884470414ff39598159020a241816.zip
FreeBSD5 ACL fix.
Jeremy. (This used to be commit 69a73a87025aaceaecd7dbf65e004422fe709771)
-rw-r--r--source3/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 523c3b1d53..58eb2339b3 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2932,6 +2932,11 @@ AC_ARG_WITH(acl-support,
AC_DEFINE(HAVE_TRU64_ACLS,1,[Whether Tru64 ACLs are available])
ACLLIBS="$ACLLIBS -lpacl"
;;
+ *freebsd5*)
+ AC_MSG_RESULT(Using FreeBSD posix ACLs)
+ AC_DEFINE(HAVE_POSIX_ACLS,1,[Whether FreeBSD POSIX ACLs are available])
+ AC_DEFINE(HAVE_ACL_GET_PERM_NP,1,[Whether acl_get_perm_np() is available])
+ ;;
*)
AC_CHECK_LIB(acl,acl_get_file,[ACLLIBS="$ACLLIBS -lacl"])
AC_CACHE_CHECK([for ACL support],samba_cv_HAVE_POSIX_ACLS,[