From: sthen Date: Mon, 5 Jan 2015 13:27:33 +0000 (+0000) Subject: regen X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=781c7c2bf8cce84c5efc52b3ace6231cdd564f86;p=openbsd regen --- diff --git a/usr.sbin/unbound/configure b/usr.sbin/unbound/configure index bdfc14f2205..9855014fa41 100644 --- a/usr.sbin/unbound/configure +++ b/usr.sbin/unbound/configure @@ -733,6 +733,7 @@ UNBOUND_PIDFILE UNBOUND_SHARE_DIR UNBOUND_CHROOT_DIR UNBOUND_RUN_DIR +ub_conf_dir ub_conf_file EGREP GREP @@ -4047,6 +4048,30 @@ cat >>confdefs.h <<_ACEOF #define CONFIGFILE "$hdr_config" _ACEOF +ub_conf_dir=`$as_dirname -- "$ub_conf_file" || +$as_expr X"$ub_conf_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ub_conf_file" : 'X\(//\)[^/]' \| \ + X"$ub_conf_file" : 'X\(//\)$' \| \ + X"$ub_conf_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ub_conf_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + # Determine run, chroot directory and pidfile locations