]> granicus.if.org Git - pdns/commitdiff
NOD: use LOCALSTATEDIR and nod PREFIX/var as dir
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 18 Jan 2019 11:37:42 +0000 (12:37 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 18 Jan 2019 11:37:42 +0000 (12:37 +0100)
pdns/recursordist/configure.ac

index d3ceb2b2e72d22db7a639b66af3b30e813a0462c..825e3f62abbd2ddec6723847d4ebaf5d82c30a36 100644 (file)
@@ -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"]
 )