diff options
author | Martin Matuska <martin@matuska.org> | 2017-01-17 15:04:43 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2017-01-17 15:04:43 +0100 |
commit | 77ab581c3ec641fd7d3a504aeeabeb2aa829646b (patch) | |
tree | 7c03bf69abf968b21b148a79d7393d8f045d4536 /CMakeLists.txt | |
parent | f8e2a7b40d6dbf15f03f0c1952cc370feceec91b (diff) | |
download | libarchive-77ab581c3ec641fd7d3a504aeeabeb2aa829646b.tar.gz |
Use HAVE_ACL_TYPE_NFS4 instead of checking against system constant
Verify ACL types in test_acl_platform_nfs4.c
Add missing inheritance flag to test_acl_platform_nfs4.c
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 14649e99..c687a0ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1605,6 +1605,7 @@ IF(ENABLE_ACL) CHECK_FUNCTION_EXISTS(acl_get_link_np HAVE_ACL_GET_LINK_NP) CHECK_FUNCTION_EXISTS(acl_is_trivial_np HAVE_ACL_IS_TRIVIAL_NP) CHECK_FUNCTION_EXISTS(acl_set_link_np HAVE_ACL_SET_LINK_NP) + CHECK_SYMBOL_EXISTS(ACL_TYPE_NFS4 "${INCLUDES}" HAVE_ACL_TYPE_NFS4) # MacOS has an acl.h that isn't POSIX. It can be detected by # checking for ACL_USER |