diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2023-02-16 23:34:25 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2023-02-17 00:00:12 +0100 |
commit | d106ac04ab340d170dc5460e023df73e63bb98ab (patch) | |
tree | 3e68a8522fe06d4c84a0b7e491b457c17dae95af /configure.ac | |
parent | 3ef26494f2251dc5376f49128bbf49563560cf6b (diff) | |
download | lvm2-d106ac04ab340d170dc5460e023df73e63bb98ab.tar.gz |
configure.ac: use LIBSYSTEMD
Convert naming SYSTEMD_CFLAGS/LIB -> LIBSYSTEMD_CFLAGS/LIBS
to better fit library check for libsystemd.
Build lvmlockd with SD_NOTIFY when we have defined LIBSYSTEMD_LIBS.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e8dc7a92c..17d90bc85 100644 --- a/configure.ac +++ b/configure.ac @@ -1090,7 +1090,7 @@ AS_IF([test "$APP_MACHINEID_SUPPORT" = "yes"], dnl -- Look for libsystemd libraries if needed AS_IF([test "$NOTIFYDBUS_SUPPORT" = "yes" || test "$SYSTEMD_JOURNAL_SUPPORT" = "yes" || test "$APP_MACHINEID_SUPPORT" = "yes"], [ - PKG_CHECK_MODULES(SYSTEMD, [systemd], [SYSTEMD_LIBS="-lsystemd"], $bailout) + PKG_CHECK_MODULES(LIBSYSTEMD, [libsystemd], [], $bailout) ]) ################################################################################ |