From df4364ec5b12082b66b7bed9311adbec88b0fd51 Mon Sep 17 00:00:00 2001 From: Adam Goode Date: Mon, 10 May 2021 21:32:25 -0400 Subject: [PATCH] Use ${runstatedir} instead of ${localstatedir}/run for AVAHI_SOCKET This allows modern distros to explicitly specifiy the socket location as /run rather than using the compatibility symlink of /var/run. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1c24a69..b7ecc8a 100644 --- a/configure.ac +++ b/configure.ac @@ -55,7 +55,7 @@ AM_CONDITIONAL([ENABLE_TESTS], [test "x$have_check" = "xyes"]) AC_ARG_VAR([AVAHI_SOCKET], [Full path to the avahi-daemon socket, overriding default]) AS_IF([test "x$AVAHI_SOCKET" = x], - [AVAHI_SOCKET="${localstatedir}/run/avahi-daemon/socket"]) + [AVAHI_SOCKET="${runstatedir}/avahi-daemon/socket"]) AC_ARG_VAR([MDNS_ALLOW_FILE], [Full path to the mdns.allow file, overriding default])