From 8aa3ee32c257541a91bab1e47364f4f655e9e69d Mon Sep 17 00:00:00 2001 From: Max Krasnyansky <maxk@qualcomm.com> Date: Wed, 22 Jan 2003 22:40:52 +0000 Subject: dv patch by Max Krasnyansky (maxk at qualcomm dot com) Originally committed as revision 1493 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3