1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

add --disable-ipv6 option to configure

Originally committed as revision 6017 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Luca Barbato 2006-08-17 16:54:50 +00:00
parent 7981555d89
commit 0c7bb0e5b6

6
configure vendored
View File

@ -86,6 +86,7 @@ show_help(){
echo " --disable-bktr disable bktr video grabbing [default=no]"
echo " --disable-dv1394 disable DV1394 grabbing [default=no]"
echo " --disable-network disable network support [default=no]"
echo " --disable-ipv6 disable ipv6 support [default=no]"
echo " --disable-zlib disable zlib [default=no]"
echo " --disable-simple_idct disable simple IDCT routines [default=no]"
echo " --disable-vhook disable video hooking support"
@ -406,6 +407,7 @@ audio_beos="no"
dv1394="yes"
dc1394="no"
network="yes"
ipv6="yes"
zlib="yes"
libgsm="no"
mp3lame="no"
@ -732,6 +734,8 @@ for opt do
;;
--disable-network) network="no"; ffserver="no"
;;
--disable-ipv6) ipv6="no";
;;
--disable-zlib) zlib="no"
;;
--enable-a52) a52="yes"
@ -1413,7 +1417,7 @@ fi
##########################################
# IPv6 check
enabled network && check_ld <<EOF && ipv6=yes || ipv6=no
enabled network && enabled ipv6 && check_ld <<EOF && ipv6=yes || ipv6=no
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>