summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-10-04 09:53:34 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-10-04 09:53:34 +0000
commit29d48296a756818e8d77d2e97c1f3ab0704e003d (patch)
tree9283e02a48f6f8c0516710fa8fd879bae75f6f61 /configure
parent39518b493f4780f1cd5d8e45aed728049a74d556 (diff)
Patch for AAC encoding with libfaac by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2342 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index 7bab964dd5..15a66b61d3 100755
--- a/configure
+++ b/configure
@@ -71,6 +71,7 @@ mp3lame="no"
vorbis="no"
faad="no"
faadbin="no"
+faac="no"
a52="no"
a52bin="no"
pp="no"
@@ -323,6 +324,8 @@ for opt do
;;
--enable-faadbin) faadbin="yes"
;;
+ --enable-faac) faac="yes"
+ ;;
--disable-vhook) vhook="no"
;;
--disable-simple_idct) simpleidct="no"
@@ -764,6 +767,7 @@ echo " --enable-mp3lame enable mp3 encoding via libmp3lame [default=no]
echo " --enable-vorbis enable vorbis support via libvorbisenc [default=no]"
echo " --enable-faad enable faad support via libfaad [default=no]"
echo " --enable-faadbin build faad support with runtime linking [default=no]"
+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]"
@@ -831,6 +835,7 @@ echo "mp3lame enabled $mp3lame"
echo "vorbis enabled $vorbis"
echo "faad enabled $faad"
echo "faadbin enabled $faadbin"
+echo "faac enabled $faac"
echo "a52 support $a52"
echo "a52 dlopened $a52bin"
echo "pp support $pp"
@@ -1062,6 +1067,11 @@ if test "$faadbin" = "yes" ; then
echo "CONFIG_FAADBIN=yes" >> config.mak
fi
+if test "$faac" = "yes" ; then
+ echo "#define CONFIG_FAAC 1" >> $TMPH
+ echo "CONFIG_FAAC=yes" >> config.mak
+fi
+
if test "$mingw32" = "yes" ; then
echo "#define CONFIG_WIN32 1" >> $TMPH
echo "CONFIG_WIN32=yes" >> config.mak