diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-03-05 21:04:58 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-03-05 21:04:58 +0100 |
commit | 24bc487157b01af369a57bca228cdaad3ea30730 (patch) | |
tree | 618b451905e8d57f9224a1d5fca107e5c45fdb79 /configure.ac | |
parent | fb2fe3f9787eb221242fb178f553ef21c943e219 (diff) | |
download | gnutls-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.ac | 6 |
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 ) |