From 7722a0e7bd2f335495a1f59738225f6bbcb7d685 Mon Sep 17 00:00:00 2001 From: Mike Lei Date: Sat, 28 Mar 2026 01:57:04 +0800 Subject: [PATCH 1/2] fix: avoid leading space in systemd unit option values --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 002639c0..1222b46e 100644 --- a/configure.ac +++ b/configure.ac @@ -228,8 +228,8 @@ if test "x$with_avahi" = "xyes" ; then AC_DEFINE([CONFIG_AVAHI], 1, [Include Avahi-based mDNS support.]) AC_CHECK_LIB([avahi-client], [avahi_client_new], , AC_MSG_ERROR(Avahi support requires the avahi-client library!)) AC_CHECK_LIB([avahi-common],[avahi_strerror], , AC_MSG_ERROR(Avahi support requires the avahi-common library!)) - systemd_after_args="${systemd_after_args} avahi-daemon.service" - systemd_requires_args="${systemd_requires_args} avahi-daemon.service" + systemd_after_args="${systemd_after_args}${systemd_after_args:+ }avahi-daemon.service" + systemd_requires_args="${systemd_requires_args}${systemd_requires_args:+ }avahi-daemon.service" fi AM_CONDITIONAL([USE_AVAHI], [test "x$with_avahi" = "xyes"]) From e41d52dad16b872fb3de0819a88b0d84d5f73420 Mon Sep 17 00:00:00 2001 From: Mike Lei Date: Sat, 28 Mar 2026 01:59:06 +0800 Subject: [PATCH 2/2] fix: add missing nqptp.service to systemd `After` and `Requires` options when building for Airplay 2 --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 1222b46e..cd9e0e6e 100644 --- a/configure.ac +++ b/configure.ac @@ -443,6 +443,8 @@ if test "x$with_airplay_2" = "xyes" ; then ) ]) AC_CHECK_LIB([uuid],[uuid_generate], [], [AC_MSG_ERROR([AirPlay 2 support requires the uuid library -- uuid-dev suggested])]) + systemd_after_args="${systemd_after_args}${systemd_after_args:+ }nqptp.service" + systemd_requires_args="${systemd_requires_args}${systemd_requires_args:+ }nqptp.service" fi AM_CONDITIONAL([USE_AIRPLAY_2], [test "x$with_airplay_2" = "xyes"])