Mercurial > mplayer.hg
comparison configure @ 30260:5c3dacc19ab8
Fix compilation after recent changes in FFmpeg.
Patch by Etienne Buira, etienne D buira A free D fr
author | cehoyos |
---|---|
date | Thu, 14 Jan 2010 12:06:38 +0000 |
parents | 00300a5f2638 |
children | 98cc153d1726 |
comparison
equal
deleted
inserted
replaced
30259:2c671b7d2bd4 | 30260:5c3dacc19ab8 |
---|---|
678 _tv_bsdbt848=auto | 678 _tv_bsdbt848=auto |
679 _tv_dshow=auto | 679 _tv_dshow=auto |
680 _pvr=auto | 680 _pvr=auto |
681 _network=yes | 681 _network=yes |
682 _winsock2_h=auto | 682 _winsock2_h=auto |
683 _struct_addrinfo=auto | |
684 _getaddrinfo=auto | |
685 _struct_sockaddr_storage=auto | |
683 _smb=auto | 686 _smb=auto |
684 _vidix=auto | 687 _vidix=auto |
685 _vidix_pcidb=yes | 688 _vidix_pcidb=yes |
686 _dhahelper=no | 689 _dhahelper=no |
687 _svgalib_helper=no | 690 _svgalib_helper=no |
3098 else | 3101 else |
3099 def_winsock2_h='#define HAVE_WINSOCK2_H 0' | 3102 def_winsock2_h='#define HAVE_WINSOCK2_H 0' |
3100 fi | 3103 fi |
3101 | 3104 |
3102 | 3105 |
3106 echocheck "netdb.h, struct addrinfo" | |
3107 if test "$_struct_addrinfo" = auto; then | |
3108 _struct_addrinfo=no | |
3109 cat > $TMPC << EOF | |
3110 #include <sys/types.h> | |
3111 #include <sys/socket.h> | |
3112 #include <netdb.h> | |
3113 int main(void) { struct addrinfo ai; return 0; } | |
3114 EOF | |
3115 cc_check && _struct_addrinfo=yes | |
3116 fi | |
3117 echores "$_struct_addrinfo" | |
3118 | |
3119 if test "$_struct_addrinfo" = yes; then | |
3120 def_addrinfo="#define HAVE_STRUCT_ADDRINFO 1" | |
3121 else | |
3122 def_addrinfo="#define HAVE_STRUCT_ADDRINFO 0" | |
3123 fi | |
3124 | |
3125 | |
3126 echocheck "netdb.h, getaddrinfo()" | |
3127 if test "$_getaddrinfo" = auto; then | |
3128 _getaddrinfo=no | |
3129 cat > $TMPC << EOF | |
3130 #include <sys/types.h> | |
3131 #include <sys/socket.h> | |
3132 #include <netdb.h> | |
3133 int main(void) { (void) getaddrinfo(0, 0, 0, 0); return 0; } | |
3134 EOF | |
3135 cc_check && _getaddrinfo=yes | |
3136 fi | |
3137 echores "$_getaddrinfo" | |
3138 | |
3139 if test "$_getaddrinfo" = yes; then | |
3140 def_getaddrinfo="#define HAVE_GETADDRINFO 1" | |
3141 else | |
3142 def_getaddrinfo="define HAVE_GETADDRINFO 0" | |
3143 fi | |
3144 | |
3145 | |
3146 echocheck "sockaddr_storage" | |
3147 if test "$_struct_sockaddr_storage" = auto; then | |
3148 _struct_sockaddr_storage=no | |
3149 cat > $TMPC << EOF | |
3150 #include <sys/socket.h> | |
3151 int main(void) { struct sockaddr_storage sas; return 0; } | |
3152 EOF | |
3153 cc_check && _struct_sockaddr_storage=yes | |
3154 fi | |
3155 echores "$_struct_sockaddr_storage" | |
3156 | |
3157 if test "$_struct_sockaddr_storage" = yes; then | |
3158 def_sockaddr_storage="#define HAVE_STRUCT_SOCKADDR_STORAGE 1" | |
3159 else | |
3160 def_sockaddr_storage="#define HAVE_STRUCT_SOCKADDR_STORAGE 0" | |
3161 fi | |
3162 | |
3163 | |
3103 echocheck "arpa/inet.h" | 3164 echocheck "arpa/inet.h" |
3104 arpa_inet_h=no | 3165 arpa_inet_h=no |
3105 def_arpa_inet_h='#define HAVE_ARPA_INET_H 0' | 3166 def_arpa_inet_h='#define HAVE_ARPA_INET_H 0' |
3106 cat > $TMPC << EOF | 3167 cat > $TMPC << EOF |
3107 #include <arpa/inet.h> | 3168 #include <arpa/inet.h> |
8905 $def_nemesi | 8966 $def_nemesi |
8906 $def_network | 8967 $def_network |
8907 $def_smb | 8968 $def_smb |
8908 $def_socklen_t | 8969 $def_socklen_t |
8909 $def_vstream | 8970 $def_vstream |
8971 $def_addrinfo | |
8972 $def_getaddrinfo | |
8973 $def_sockaddr_storage | |
8910 | 8974 |
8911 | 8975 |
8912 /* libvo options */ | 8976 /* libvo options */ |
8913 $def_3dfx | 8977 $def_3dfx |
8914 $def_aa | 8978 $def_aa |