meson: rename HAVE_SYSTEMD_DAEMON to HAVE_SYSTEMD

This variable describes whether we have systemd and libsystemd,
not just <systemd/sd-daemon.h>

While at it, sneak in a fix for the warning message:
"systemd should never ever be capitalized".

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev 2020-11-05 14:16:04 +03:00 committed by Wim Taymans
parent 1507f40eb0
commit 28af82e6d9
3 changed files with 6 additions and 6 deletions

View file

@ -320,8 +320,8 @@
/* Define to 1 if you have the <winsock2.h> header file. */
#mesondefine HAVE_WINSOCK2_H
/* for the systemd header files */
#mesondefine HAVE_SYSTEMD_DAEMON
/* For libsystemd */
#mesondefine HAVE_SYSTEMD
/* Define to 1 if native HSP backend is enabled in bluez5 plugin. */
#mesondefine HAVE_BLUEZ_5_BACKEND_NATIVE