configure: Fix hard coded FIFO path, found by previous commit
@@ -91,7 +91,7 @@ AC_ARG_WITH(heading,
AC_ARG_WITH(fifo,
AS_HELP_STRING([--with-fifo=FIFO], [FIFO for init/telinit clients, default /var/run/initctl]),
- [fifo=$withval], [fifo=/var/run/initctl])
+ [fifo=$withval], [fifo=$localstatedir/run/initctl])
AC_ARG_WITH(plugindir,
AS_HELP_STRING([--with-plugindir=DIR], [Finit plugin directory, default /lib/finit/plugins]),
@@ -167,7 +167,7 @@ AS_IF([test "x$enable_quiet" != "xno"], [
### With features ##############################################################################
AS_IF([test "x$with_fifo" != "xno"], [
AS_IF([test "x$fifo" = "xyes"], [
- fifo='/var/run/initctl'])])
+ fifo='$localstatedir/run/initctl'])])
AC_EXPAND_DIR(fifo_path, "$fifo")
AC_DEFINE_UNQUOTED(FINIT_FIFO, "$fifo_path", [FIFO for old style init/telinit client programs])
