Skip to content

Commit fe1d6e2

Browse files
martinpittsofar
authored andcommitted
build-sys: adjust check for obsolete libsystemd-journal
Only support libsystemd, the compat libraries got deprecated a while ago and dropped entirely in systemd 230. Fixes #4
1 parent 87ed5fa commit fe1d6e2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ libutils_la_SOURCES = \
178178

179179
libutils_la_CFLAGS = \
180180
$(AM_CFLAGS) \
181-
$(LIBSYSTEMD_JOURNAL_CFLAGS)
181+
$(LIBSYSTEMD_CFLAGS)
182182

183183
libutils_la_LIBADD = \
184-
$(LIBSYSTEMD_JOURNAL_LIBS)
184+
$(LIBSYSTEMD_LIBS)
185185

186186
noinst_LTLIBRARIES = libutils.la
187187

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ AC_CHECK_DECLS([gettid, getrandom], [], [], [[
6262
#include <linux/random.h>
6363
]])
6464

65-
PKG_CHECK_MODULES(LIBSYSTEMD_JOURNAL, [libsystemd-journal >= 221],
66-
[], [AC_MSG_ERROR([*** libsystemd-journal libraries not found])])
65+
PKG_CHECK_MODULES(LIBSYSTEMD, [libsystemd >= 221],
66+
[], [AC_MSG_ERROR([*** libsystemd library not found])])
6767

6868
CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
6969
-pipe \

0 commit comments

Comments
 (0)