Use the HTS engine of audio/hts_engine-API: build only Festival's own glue
in this directory (the bundled engine is not even extracted), and link
with libHTSEngine.

--- src/modules/hts_engine/Makefile	2026-09-29 16:51:46 UTC
+++ src/modules/hts_engine/Makefile
@@ -45,17 +45,14 @@
 TOP=../../..
 DIRNAME=src/modules/hts_engine
 
-H = HTS_engine.h HTS_hidden.h
-
+# The engine itself is libHTSEngine from audio/hts_engine-API
 CPPSRCS = fest2hts_engine.cc
-CSRCS = HTS_audio.c HTS_engine.c HTS_gstream.c HTS_label.c HTS_misc.c HTS_model.c HTS_pstream.c HTS_sstream.c HTS_vocoder.c
 
-SRCS = $(CPPSRCS) $(CSRCS)
+SRCS = $(CPPSRCS)
 
-OBJS = $(CPPSRCS:.cc=.o) $(CSRCS:.c=.o)
-INFOS = README COPYING INSTALL AUTHORS
+OBJS = $(CPPSRCS:.cc=.o)
 
-FILES=Makefile $(SRCS) $(H) $(INFOS)
+FILES=Makefile $(SRCS)
 
 LOCAL_INCLUDES = -I ../include -D FESTIVAL
 
--- config/config.in	2026-09-29 16:51:46 UTC
+++ config/config.in
@@ -70,6 +70,7 @@
 
 ## NITECH and Tokyo Institute of Technologies HTS support
 ALSO_INCLUDE += hts_engine hts21_engine
+MODULE_EXTRA_LIBS += -lHTSEngine
 
 ## Old diphone code that will be delete, left in only for some
 ## compatibility
