--- a/configure
+++ b/configure
@@ -24638,7 +24638,7 @@ _ACEOF
 #
 # Avahi runtime dir
 #
-avahi_runtime_dir="/run"
+avahi_runtime_dir="${localstatedir}/run"
 avahi_socket="${avahi_runtime_dir}/avahi-daemon/socket"
 
 
