mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
build: remove unused HAVE_NO_ACLS define
This commit is contained in:
parent
4437547afa
commit
2c9c58993c
@ -5365,7 +5365,6 @@ AC_MSG_RESULT($with_acl_support)
|
||||
|
||||
if test x"$with_acl_support" = x"no"; then
|
||||
AC_MSG_RESULT(Disabling ACL support)
|
||||
AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support should be built in])
|
||||
else
|
||||
AC_MSG_NOTICE(checking whether ACL support is available:)
|
||||
case "$host_os" in
|
||||
@ -5403,7 +5402,6 @@ else
|
||||
;;
|
||||
*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"])
|
||||
@ -5452,7 +5450,6 @@ else
|
||||
default_static_modules="$default_static_modules vfs_posixacl"
|
||||
else
|
||||
AC_MSG_NOTICE(ACL support is not avaliable)
|
||||
AC_DEFINE(HAVE_NO_ACLS,1,[Whether no ACLs support is available])
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
@ -303,7 +303,6 @@ utimensat vsyslog _write __write __xstat
|
||||
#FIXME: add more checks
|
||||
if Options.options.with_acl_support:
|
||||
if (host_os.rfind('darwin') > -1):
|
||||
conf.DEFINE('HAVE_NO_ACLS', 1)
|
||||
conf.SET_TARGET_TYPE('acl', 'EMPTY')
|
||||
else:
|
||||
conf.CHECK_FUNCS_IN('acl_get_file', 'acl')
|
||||
@ -325,7 +324,6 @@ return acl_get_perm_np(permset_d, perm);
|
||||
headers='sys/types.h sys/acl.h', link=True,
|
||||
msg="Checking whether acl_get_perm_np() is available")
|
||||
else:
|
||||
conf.DEFINE('HAVE_NO_ACLS', 1)
|
||||
conf.SET_TARGET_TYPE('acl', 'EMPTY')
|
||||
|
||||
if conf.CHECK_FUNCS('dirfd'):
|
||||
|
Loading…
Reference in New Issue
Block a user