summaryrefslogtreecommitdiff
path: root/net-dns/unbound/files/unbound-1.10.1-find-ar.patch
blob: c840e30f1ea7fd30ab244a57971b5a76ae1c1330 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/acx_nlnetlabs.m4
+++ b/acx_nlnetlabs.m4
@@ -535,7 +535,7 @@ AC_CANONICAL_HOST
 if echo "$host_os" | grep "sunos4" >/dev/null; then
 	lt_cv_sys_max_cmd_len=32750;
 fi
-AC_PATH_TOOL(AR, ar, [false])
+AC_CHECK_TOOL(AR, ar, [false])
 if test $AR = false; then
 	AC_MSG_ERROR([Cannot find 'ar', please extend PATH to include it])
 fi