aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-08-17 16:54:50 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-08-17 16:54:50 +0000
commit0c7bb0e5b69a4aa7ec915a4f2a6a2e98118038b0 (patch)
treed0c323f26a625a47c6c14ea74d83605794a6fe0e /configure
parent7981555d89c16850201a0eda2aca6dc5400cf275 (diff)
downloadffmpeg-0c7bb0e5b69a4aa7ec915a4f2a6a2e98118038b0.tar.gz
add --disable-ipv6 option to configure
Originally committed as revision 6017 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index b34fe59dca..412e827a97 100755
--- a/configure
+++ b/configure
@@ -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>