Commit 5cfd4d45 authored by Ondřej Surý's avatar Ondřej Surý

Put storage dir into ${localstatedir}/knot (fixes #69)

parent af4188a2
......@@ -167,13 +167,13 @@ AX_CHECK_COMPILE_FLAG("-fno-strict-aliasing", [CFLAGS="$CFLAGS -fno-strict-alias
# Default directories
run_dir="${localstatedir}/run/knot"
AC_ARG_WITH([rundir],
AC_HELP_STRING([--with-rundir=path], [Path to run-time variable data (pid, sockets...). [default=`eval echo ${localstatedir}`/run/knot]]),
AC_HELP_STRING([--with-rundir=path], [Path to run-time variable data (pid, sockets...). [default=LOCALSTATEDIR/run/knot]]),
[run_dir=$withval])
AC_SUBST(run_dir)
storage_dir="${sharedstatedir}/knot"
storage_dir="${localstatedir}/knot"
AC_ARG_WITH([storage],
AC_HELP_STRING([--with-storage=path], [Default storage directory (slave zones, persistent data). [default=$(sharedstatedir)/knot]]),
AC_HELP_STRING([--with-storage=path], [Default storage directory (slave zones, persistent data). [default=LOCALSTATEDIR/lib/knot]]),
[storage_dir=$withval])
AC_SUBST(storage_dir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment