summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-04 18:58:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-09-04 20:16:48 +1000
commit2c9c58993cf36bc959d3bf1ca634fbaf9bb3a08f (patch)
tree212087ef95fc439cedcce23621d8af60f407b90b /source3
parent4437547afab2def2b53f2be1b10ac7b376f5ee8f (diff)
downloadsamba-2c9c58993cf36bc959d3bf1ca634fbaf9bb3a08f.tar.gz
samba-2c9c58993cf36bc959d3bf1ca634fbaf9bb3a08f.tar.bz2
samba-2c9c58993cf36bc959d3bf1ca634fbaf9bb3a08f.zip
build: remove unused HAVE_NO_ACLS define
Diffstat (limited to 'source3')
-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'):