TTS: Refactor tts in configure

This commit is contained in:
Jaromir Wysoglad 2019-07-15 18:09:35 +02:00 committed by Filippos Karapetis
parent 53e0f21adc
commit 6303f522e1

8
configure vendored
View file

@ -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