From 0aab2a8251fc46fe9f62fb1418a343e93467adf4 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 10 May 2007 13:31:15 +0000 Subject: r22777: Fix for [Bug 4543] - POSIX ACL support on FreeBSD. This adds vfs_posixacl to the list of static modules and makes use of HAVE_ACL_GET_PERM_NP. This is just a quick fix. FreeBSD acl support is still hardcoded in configure.in, but actually this could be detected in a unified test for freebsd, linux, *, as suggested in the bugreport. This has still to be checked and elaborated. Michael (This used to be commit af94654772f743f0c0b7809ff3f2ef019feb713a) --- source3/configure.in | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index b938812812..718baed302 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -5303,6 +5303,7 @@ AC_ARG_WITH(acl-support, 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]) + default_static_modules="$default_static_modules vfs_posixacl" ;; *linux*) AC_CHECK_LIB(attr,getxattr,[ACL_LIBS="$ACL_LIBS -lattr"]) -- cgit