]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
configure: Fix libsystemd dependency for Stretch and later
authorSam Nazarko <email@samnazarko.co.uk>
Thu, 16 Nov 2017 05:03:29 +0000 (05:03 +0000)
committerJaroslav Kysela <perex@perex.cz>
Thu, 16 Nov 2017 06:56:50 +0000 (07:56 +0100)
Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
configure

index 1e3cc28df140c69f341e68a8248f752b67fa05dc..6d889e903f464fd77fa2669b5849c350d9fc7138 100755 (executable)
--- a/configure
+++ b/configure
@@ -680,7 +680,7 @@ fi
 # systemd
 #
 if enabled_or_auto libsystemd_daemon; then
-  if check_pkg libsystemd-daemon; then
+  if check_pkg libsystemd-daemon || check_pkg libsystemd; then
     enable libsystemd_daemon
   elif enabled libsystemd_daemon; then
     die "libsystemd-daemon development support not found (use --disable-systemd_daemon)"