Commit 0c7bb0e5 authored by Luca Barbato's avatar Luca Barbato

add --disable-ipv6 option to configure

Originally committed as revision 6017 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7981555d
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment