summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2015-03-05 21:04:58 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2015-03-05 21:04:58 +0100
commit24bc487157b01af369a57bca228cdaad3ea30730 (patch)
tree618b451905e8d57f9224a1d5fca107e5c45fdb79 /configure.ac
parentfb2fe3f9787eb221242fb178f553ef21c943e219 (diff)
downloadgnutls-24bc487157b01af369a57bca228cdaad3ea30730.tar.gz
configure: check for /usr/share/dns/root.key as well for dns root key
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 441031aaf6..866e79fff6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -446,7 +446,11 @@ else
if test -f /var/lib/unbound/root.key;then
unbound_root_key_file="/var/lib/unbound/root.key"
else
- unbound_root_key_file="/etc/unbound/root.key"
+ if test -f /usr/share/dns/root.key;then
+ unbound_root_key_file="/usr/share/dns/root.key"
+ else
+ unbound_root_key_file="/etc/unbound/root.key"
+ fi
fi
fi
)