mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
add --disable-posix-acl configure option
This commit is contained in:
parent
ab15086e7e
commit
50702ea690
@ -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"
|
||||
|
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user