summaryrefslogtreecommitdiffstats
path: root/tools/configure
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 9069c84e3b..aab3e59dfb 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1283,6 +1283,10 @@ voiceconfig () {
advopts="$advopts --voice=$CHOICE"
echo "Mimic voice set to $TTS_MIMIC_VOICE"
TTS_OPTS="$TTS_OPTS -voice $TTS_MIMIC_VOICE"
+ elif [ "$TTS_ENGINE" = "espeak" ] ; then
+ if [ -n "`findtool espeak-ng`" ] ; then
+ TTS_ENGINE="espeak-ng"
+ fi
fi
# Read custom tts options from command line