[MPlayer-cvslog] r27378 - trunk/configure
diego
subversion at mplayerhq.hu
Wed Jul 30 20:16:57 CEST 2008
Author: diego
Date: Wed Jul 30 20:16:57 2008
New Revision: 27378
Log:
Check for socklen_t in ws2tcpip.h as well.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Wed Jul 30 20:16:57 2008
@@ -2866,11 +2866,13 @@ fi
echocheck "socklen_t"
-cat > $TMPC << EOF
-#include <sys/socket.h>
+for header in "sys/socket.h" "ws2tcpip.h" ; do
+ cat > $TMPC << EOF
+#include <$header>
int main(void) { socklen_t v = 0; return v; }
EOF
-cc_check && _socklen_t=yes
+ cc_check && _socklen_t=yes && break
+done
if test "$_socklen_t" = yes ; then
_def_socklen_t='#define HAVE_SOCKLEN_T 1'
else
More information about the MPlayer-cvslog
mailing list