From: sthen Date: Mon, 5 Jan 2015 13:27:28 +0000 (+0000) Subject: provide a new ub_conf_dir variable, to be used in unbound-control-setup X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8306b37448c7ea5485d33298f19b63345bc7e9bc;p=openbsd provide a new ub_conf_dir variable, to be used in unbound-control-setup ok brad@, committed upstream (r3297) --- 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,