--- source3/configure
+++ source3/configure
@@ -17547,6 +17547,7 @@
 
 #####################################
 # needed for SRV lookups
+if false; then
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dn_expand in -lresolv" >&5
 $as_echo_n "checking for dn_expand in -lresolv... " >&6; }
 if ${ac_cv_lib_resolv_dn_expand+:} false; then :
@@ -17681,6 +17682,7 @@
   LIBS="-lresolv $LIBS"
 
 fi
+fi
 
 
 #
