From 8306b37448c7ea5485d33298f19b63345bc7e9bc Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 5 Jan 2015 13:27:28 +0000 Subject: [PATCH] provide a new ub_conf_dir variable, to be used in unbound-control-setup ok brad@, committed upstream (r3297) --- usr.sbin/unbound/configure.ac | 2 ++ 1 file changed, 2 insertions(+) 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, -- 2.20.1