ceph/cmake/modules
Kefu Chai 80c4a1cd37 common: disable journald logging backend if struct msghdr is not found
* cmake/modules/CephChecks.cmake: detect the existence of struct msghdr,
  define HAVE_MSGHDR if it is found
* src/common/CMakeLists.txt: do not compile journald.cc if HAVE_MSGHDR
  is FALSE. as in that case, we cannot use sendmsg() to write to
  journald unix domain socket
* src/test/CMakeLists.txt, src/test/common/CMakeLists.txt: disable test
  exercising journald logging backend if HAVE_MSGHDR is not defined
* src/common/Journald.h: define a dummy JournaldLogger and a dummy
  JournaldClusterLogger when HAVE_MSGHDR is not defined, in order to
  minimize the change in Log.h and Log.cc, otherwise the source code of
  Log.h and Log.cc would be segmented into smaller chunks by
  `ifdef HAVE_MSGHDR` macros.
* src/include/config-h.in.cmake: define a new macro named
  HAVE_MSGHDR.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2021-04-06 14:46:33 +08:00
..
FindPython cmake: add support for python3.9 2020-11-11 10:43:37 +08:00
AddCephTest.cmake cmake: pass unparsed args to add_ceph_test() 2021-03-30 17:33:56 +08:00
BuildBoost.cmake cmake: define BUILD_BYPRODUCTS for Boost 2021-03-09 19:13:22 +08:00
Buildc-ares.cmake
BuildDPDK.cmake cmake: use "" for no-op INSTALL_COMMAND 2021-03-09 19:13:21 +08:00
BuildFIO.cmake cmake: pass compile options by fio interface library 2021-03-23 16:25:47 +08:00
BuildJaeger.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
BuildOpenTracing.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
Buildpmem.cmake cmake: silence "You are in 'detached HEAD' state" warning 2021-03-09 19:13:22 +08:00
BuildQatDrv.cmake
BuildRocksDB.cmake cmake: do not specify CMAKE_GENERATOR for external projects 2021-03-09 19:13:22 +08:00
BuildSPDK.cmake cmake: use "" for no-op INSTALL_COMMAND 2021-03-09 19:13:21 +08:00
Buildthrift.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
Builduring.cmake cmake: Alter GIT_REPOSITORY for liburing 2020-12-03 11:56:43 +10:00
Buildyaml-cpp.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
BuildZstd.cmake cmake: allow use libzstd in system 2021-03-31 12:53:39 +08:00
CephCheck_link.c
CephCheck_link.map
CephChecks.cmake common: disable journald logging backend if struct msghdr is not found 2021-04-06 14:46:33 +08:00
CheckCxxAtomic.cmake
CheckNasm.cmake cmake: only display the result of checking nasm once 2021-01-04 01:34:46 +08:00
CTags.cmake
Distutils.cmake cmake: install python scripts into /usr/sbin even if DESTDIR is empty 2020-12-21 01:26:46 +08:00
ExternalProjectHelper.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
Findaio.cmake
Findbabeltrace.cmake
FindBacktrace.cmake
Findblkid.cmake
FindBoost.cmake cmake: adapt FindBoost.cmake to our needs 2021-03-19 20:35:51 +08:00
Findc-ares.cmake
FindCUnit.cmake
FindCython.cmake
Finddpdk.cmake
Findfcgi.cmake
Findfmt.cmake
FindFUSE.cmake
FindGMock.cmake
Findgperftools.cmake
FindGSSApi.cmake
FindJeMalloc.cmake
Findkeyutils.cmake
Findleveldb.cmake
Findlibcryptsetup.cmake cmake: fix unknown pkg_search_module 2020-12-02 06:18:52 -05:00
FindLTTngUST.cmake
FindLZ4.cmake
FindMake.cmake
Findnl.cmake
FindNUMA.cmake cmake: use NUMA for package name in FindNUMA.cmake 2021-02-14 23:11:33 +08:00
FindOATH.cmake
FindOpenLdap.cmake
Findpmem.cmake cmake: dedup components when finding pmem 2021-04-05 17:33:10 +08:00
FindPython3.cmake
Findqatzip.cmake
FindRabbitMQ.cmake
FindRDKafka.cmake
Findrdmacm.cmake
FindRocksDB.cmake
FindSanitizers.cmake cmake: expose Sanitizers_COMPILE_OPTIONS as a list 2020-08-31 16:11:33 +08:00
Findsnappy.cmake
FindSQLite3.cmake libcephsqlite: rework architecture and backend 2021-03-19 08:52:55 -07:00
FindStdFilesystem_test.cc
FindStdFilesystem.cmake cmake: do not always require extra link flags for std::filesystem 2020-12-02 19:42:34 +08:00
Findudev.cmake
Finduring.cmake
Finduuid.cmake
Findverbs.cmake
Findxfs.cmake
Findyaml-cpp.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
Findzbd.cmake os/bluestore: Switch from libzbc library to libzbd library 2020-09-06 12:35:05 -04:00
Findzfs.cmake
FindZstd.cmake cmake: allow use libzstd in system 2021-03-31 12:53:39 +08:00
GetGitRevisionDescription.cmake
GetGitRevisionDescription.cmake.in
IncludeJaeger.cmake jaeger, build/op: add jaeger and it's dependencies as submodules 2020-12-11 07:55:46 +00:00
patch-dpdk-conf.sh
SIMDExt.cmake