Skip to content

Commit

Permalink
Use ${runstatedir} instead of ${localstatedir}/run for AVAHI_SOCKET
Browse files Browse the repository at this point in the history
This allows modern distros to explicitly specifiy the socket location
as /run rather than using the compatibility symlink of /var/run.
  • Loading branch information
agoode committed May 11, 2021
1 parent 99c2f1c commit df4364e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit df4364e

Please sign in to comment.