aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-15 18:09:35 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit6303f522e180f1474434c75c0e5a4d44b141fe3a (patch)
tree5e68d88c38ca3ecb35a086a81f45926698e533a8 /configure
parent53e0f21adc92908beb1f2308268d4b3e04876887 (diff)
downloadscummvm-rg350-6303f522e180f1474434c75c0e5a4d44b141fe3a.tar.gz
scummvm-rg350-6303f522e180f1474434c75c0e5a4d44b141fe3a.tar.bz2
scummvm-rg350-6303f522e180f1474434c75c0e5a4d44b141fe3a.zip
TTS: Refactor tts in configure
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
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