aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMax Krasnyansky <maxk@qualcomm.com>2003-01-22 22:40:52 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-01-22 22:40:52 +0000
commit8aa3ee32c257541a91bab1e47364f4f655e9e69d (patch)
tree2f3593864ea116c97fd180f40e5ac3244d8e3b13 /configure
parent4b8b2edb6260d0f0b9e5f2f10a28c3ab19143f2f (diff)
downloadffmpeg-8aa3ee32c257541a91bab1e47364f4f655e9e69d.tar.gz
dv patch by Max Krasnyansky (maxk at qualcomm dot com)
Originally committed as revision 1493 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure b/configure
index 59f5b798b2..b0834dfaac 100755
--- a/configure
+++ b/configure
@@ -53,6 +53,7 @@ gprof="no"
v4l="yes"
audio_oss="yes"
audio_beos="no"
+dv1394="yes"
network="yes"
zlib="yes"
mp3lame="no"
@@ -103,6 +104,7 @@ SHFLAGS=-nostart
# disable linux things
audio_oss="no"
v4l="no"
+dv1394="no"
# enable beos things
audio_beos="yes"
# no need for libm, but the inet stuff
@@ -117,6 +119,7 @@ fi ;;
SunOS)
v4l="no"
audio_oss="no"
+dv1394="no"
make="gmake"
LDFLAGS=""
FFSLDFLAGS=""
@@ -126,12 +129,14 @@ extralibs="$extralibs -lsocket -lnsl"
FreeBSD)
v4l="no"
audio_oss="yes"
+dv1394="no"
make="gmake"
LDFLAGS="$LDFLAGS -export-dynamic"
;;
BSD/OS)
v4l="no"
audio_oss="yes"
+dv1394="no"
extralibs="-lpoll -lgnugetopt -lm"
make="gmake"
;;
@@ -139,6 +144,7 @@ Darwin)
cc="cc"
v4l="no"
audio_oss="no"
+dv1394="no"
SHFLAGS="-dynamiclib"
extralibs=""
darwin="yes"
@@ -158,6 +164,7 @@ esac
MINGW32*)
v4l="no"
audio_oss="no"
+dv1394="no"
ffserver="no"
network="no"
mingw32="yes"
@@ -165,6 +172,7 @@ mingw32="yes"
CYGWIN*)
v4l="no"
audio_oss="yes"
+dv1394="no"
extralibs=""
cygwin="yes"
test -f /usr/include/inttypes.h || \
@@ -190,6 +198,7 @@ SLIBSUF=".dll"
extralibs=""
v4l="no"
audio_oss="no"
+dv1394="no"
network="no"
ffserver="no"
os2="yes"
@@ -287,6 +296,8 @@ for opt do
;;
--disable-audio-beos) audio_beos="no"
;;
+ --disable-dv1394) dv1394="no"
+ ;;
--disable-network) network="no"
;;
--disable-zlib) zlib="no"
@@ -375,6 +386,7 @@ if test "$win32" = "yes" ; then
cross_prefix="i386-mingw32msvc-"
v4l="no"
audio_oss="no"
+ dv1394="no"
network="no"
fi
@@ -382,6 +394,7 @@ if test "$mingw32" = "yes" ; then
cross_prefix=""
v4l="no"
audio_oss="no"
+ dv1394="no"
network="no"
fi
@@ -543,6 +556,7 @@ echo " --disable-altivec disable AltiVec usage"
echo " --disable-audio-oss disable OSS audio support [default=no]"
echo " --disable-audio-beos disable BeOS audio support [default=no]"
echo " --disable-v4l disable video4linux grabbing [default=no]"
+echo " --disable-dv1394 disable DV1394 grabbing [default=no]"
echo " --disable-network disable network support [default=no]"
echo " --disable-zlib disable zlib [default=no]"
echo " --disable-simple_idct disable simple IDCT routines [default=no]"
@@ -705,6 +719,11 @@ if test "$v4l" = "yes" ; then
echo "CONFIG_VIDEO4LINUX=yes" >> config.mak
fi
+if test "$dv1394" = "yes" ; then
+ echo "#define CONFIG_DV1394 1" >> $TMPH
+ echo "CONFIG_DV1394=yes" >> config.mak
+fi
+
if test "$dlopen" = "yes" ; then
echo "#define CONFIG_HAVE_DLOPEN 1" >> $TMPH
fi