$OpenBSD: patch-configure_ac,v 1.2 2020/02/25 13:38:30 sthen Exp $

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -65,10 +65,6 @@ elif test $use_bind = yes; then
 else
   bindpath="$withval/bin"
 fi
-AC_PATH_PROG(ac_cv_isc_config, [isc-config.sh], [no], [$bindpath])
-if test "$ac_cv_isc_config" = "no"; then
-  AC_MSG_ERROR([BIND 9 libraries must be installed])
-fi
 
 case "$host_os" in
   freebsd*)
@@ -77,8 +73,7 @@ case "$host_os" in
     ;;
 esac
 
-AS_VAR_APPEND(CFLAGS, [" `$ac_cv_isc_config --cflags dns bind9`"])
-AS_VAR_APPEND(LDFLAGS, [" `$ac_cv_isc_config --libs dns bind9`"])
+AS_VAR_APPEND(LDFLAGS, ["-lbind9"])
 
 AC_CHECK_HEADERS([isc/hmacmd5.h isc/hmacsha.h])
 
