summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in3
-rwxr-xr-xsource3/wscript2
2 files changed, 0 insertions, 5 deletions
diff --git a/source3/configure.in b/source3/configure.in
index e11f434362..324d03af60 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -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
diff --git a/source3/wscript b/source3/wscript
index a4ad79b48a..4e39c3af28 100755
--- a/source3/wscript
+++ b/source3/wscript
@@ -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'):