diff options
author | Kefu Chai <kchai@redhat.com> | 2021-04-08 10:43:33 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2021-04-08 10:58:50 +0200 |
commit | 8c44876be478e9d6f317da14d7ab1f79403a9788 (patch) | |
tree | cbaa4a09a1022d621a2d775cdc471ee2f001a26c /cmake/modules/CephChecks.cmake | |
parent | Merge PR #40204 into master (diff) | |
download | ceph-8c44876be478e9d6f317da14d7ab1f79403a9788.tar.xz ceph-8c44876be478e9d6f317da14d7ab1f79403a9788.zip |
cmake: s/HAVE_MSGHDR/WITH_SYSTEMD/
as FreeBSD also has msghdr but it does not have systemd, or
flags like MFD_ALLOW_SEALING, O_TMPFILE or F_SEAL_GROW. so
use WITH_SYSTEMD for enabling journald backend of logging system.
also move the option of "WITH_SYSTEMD" up so that the src/CMakeLists.txt
is able to see the variable of WITH_SYSTEMD defined by it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'cmake/modules/CephChecks.cmake')
-rw-r--r-- | cmake/modules/CephChecks.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmake/modules/CephChecks.cmake b/cmake/modules/CephChecks.cmake index ed1d2c827af..46b50b387c7 100644 --- a/cmake/modules/CephChecks.cmake +++ b/cmake/modules/CephChecks.cmake @@ -65,8 +65,6 @@ CHECK_TYPE_SIZE(__s8 __S8) CHECK_TYPE_SIZE(__s16 __S16) CHECK_TYPE_SIZE(__s32 __S32) CHECK_TYPE_SIZE(__s64 __S64) -set(CMAKE_EXTRA_INCLUDE_FILES "sys/types.h" "sys/socket.h") -CHECK_TYPE_SIZE("struct msghdr" MSGHDR) unset(CMAKE_EXTRA_INCLUDE_FILES) include(CheckSymbolExists) |