summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2020-10-28 21:15:14 -0400
committerMatt Turner <mattst88@gmail.com>2020-10-31 11:30:50 -0400
commit529ff7c9591e58c6003d7b330a80adf63fa5b736 (patch)
tree48f426c93232d1e1d59b021d8840fd13e95367a4
parent945a3a05e53ddd32578d5146ec4943fe9297aba4 (diff)
configure.ac: Link with libsystemd, not libsystemd-daemon
libsystemd-daemon was merged into libsystemd in 2014, for systemd-209. Fixes: https://gitlab.freedesktop.org/xorg/app/xdm/-/issues/9 Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index d110809..ccc4edf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,15 +168,15 @@ AS_IF([test "x$with_systemdsystemunitdir" != "xno"], [
AM_CONDITIONAL(HAVE_SYSTEMD, [test "x$with_systemdsystemunitdir" != "xno"])
# Check whether to enable systemd startup notification.
-# This requires libsystemd-daemon.
+# This requires libsystemd.
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.])]
+ [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd not found.])]
)]
)
])