summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rw-r--r--make/configure.py4
-rw-r--r--make/include/main.defs4
2 files changed, 8 insertions, 0 deletions
diff --git a/make/configure.py b/make/configure.py
index 0d9b494cb..835984f83 100644
--- a/make/configure.py
+++ b/make/configure.py
@@ -1176,6 +1176,9 @@ def createCLI():
h = IfHost( 'enable use of ffmpeg mpeg2 decoding', '*-*-*', none=optparse.SUPPRESS_HELP ).value
grp.add_option( '--enable-ff-mpeg2', default=False, action='store_true', help=h )
+ h = IfHost( 'enable use of fdk-aac encoder', '*-*-*', none=optparse.SUPPRESS_HELP ).value
+ grp.add_option( '--enable-fdk-aac', default=False, action='store_true', help=h )
+
cli.add_option_group( grp )
## add launch options
@@ -1615,6 +1618,7 @@ int main ()
doc.add( 'FEATURE.gtk.mingw', int( options.enable_gtk_mingw ))
doc.add( 'FEATURE.gst', int( not options.disable_gst ))
doc.add( 'FEATURE.ff.mpeg2', int( options.enable_ff_mpeg2 ))
+ doc.add( 'FEATURE.fdk_aac', int( options.enable_fdk_aac ))
doc.add( 'FEATURE.xcode', int( not (Tools.xcodebuild.fail or options.disable_xcode or options.cross) ))
if not Tools.xcodebuild.fail and not options.disable_xcode:
diff --git a/make/include/main.defs b/make/include/main.defs
index 5a7519e50..45d375c36 100644
--- a/make/include/main.defs
+++ b/make/include/main.defs
@@ -39,6 +39,10 @@ ifneq (,$(filter $(BUILD.system),darwin cygwin mingw))
MODULES += contrib/libsamplerate
endif
+ifeq (1,$(FEATURE.fdk_aac))
+ MODULES += contrib/fdk-aac
+endif
+
MODULES += contrib/lame
MODULES += contrib/faac
MODULES += contrib/ffmpeg