[MPlayer-cvslog] r29986 - trunk/configure
reimar
subversion at mplayerhq.hu
Wed Dec 9 18:55:34 CET 2009
Author: reimar
Date: Wed Dec 9 18:55:34 2009
New Revision: 29986
Log:
Disable winsock when we already found a working socklib instead of checking
blindly for cygwin and uselessly running the check on e.g. Linux.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Wed Dec 9 18:52:18 2009 (r29985)
+++ trunk/configure Wed Dec 9 18:55:34 2009 (r29986)
@@ -3050,7 +3050,8 @@ _socklib=no
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 <winsock2.h>
More information about the MPlayer-cvslog
mailing list