Blame SOURCES/festival-2.5.0-use-system-speech-tools.patch

23b78b
diff -u --recursive festival-vanilla/config/config.in festival/config/config.in
23b78b
--- festival-vanilla/config/config.in	2018-08-29 21:19:10.570829790 -0400
23b78b
+++ festival/config/config.in	2018-08-29 21:19:57.329977377 -0400
23b78b
@@ -10,7 +10,12 @@
23b78b
 ###########################################################################
23b78b
 ## Which speech tools to use
23b78b
 
23b78b
-EST=$(TOP)/../speech_tools
23b78b
+ARCH := $(shell uname -p)
23b78b
+ifeq ($(ARCH),$(filter $(ARCH),x86_64 s390x ppc64le aarch64))
23b78b
+EST=/usr/lib64/speech_tools
23b78b
+else
23b78b
+EST=/usr/lib/speech_tools
23b78b
+endif
23b78b
 
23b78b
 ###########################################################################
23b78b
 ## Where the festival tree will be installed.