bs: better support for mp4/faad/aac and wavpack builds

* Correctly define the following CPP directives:
  HAVE_FAAD_BUFLEN_FUNCS
  HAVE_MP4AUDIOSPECIFICCONFIG

* link against libwavpack correctly in bs

* fix include path for the mpd config.h for mp4ff

git-svn-id: https://svn.musicpd.org/mpd/trunk@7399 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Eric Wong 2008-08-16 04:17:54 +00:00
parent a889684acd
commit f9f7086062
4 changed files with 8 additions and 4 deletions

View File

@ -47,6 +47,8 @@ HAVE_SHOUT :=
#
HAVE_AUDIOFILE :=
HAVE_FAAD :=
HAVE_FAAD_BUFLEN_FUNCS :=
HAVE_MP4AUDIOSPECIFICCONFIG :=
HAVE_FAACDECCONFIGURATION_DONTUPSAMPLEIMPLICITSBR :=
HAVE_FAACDECCONFIGURATION_DOWNMATRIX :=
HAVE_FAACDECFRAMEINFO_SAMPLERATE :=

View File

@ -41,5 +41,6 @@ ifeq ($(HAVE_OGGVORBIS),1)
endif
endif
ifeq ($(HAVE_WAVPACK),1)
mpd_LDFLAGS += -lwavpack
endif

View File

@ -7,6 +7,7 @@ have += FAACDECCONFIGURATION_DONTUPSAMPLEIMPLICITSBR
have += FAACDECCONFIGURATION_DOWNMATRIX
have += FAACDECFRAMEINFO_SAMPLERATE
have += MP4AUDIOSPECIFICCONFIG
have += FAAD_BUFLEN_FUNCS
have += FLAC
have += HELIXMP3
have += MIKMOD
@ -15,7 +16,7 @@ have += MPCDEC
have += OGGFLAC
have += OGGVORBIS
have += TREMOR
have += WAVPACK
have += ALSA
have += AO
have += FIFO

View File

@ -42,7 +42,7 @@ ifneq ($(HOST),$(build))
endif
endif
mpd_CFLAGS += -I$(O)/src
mpd_CFLAGS += -I$(O)/src -I$(O)
mpd_LDFLAGS += -lm
mpd_DIRS := $(O)/src/inputPlugins $(O)/src/audioOutputs