diff options
author | Martin Matuska <martin@matuska.org> | 2017-03-13 15:49:38 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2017-03-14 12:48:53 +0100 |
commit | f57d129d828f411d6f1eb81ca51dfd9e1fead353 (patch) | |
tree | 2683fbe533ae01206a3e0a2365ae2d263eb5e697 /build/cmake | |
parent | 500b90526996eb64b9cb5a02ac9de61f0a2ec14f (diff) | |
download | libarchive-f57d129d828f411d6f1eb81ca51dfd9e1fead353.tar.gz |
Move platform-specific ACL code to individual source files.
This makes the code much more readable and eases the addition of new
ACL implementatons in the future.
Additional changes:
- most of ACL detection is now done at configure stage
- configuration now reports what ACL was detected
- NFSv4 ACL tests now test INHERIT_ONLY and NO_PROPAGATE_INHERIT
Diffstat (limited to 'build/cmake')
-rw-r--r-- | build/cmake/config.h.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/build/cmake/config.h.in b/build/cmake/config.h.in index 8c18edf8..c46a341a 100644 --- a/build/cmake/config.h.in +++ b/build/cmake/config.h.in @@ -179,6 +179,24 @@ typedef uint64_t uintmax_t; /* Define ZLIB_WINAPI if zlib was built on Visual Studio. */ #cmakedefine ZLIB_WINAPI 1 +/* Darwin ACL support */ +#cmakedefine ARCHIVE_ACL_DARWIN 1 + +/* FreeBSD ACL support */ +#cmakedefine ARCHIVE_ACL_FREEBSD 1 + +/* FreeBSD NFSv4 ACL support */ +#cmakedefine ARCHIVE_ACL_FREEBSD_NFS4 1 + +/* Linux ACL support via libacl */ +#cmakedefine ARCHIVE_ACL_LIBACL 1 + +/* Solaris ACL support */ +#cmakedefine ARCHIVE_ACL_SUNOS 1 + +/* Solaris NFSv4 ACL support */ +#cmakedefine ARCHIVE_ACL_SUNOS_NFS4 1 + /* MD5 via ARCHIVE_CRYPTO_MD5_LIBC supported. */ #cmakedefine ARCHIVE_CRYPTO_MD5_LIBC 1 |