blob: 130ead0842e3529754a09f870cfa7b2b9fc40384 [file] [log] [blame]
Andrew Geissler2ee498a2020-05-29 15:52:06 -05001From 73ee7e68402a77287054df779f0e44ae1a4f9f0b Mon Sep 17 00:00:00 2001
2From: Leon Anavi <leon.anavi@konsulko.com>
3Date: Mon, 11 May 2020 17:01:35 +0000
4Subject: [PATCH] configure.ac: Fix no libsystemd-daemon
5
6Replace libsystemd-daemon with libsystemd.
7
8Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
9---
10 configure.ac | 5 ++---
11 1 file changed, 2 insertions(+), 3 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index df8cb5007..9a6fb9b2e 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -249,10 +249,10 @@ AC_ARG_WITH([systemd-daemon], AS_HELP_STRING([--with-systemd-daemon],
18 [Add support for systemd startup notification (default is autodetected)]),
19 [USE_SYSTEMD_DAEMON=$withval], [USE_SYSTEMD_DAEMON=auto])
20 AS_IF([test "x$USE_SYSTEMD_DAEMON" != "xno"], [
21- PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd-daemon],
22+ PKG_CHECK_MODULES([SYSTEMD_DAEMON], [libsystemd],
23 [AC_DEFINE(USE_SYSTEMD_DAEMON,1,[Use systemd startup notification])],
24 [AS_IF([test "x$USE_SYSTEMD_DAEMON" = "xyes"],
25- [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd-daemon not found.])]
26+ [AC_MSG_ERROR([systemd startup notification support requested, but libsystemd not found.])]
27 )]
28 )
29 ])
30@@ -558,7 +558,6 @@ if test "x$enable_nls" = "xyes" ; then
31 GETTEXT_PACKAGE=transmission-gtk
32 AC_SUBST(GETTEXT_PACKAGE)
33 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
34- AM_GLIB_GNU_GETTEXT
35 transmissionlocaledir='${prefix}/${DATADIRNAME}/locale'
36 AC_SUBST(transmissionlocaledir)
37 fi
38--
392.17.1
40