[MPlayer-cvslog] r20365 - trunk/configure

diego subversion at mplayerhq.hu
Sun Oct 22 16:51:17 CEST 2006


Author: diego
Date: Sun Oct 22 16:51:17 2006
New Revision: 20365

Modified:
   trunk/configure

Log:
IPv6 tests for the presence of AF_INET6 but not struct sockaddr_in6. Glibc 2.0
has AF_INET6 but doesn't have sockaddr_in6. Disable IPv6 in such cases.
taken from a patch by Mikulas Patocka, mikulas (at) artax karlin mff cuni cz


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sun Oct 22 16:51:17 2006
@@ -6988,7 +6988,8 @@
   cat > $TMPC << EOF
 #include <sys/types.h>
 #include <sys/socket.h>
-int main(void) { socket(AF_INET6, SOCK_STREAM, AF_INET6); }
+#include <netinet/in.h>
+int main(void) { struct sockaddr_in6 six; socket(AF_INET6, SOCK_STREAM, AF_INET6); }
 EOF
   _inet6=no
   if cc_check ; then



More information about the MPlayer-cvslog mailing list