TTS: Refactor tts in configure
This commit is contained in:
parent
53e0f21adc
commit
6303f522e1
1 changed files with 5 additions and 3 deletions
8
configure
vendored
8
configure
vendored
|
@ -5363,7 +5363,7 @@ define_in_config_if_yes $_dialogs 'USE_SYSDIALOGS'
|
||||||
#
|
#
|
||||||
# Check whether to build TTS integration support
|
# 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
|
if test "$_tts" = "no"; then
|
||||||
echo "no"
|
echo "no"
|
||||||
else
|
else
|
||||||
|
@ -5372,14 +5372,16 @@ else
|
||||||
echo "linux"
|
echo "linux"
|
||||||
_tts=yes
|
_tts=yes
|
||||||
_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
|
esac
|
||||||
fi
|
fi
|
||||||
define_in_config_if_yes $_tts 'USE_TTS'
|
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
|
# Check whether to build Bink video support
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue