summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-19 18:00:44 +0000
committerJeremy Allison <jra@samba.org>2003-05-19 18:00:44 +0000
commit15c003782ba15f45bcf2717c5a7b5c1039fba390 (patch)
treefe18fc2f1d986f178127f3a69c5730776c28ac7e /source3
parent3a12379a842f6929203548af3db9aac22715e255 (diff)
downloadsamba-15c003782ba15f45bcf2717c5a7b5c1039fba390.tar.gz
samba-15c003782ba15f45bcf2717c5a7b5c1039fba390.tar.bz2
samba-15c003782ba15f45bcf2717c5a7b5c1039fba390.zip
FreeBSD5 ACL fix.
Jeremy. (This used to be commit 6669c38ed0e209d40aff82867b92d704875c2f80)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 2dbb5aba3e..3c2e1f4292 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -3211,6 +3211,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,[