From: Hugo Villeneuve Date: Thu, 22 Jan 2026 19:53:48 +0000 (-0500) Subject: MQTT: fix warning when starting service X-Git-Tag: 5.0-post-dev~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b60b424495d1bb4c2d6b88e495bd5d47a240b270;p=thirdparty%2Fshairport-sync.git MQTT: fix warning when starting service This fixes the following warning: shairport-sync[293]: [MQTT]: Could not establish a mqtt connection Signed-off-by: Hugo Villeneuve --- diff --git a/configure.ac b/configure.ac index 31b8bc20..bd289c74 100644 --- a/configure.ac +++ b/configure.ac @@ -389,6 +389,8 @@ AC_ARG_WITH(mqtt-client, [AS_HELP_STRING([--with-mqtt-client],[include a client if test "x$with_mqtt_client" = "xyes" ; then AC_DEFINE([CONFIG_MQTT], 1, [Include a client for MQTT, the Message Queuing Telemetry Transport protocol]) AC_CHECK_LIB([mosquitto], [mosquitto_lib_init], , AC_MSG_ERROR(MQTT support requires the mosquitto library -- libmosquitto-dev suggested!)) + systemd_after_args="${systemd_after_args} mosquitto.service" + systemd_requires_args="${systemd_requires_args} mosquitto.service" fi AM_CONDITIONAL([USE_MQTT], [test "x$with_mqtt_client" = "xyes"])