diff -uNr afs-krb5.orig/src/configure.in afs-krb5/src/configure.in
--- afs-krb5.orig/src/configure.in	2005-04-15 10:42:04.492359000 -0400
+++ afs-krb5/src/configure.in	2005-04-15 10:44:55.737326136 -0400
@@ -80,22 +80,6 @@
 if test "$have_gethostbyname" = no; then
 	AC_MSG_ERROR([Unable to find gethostbyname function])
 fi
-LIBS="$save_LIBS $NETLIBS"
-AC_CHECK_FUNC(res_search, have_res_search=yes, have_res_search=no)
-
-if test "$have_res_search" = no; then
-	for lib in dns nsl resolv
-	do
-		if test "$have_res_search" != yes; then
-			AC_CHECK_LIB(${lib}, res_search,
-				     [have_res_search=yes
-				      NETLIBS="$NETLIBS -l${lib}"])
-		fi
-	done
-fi
-if test "$have_res_search" = no; then
-	AC_MSG_ERROR([Unable to find res_search function])
-fi
 LIBS="$save_LIBS"
 
 dnl
