aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-07-14 01:32:14 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-07-14 01:32:14 +0000
commit23c992532927afa9d3a00677ff40cd071e21dc8f (patch)
tree232b97558b925172d4c6372c10a5c7e156469f27 /configure
parenteb507b21c410515b179c0ca85b3db3d83fc296bd (diff)
downloadffmpeg-23c992532927afa9d3a00677ff40cd071e21dc8f.tar.gz
libdts support by (Benjamin Zores <ben at geexbox dot org>)
Originally committed as revision 3310 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure b/configure
index 6df06c8bd1..7b86f31b11 100755
--- a/configure
+++ b/configure
@@ -22,6 +22,7 @@ echo " --enable-faac enable faac support via libfaac [default=no]"
echo " --enable-mingw32 enable mingw32 native/cross windows compile"
echo " --enable-a52 enable GPL'ed A52 support [default=no]"
echo " --enable-a52bin open liba52.so.0 at runtime [default=no]"
+echo " --enable-dts enable GPL'ed DTS support [default=no]"
echo " --enable-pp enable GPL'ed post processing support [default=no]"
echo " --enable-shared-pp use libpostproc.so [default=no]"
echo " --enable-shared build shared libraries [default=no]"
@@ -143,6 +144,7 @@ faadbin="no"
faac="no"
a52="no"
a52bin="no"
+dts="no"
pp="no"
shared_pp="no"
mingw32="no"
@@ -381,6 +383,8 @@ for opt do
;;
--enable-a52bin) a52bin="yes" ; extralibs="$ldl $extralibs"
;;
+ --enable-dts) dts="yes" ; extralibs="$extralibs -ldts"
+ ;;
--enable-pp) pp="yes"
;;
--enable-shared-pp) shared_pp="yes"
@@ -444,6 +448,11 @@ if test "$gpl" != "yes"; then
echo "liba52 is under GPL and --enable-gpl is not specified"
fail="yes"
fi
+
+ if test "$dts" != "no"; then
+ echo "libdts is under GPL and --enable-gpl is not specified"
+ fail="yes"
+ fi
if test "$faad" != "no" -o "$faadbin" != "no"; then
cat > $TMPC << EOF
@@ -973,6 +982,7 @@ echo "faadbin enabled $faadbin"
echo "faac enabled $faac"
echo "a52 support $a52"
echo "a52 dlopened $a52bin"
+echo "dts support $dts"
echo "pp support $pp"
echo "debug symbols $debug"
echo "optimize $optimize"
@@ -1169,6 +1179,12 @@ if test "$a52" = "yes" ; then
fi
fi
+# DTS
+if test "$dts" = "yes" ; then
+ echo "#define CONFIG_DTS 1" >> $TMPH
+ echo "CONFIG_DTS=yes" >> config.mak
+fi
+
# PP
if test "$pp" = "yes" ; then
echo "#define CONFIG_PP 1" >> $TMPH