summaryrefslogtreecommitdiff
path: root/usr.sbin/unbound
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2015-01-05 13:27:29 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2015-01-05 13:27:29 +0000
commit4cfc1d85df9499a64e32083de436a00e3e66719f (patch)
tree18026fe9354cd6ebfe2a38d8e3006be958189e78 /usr.sbin/unbound
parentac8020e2a0c50178549c402235259841a88cacc0 (diff)
provide a new ub_conf_dir variable, to be used in unbound-control-setup
ok brad@, committed upstream (r3297)
Diffstat (limited to 'usr.sbin/unbound')
-rw-r--r--usr.sbin/unbound/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/unbound/configure.ac b/usr.sbin/unbound/configure.ac
index 7e5da1a9f04..9c6f7529d3d 100644
--- a/usr.sbin/unbound/configure.ac
+++ b/usr.sbin/unbound/configure.ac
@@ -118,6 +118,8 @@ AC_ARG_WITH([conf_file],
AC_SUBST(ub_conf_file)
ACX_ESCAPE_BACKSLASH($ub_conf_file, hdr_config)
AC_DEFINE_UNQUOTED(CONFIGFILE, ["$hdr_config"], [Pathname to the Unbound configuration file])
+ub_conf_dir=`AS_DIRNAME(["$ub_conf_file"])`
+AC_SUBST(ub_conf_dir)
# Determine run, chroot directory and pidfile locations
AC_ARG_WITH(run-dir,