From: Pieter Lexis Date: Fri, 18 Jan 2019 11:37:42 +0000 (+0100) Subject: NOD: use LOCALSTATEDIR and nod PREFIX/var as dir X-Git-Tag: auth-4.2.0-beta1~43^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc39363fcb191db9d8294832e6731fb27194095e;p=thirdparty%2Fpdns.git NOD: use LOCALSTATEDIR and nod PREFIX/var as dir --- diff --git a/pdns/recursordist/configure.ac b/pdns/recursordist/configure.ac index d3ceb2b2e7..825e3f62ab 100644 --- a/pdns/recursordist/configure.ac +++ b/pdns/recursordist/configure.ac @@ -149,9 +149,9 @@ AM_COND_IF([NOD_ENABLED], []) AC_SUBST([nodcachedir]) -nodcachedir='${prefix}/var/lib/pdns-recursor' +nodcachedir='${localstatedir}/lib/pdns-recursor' AC_ARG_WITH([nod-cache-dir], - [AS_HELP_STRING([--with-nodcachedir], [where newly observed domain cache files live @<:@default=PREFIX/var/lib/pdns-recursor@:>@])], + [AS_HELP_STRING([--with-nodcachedir], [where newly observed domain cache files live @<:@default=LOCALSTATEDIR/lib/pdns-recursor@:>@])], [nodcachedir="$withval"] )