[MPlayer-cvslog] r24885 - trunk/configure

zuxy subversion at mplayerhq.hu
Tue Oct 30 03:44:17 CET 2007


Author: zuxy
Date: Tue Oct 30 03:44:17 2007
New Revision: 24885

Log:
Detect IPv6 support on Windows


Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Oct 30 03:44:17 2007
@@ -7128,12 +7128,16 @@ echocheck "inet6"
 if test "$_inet6" = auto ; then
   cat > $TMPC << EOF
 #include <sys/types.h>
+#if !defined(_WIN32) || defined(__CYGWIN__)
 #include <sys/socket.h>
 #include <netinet/in.h>
+#else
+#include <ws2tcpip.h>
+#endif
 int main(void) { struct sockaddr_in6 six; socket(AF_INET6, SOCK_STREAM, AF_INET6); }
 EOF
   _inet6=no
-  if cc_check ; then
+  if cc_check $_ld_sock ; then
     _inet6=yes
   fi
 fi



More information about the MPlayer-cvslog mailing list