Add faac build

Original commit message from CVS:
Add faac build
This commit is contained in:
Ronald S. Bultje 2003-11-22 12:40:19 +00:00
parent 1711867fab
commit 7be8087bd4
2 changed files with 17 additions and 0 deletions

View file

@ -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

View file

@ -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 \