$NetBSD: patch-af,v 1.2 2007/12/12 17:59:21 adam Exp $

--- configure.in.orig	2007-08-26 05:06:34.000000000 +0200
+++ configure.in
@@ -334,7 +334,7 @@ dnl  By default we assume user wants dns
 dnl  zone transfers support, provided script can find the library
 dnl
 
-if test x$with_advanced_dns == xyes ; then
+if test x$with_advanced_dns = xyes ; then
 
   LIB_RESOLV=""
   HAVE_RES_NQUERY=""
@@ -744,8 +744,8 @@ fi
 if test "Z$ac_cv_gethostbyaddr_args" != "Z"; then
   echo "Function gethostbyaddr_r takes $ac_cv_gethostbyaddr_args arguments"
   echo -n "First argument for gethostbyaddr_r is "
-  if   test "Z$ac_cv_gethostbyaddr_first_arg" == "Zcharptr"; then echo "const char *"
-  elif test "Z$ac_cv_gethostbyaddr_first_arg" == "Zvoidptr"; then echo "const void *"
+  if   test "Z$ac_cv_gethostbyaddr_first_arg" = "Zcharptr"; then echo "const char *"
+  elif test "Z$ac_cv_gethostbyaddr_first_arg" = "Zvoidptr"; then echo "const void *"
   else echo 
   fi
 else
