]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
configure: check for /usr/share/dns/root.key as well for dns root key
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 5 Mar 2015 20:04:58 +0000 (21:04 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Thu, 5 Mar 2015 20:04:58 +0000 (21:04 +0100)
configure.ac

index 441031aaf60ff277288fcce033c091d8d8eef527..866e79fff6ef8e977268c2f2b761573bde10e363 100644 (file)
@@ -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
 )