From 15c003782ba15f45bcf2717c5a7b5c1039fba390 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 19 May 2003 18:00:44 +0000 Subject: FreeBSD5 ACL fix. Jeremy. (This used to be commit 6669c38ed0e209d40aff82867b92d704875c2f80) --- source3/configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3') 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,[ -- cgit