From 82e56b88ddc071eecc5dadc5386e372a84628a84 Mon Sep 17 00:00:00 2001 From: Yury Popov Date: Tue, 22 Nov 2022 19:40:32 +0300 Subject: [PATCH] tests: build with klatt and speechplayer --- Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.am b/Makefile.am index 06bfd130..d9becfdb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -290,6 +290,14 @@ src_libespeak_ng_test_la_CFLAGS = \ ${PCAUDIOLIB_CFLAGS} ${AM_CFLAGS} src_libespeak_ng_test_la_SOURCES = $(src_libespeak_ng_la_SOURCES) +if OPT_KLATT +src_libespeak_ng_test_la_CFLAGS += -DINCLUDE_KLATT +endif + +if OPT_SPEECHPLAYER +src_libespeak_ng_test_la_CFLAGS += -DINCLUDE_SPEECHPLAYER +endif + check_PROGRAMS += tests/encoding.test tests_encoding_test_LDADD = src/libespeak-ng.la