1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/configure.ac b/configure.ac
index ea5e296..afd236f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -245,7 +245,7 @@ AC_ARG_WITH([systemd-daemon], AS_HELP_STRING([--with-systemd-daemon],
[Add support for systemd startup notification (default is autodetected)]),
[USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto])
AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [
- PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
+ PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd],
[AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],
[AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],
[AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])]
|