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]"
faac="no"
a52="no"
a52bin="no"
+dts="no"
pp="no"
shared_pp="no"
mingw32="no"
;;
--enable-a52bin) a52bin="yes" ; extralibs="$ldl $extralibs"
;;
+ --enable-dts) dts="yes" ; extralibs="$extralibs -ldts"
+ ;;
--enable-pp) pp="yes"
;;
--enable-shared-pp) shared_pp="yes"
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
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"
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