add --disable-posix-acl configure option

This commit is contained in:
szaka 2008-12-06 12:34:37 +00:00
parent ab15086e7e
commit 50702ea690
2 changed files with 8 additions and 2 deletions

View File

@ -106,6 +106,13 @@ AC_ARG_ENABLE(
[enable_mtab="yes"]
)
AC_ARG_ENABLE(
[posix-acl],
[AS_HELP_STRING([--disable-posix-acl],[disable POSIX ACL support])],
,
[enable_posix_acl="yes"]
)
AC_ARG_ENABLE(
[device-default-io-ops],
[AS_HELP_STRING([--disable-device-default-io-ops],[install default IO ops])],
@ -309,6 +316,7 @@ test "${enable_device_default_io_ops}" = "no" && AC_DEFINE(
)
test "${enable_mtab}" = "no" && AC_DEFINE([IGNORE_MTAB], [1], [Don't update /etc/mtab])
test "${enable_posix_acl}" = "yes" && AC_DEFINE([POSIXACLS], [1], [POSIX ACL support])
test "${enable_really_static}" = "yes" && enable_library="no"
test "${enable_library}" = "no" && enable_ldconfig="no"

View File

@ -30,8 +30,6 @@
#include "inode.h"
#include "dir.h"
#define POSIXACLS 1
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define const_cpu_to_be16(x) ((((x) & 255L) << 8) + (((x) >> 8) & 255L))
#define const_cpu_to_be32(x) ((((x) & 255L) << 24) + (((x) & 0xff00L) << 8) \