configure: Support systemd >= 209
libsystemd-journal and libsystemd-daemon are now just part of libsystemd. Keep original systemd checks as a fallback. Updates charon-systemd/Makefile.am accordingly. Tested on: - debian wheezy (systemd v44) - ubuntu 15.10 (systemd v255). Signed-off-by: Chris Patterson <[email protected]> Closes strongswan/strongswan#24.
This commit is contained in:
committed by
Tobias Brunner
parent
92b051bd4a
commit
b15f987ddd
@@ -9,11 +9,11 @@ charon_systemd_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/libstrongswan \
|
||||
-I$(top_srcdir)/src/libhydra \
|
||||
-I$(top_srcdir)/src/libcharon \
|
||||
$(systemd_daemon_CFLAGS) $(systemd_journal_CFLAGS) \
|
||||
$(systemd_CFLAGS) $(systemd_daemon_CFLAGS) $(systemd_journal_CFLAGS) \
|
||||
-DPLUGINS=\""${charon_plugins}\""
|
||||
|
||||
charon_systemd_LDADD = \
|
||||
$(top_builddir)/src/libstrongswan/libstrongswan.la \
|
||||
$(top_builddir)/src/libhydra/libhydra.la \
|
||||
$(top_builddir)/src/libcharon/libcharon.la \
|
||||
$(systemd_daemon_LIBS) $(systemd_journal_LIBS) -lm $(PTHREADLIB) $(DLLIB)
|
||||
$(systemd_LIBS) $(systemd_daemon_LIBS) $(systemd_journal_LIBS) -lm $(PTHREADLIB) $(DLLIB)
|
||||
|
||||
Reference in New Issue
Block a user