# HG changeset patch # User reimar # Date 1260381334 0 # Node ID 72279983abb0d953eef2c426287fc686a1c4d588 # Parent 1752ec1e845ad98cb179c5a06e0a6b083b05f28b Disable winsock when we already found a working socklib instead of checking blindly for cygwin and uselessly running the check on e.g. Linux. diff -r 1752ec1e845a -r 72279983abb0 configure --- a/configure Wed Dec 09 17:52:18 2009 +0000 +++ b/configure Wed Dec 09 17:55:34 2009 +0000 @@ -3050,7 +3050,8 @@ for _ld_tmp in "" "-lsocket -lbind" "-lsocket -ldnet" "-lsocket -lnsl" "-lnsl" "-lsocket" ; do cc_check $_ld_tmp && _ld_sock="$_ld_tmp" && _socklib=yes && break done -if test $_winsock2_h = auto && ! cygwin ; then +test $_socklib = yes && test $_winsock2_h = auto && _winsock2_h=no +if test $_winsock2_h = auto ; then _winsock2_h=no cat > $TMPC << EOF #include