--- ./configure.orig	2011-10-14 10:10:19.219720000 +0200
+++ ./configure	2011-10-14 10:16:40.505588294 +0200
@@ -22008,7 +22008,6 @@
 
 			{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -lws2_32" >&5
 $as_echo_n "checking for getaddrinfo in -lws2_32... " >&6; }
-		        LIBS="$LIBS -lws2_32"
 		        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <ws2tcpip.h>
