wip:Hello world!
authorŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 31 Mar 2017 11:59:15 +0000 (13:59 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 31 Mar 2017 11:59:15 +0000 (13:59 +0200)
configure.ac
packaging/faultd.spec

index 48679661255a537cc0b11f60a387df90abd411c5..fbcd414a4220e46837c7e4d701e91de89f1445cc 100644 (file)
@@ -28,6 +28,8 @@ AC_PREFIX_DEFAULT([/usr])
 AC_PROG_SED
 AC_PROG_MKDIR_P
 
+PKG_CHECK_MODULES(LIBSYSTEMD, [libsystemd >= 231], have_systemd=yes, have_systemd=no)
+
 AC_CHECK_FUNCS([ \
        printf\
 ])
index d6908a8972c016e8811ed1da08a1a8d9d3723fd2..f1c257751a57fa24f5369581a30e1bc0b8a21204 100644 (file)
@@ -6,6 +6,7 @@ Source0:    %{name}-%{version}.tar.xz
 Source1001: %{name}.manifest
 Summary:    Fault detection daemon
 Group:      System/Monitoring
+BuildRequires: pkgconfig(libsystemd)
 
 %description
 faultd monitors system services, detects their abnormal execution and