summaryrefslogtreecommitdiffstats
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-06-08 14:37:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:12 -0500
commit19dbef7ca44298dc7e20d7f87f37efcda9db4432 (patch)
tree1dac23c112b72a30c67f799dcce7ea230b8d001c /source3
parente0cdcf065f7bc417c00ff7ba844186c6aa5cee2c (diff)
downloadsamba-19dbef7ca44298dc7e20d7f87f37efcda9db4432.tar.gz
samba-19dbef7ca44298dc7e20d7f87f37efcda9db4432.tar.xz
samba-19dbef7ca44298dc7e20d7f87f37efcda9db4432.zip
r23389: Disabling ACL support on Darwin/Mac OS X for now.
Current configure check detects posix ACL support but compile of modules/vfs_posixacl.c fails due to missing defines in sys/acl.h: ACL_USER, ACL_USER_OBJ, ACL_GROUP, ACL_GROUP_OBJ, ACL_OTHER, ACL_MASK, ACL_WRITE, ACL_READ It has to be investigated, if this can be fixed within the posixacl vfs module or if we need a darwinacl module. Michael (This used to be commit f275991c2fc92cf1e140e4cf8f8bc1a7fbcbbb0c)
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index da024f7e45f..be92a9144d5 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -5419,7 +5419,11 @@ else
ACL_LIBS="$ACL_LIBS -lpacl"
default_static_modules="$default_static_modules vfs_tru64acl"
;;
- *)
+ *darwin*)
+ AC_MSG_NOTICE(ACLs on Darwin currently not supported)
+ AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support is available])
+ ;;
+ *)
AC_CHECK_LIB(acl,acl_get_file,[ACL_LIBS="$ACL_LIBS -lacl"])
case "$host_os" in
*linux*)