diff --git a/configure b/configure index 7c3a9f87fa..e9fc08c89e 100755 --- a/configure +++ b/configure @@ -3776,7 +3776,7 @@ if ! disabled network; then check_func_headers winsock2.h closesocket -lws2 && network_extralibs="-lws2" || { check_func_headers winsock2.h closesocket -lws2_32 && - network_extralibs="-lws2_32"; } + network_extralibs="-lws2_32"; } || disable winsock2_h network check_func_headers ws2tcpip.h getaddrinfo $network_extralibs check_type ws2tcpip.h socklen_t check_type ws2tcpip.h "struct addrinfo"