build: remove unused HAVE_NO_ACLS define
authorAndrew Bartlett <abartlet@samba.org>
Tue, 4 Sep 2012 08:58:53 +0000 (18:58 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 4 Sep 2012 10:16:48 +0000 (20:16 +1000)
source3/configure.in
source3/wscript

index e11f4343620250481b1d31a61a4703753b6af4f7..324d03af60e41249b4f80534b23039b97d638275 100644 (file)
@@ -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
index a4ad79b48a5a861a2bcafa2dfb33b03e110ca02e..4e39c3af2881a5cda7167115bcd88e6b57b3aa35 100755 (executable)
@@ -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'):