From 6303f522e180f1474434c75c0e5a4d44b141fe3a Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Mon, 15 Jul 2019 18:09:35 +0200 Subject: TTS: Refactor tts in configure --- configure | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index af65184a2e..503766d95f 100755 --- a/configure +++ b/configure @@ -5363,7 +5363,7 @@ define_in_config_if_yes $_dialogs 'USE_SYSDIALOGS' # # Check whether to build TTS integration support # -echo_n "Building text-to-speech integration support... " +echo_n "Building text-to-speech support... " if test "$_tts" = "no"; then echo "no" else @@ -5372,14 +5372,16 @@ else echo "linux" _tts=yes _linux_tts=yes + define_in_config_if_yes $_linux_tts 'USE_LINUX_TTS' + append_var LIBS '-lspeechd' ;; *) + echo "no" + _tts=no ;; esac fi define_in_config_if_yes $_tts 'USE_TTS' -define_in_config_if_yes $_linux_tts 'USE_LINUX_TTS' -append_var LIBS '-lspeechd' # # Check whether to build Bink video support -- cgit v1.2.3