aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-01-21 15:42:05 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-01-21 15:42:05 +0000
commitb4d68544c8d684ec80864705f7b1e2abfc319575 (patch)
tree940c9880f1de7a78a665d892763455ed067a94d2 /configure
parente9e949cf74391a00751ddec83197bb019b203bd2 (diff)
downloadffmpeg-b4d68544c8d684ec80864705f7b1e2abfc319575.tar.gz
Remove IPv4-only codepath. Patch by Martin Storsjö <$first $first st>.
Originally committed as revision 21365 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure26
1 files changed, 6 insertions, 20 deletions
diff --git a/configure b/configure
index 7dfc6db8dc..55402902e8 100755
--- a/configure
+++ b/configure
@@ -92,7 +92,6 @@ Configuration options:
--enable-w32threads use Win32 threads [no]
--enable-x11grab enable X11 grabbing [no]
--disable-network disable network support [no]
- --disable-ipv6 disable IPv6 support [no]
--disable-mpegaudio-hp faster (but less accurate) MPEG audio decoding [no]
--enable-gray enable full grayscale support (slower color)
--disable-swscale-alpha disable alpha channel support in swscale
@@ -877,7 +876,6 @@ CONFIG_LIST="
gprof
gray
hardcoded_tables
- ipv6
libdc1394
libdirac
libfaac
@@ -1034,6 +1032,8 @@ HAVE_LIST="
soundcard_h
poll_h
struct_addrinfo
+ struct_ipv6_mreq
+ struct_sockaddr_in6
struct_sockaddr_sa_len
struct_sockaddr_storage
sys_mman_h
@@ -1396,7 +1396,6 @@ enable fastdiv
enable ffmpeg
enable ffplay
enable ffserver
-enable ipv6
enable mpegaudio_hp
enable network
enable optimizations
@@ -2511,6 +2510,8 @@ texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html
if enabled network; then
check_type "sys/types.h sys/socket.h" socklen_t
check_type netdb.h "struct addrinfo"
+ check_type netinet/in.h "struct ipv6_mreq"
+ check_type netinet/in.h "struct sockaddr_in6"
check_type "sys/types.h sys/socket.h" "struct sockaddr_storage"
check_struct "sys/types.h sys/socket.h" "struct sockaddr" sa_len
# Prefer arpa/inet.h over winsock2
@@ -2523,6 +2524,8 @@ if enabled network; then
network_extralibs="-lws2_32"; }
check_type ws2tcpip.h socklen_t
check_type ws2tcpip.h "struct addrinfo"
+ check_type ws2tcpip.h "struct ipv6_mreq"
+ check_type ws2tcpip.h "struct sockaddr_in6"
check_type ws2tcpip.h "struct sockaddr_storage"
check_struct winsock2.h "struct sockaddr" sa_len
else
@@ -2530,20 +2533,6 @@ if enabled network; then
fi
fi
-enabled_all network ipv6 && check_ld <<EOF || disable ipv6
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netdb.h>
-int main(void) {
- struct sockaddr_storage saddr;
- struct ipv6_mreq mreq6;
- getaddrinfo(0,0,0,0);
- getnameinfo(0,0,0,0,0,0,0);
- IN6_IS_ADDR_MULTICAST((const struct in6_addr *)0);
-}
-EOF
-
check_header linux/videodev.h
check_header linux/videodev2.h
check_header sys/videoio.h
@@ -2752,9 +2741,6 @@ echo "postprocessing support ${postproc-no}"
echo "new filter support ${avfilter-no}"
echo "filters using lavformat ${avfilter_lavf-no}"
echo "network support ${network-no}"
-if enabled network; then
- echo "IPv6 support ${ipv6-no}"
-fi
echo "threading support ${thread_type-no}"
echo "SDL support ${sdl-no}"
echo "Sun medialib support ${mlib-no}"