autotools: add support for disabling MBROLA (--without-mbrola/--with-mbrola=no)

This commit is contained in:
Reece H. Dunn
2013-09-16 10:37:45 +01:00
parent a725bba818
commit 83df50a40f
4 changed files with 19 additions and 6 deletions
+5 -1
View File
@@ -60,7 +60,6 @@ common_SOURCE = \
src/compiledict.cpp \
src/dictionary.cpp \
src/intonation.cpp \
src/mbrowrap.cpp \
src/numbers.cpp \
src/readclause.cpp \
src/phonemelist.cpp \
@@ -101,6 +100,11 @@ common_FLAGS += -DINCLUDE_KLATT
common_SOURCE += src/klatt.cpp
endif
if OPT_MBROLA
common_FLAGS += -DINCLUDE_MBROLA
common_SOURCE += src/mbrowrap.cpp
endif
if AUDIO_RUNTIME
wave_SOURCE = src/wave.cpp src/wave_pulse.cpp
wave_LIBS = -lpulse -lpulse-simple -lportaudio