diff options
-rw-r--r-- | configure.ac | 9 | ||||
-rw-r--r-- | ext/Makefile.am | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8fe8dba3..60df45a6 100644 --- a/configure.ac +++ b/configure.ac @@ -768,6 +768,14 @@ GST_CHECK_FEATURE(ESD, [esound plug-ins], esdsink esdmon, [ AS_SCRUB_INCLUDE(ESD_CFLAGS) ]) +dnl **** Free AAC Encoder (FAAC) **** +translit(dnm, m, l) AM_CONDITIONAL(USE_FAAC, true) +GST_CHECK_FEATURE(FAAC, [AAC encoder plug-in], faac, [ + GST_CHECK_LIBHEADER(FAAC, faac, faacEncOpen, -lm, faac.h, FAAC_LIBS="-lfaac -lm") + AS_SCRUB_INCLUDE(FAAC_CFLAGS) + AC_SUBST(FAAC_LIBS) +]) + dnl **** Free AAC Decoder (FAAD) **** translit(dnm, m, l) AM_CONDITIONAL(USE_FAAD, true) GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [ @@ -1398,6 +1406,7 @@ ext/dv/Makefile ext/dvdread/Makefile ext/dvdnav/Makefile ext/esd/Makefile +ext/faac/Makefile ext/faad/Makefile ext/ffmpeg/Makefile ext/flac/Makefile diff --git a/ext/Makefile.am b/ext/Makefile.am index ce036262..290d62a4 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -70,6 +70,12 @@ else MAS_DIR= endif +if USE_FAAC +FAAC_DIR=faac +else +FAAC_DIR= +endif + if USE_FAAD FAAD_DIR=faad else @@ -286,6 +292,7 @@ SUBDIRS=\ $(DVDREAD_DIR) \ $(DVDNAV_DIR) \ $(ESD_DIR) \ + $(FAAC_DIR) \ $(FAAD_DIR) \ $(FFMPEG_DIR) \ $(FLAC_DIR) \ @@ -334,6 +341,7 @@ DIST_SUBDIRS=\ dvdnav \ esd \ mas \ + faac \ faad \ ffmpeg \ flac \ |