Change-Id: I55c33f41873fa8c002e28bf01c2e5e74b4ea570b
[enable_systemd=$enableval], [enable_systemd=auto])
if test "$enable_systemd" != "no"; then
- PKG_CHECK_MODULES(SYSTEMD, libsystemd-journal libsystemd-daemon,
+ PKG_CHECK_MODULES(SYSTEMD, libsystemd,
[have_systemd=yes], [have_systemd=no])
if test "$have_systemd" = "no" -a "$enable_systemd" = "yes"; then
AC_MSG_ERROR([systemd development libraries not found.])
BuildRequires: flex
BuildRequires: bison
BuildRequires: pkgconfig(lua)
-BuildRequires: pkgconfig(libsystemd-daemon)
-BuildRequires: pkgconfig(libsystemd-journal)
+BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(dlog)
#BuildRequires: pkgconfig(libcap)
#BuildRequires: pkgconfig(libtzplatform-config)