bareos: master 16425cf5

Author Committer Branch Timestamp Parent
arogge arogge master 2019-08-29 20:57 master 2cdd3954 Pending
Changeset cmake: fix regression of acl detection

Since the migration to cmake, the following cmake-variables have not been
set at all:
- HAVE_ACL_TYPE_DEFAULT_DIR
- HAVE_ACL_TYPE_EXTENDED
- HAVE_ACL_TYPE_NFS4

Also the detection of sys/acl.h requires inclusion of sys/types.h (at
least on MacOS, maybe others) which has been missing, too.

This lead to a regression where at least the MacOS client has not been
built with working ACL support.

This patch fixes the detection of ACL support (at least on MacOS) and
restores the cmake-variables.
mod - core/CMakeLists.txt Diff File
mod - core/cmake/BareosCheckIncludes.cmake Diff File
add - core/cmake/acltypes.cmake Diff File