Andrew Geissler | 2ee498a | 2020-05-29 15:52:06 -0500 | [diff] [blame] | 1 | From 73ee7e68402a77287054df779f0e44ae1a4f9f0b Mon Sep 17 00:00:00 2001 |
| 2 | From: Leon Anavi <leon.anavi@konsulko.com> |
| 3 | Date: Mon, 11 May 2020 17:01:35 +0000 |
| 4 | Subject: [PATCH] configure.ac: Fix no libsystemd-daemon |
| 5 | |
| 6 | Replace libsystemd-daemon with libsystemd. |
| 7 | |
| 8 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> |
| 9 | --- |
| 10 | configure.ac | 5 ++--- |
| 11 | 1 file changed, 2 insertions(+), 3 deletions(-) |
| 12 | |
| 13 | diff --git a/configure.ac b/configure.ac |
| 14 | index 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 | -- |
| 39 | 2.17.1 |
| 40 | |