summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure20
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/configure b/tools/configure
index aab3e59dfb..96d45a9173 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1167,8 +1167,8 @@ voiceconfig () {
1167 DEFAULT_CHOICE="O" 1167 DEFAULT_CHOICE="O"
1168 fi 1168 fi
1169 1169
1170 if [ "$FESTIVAL" = "$FLITE" ] && [ "$FLITE" = "$ESPEAK" ] && [ "$ESPEAK" = "$SAPI" ] && [ "$SAPI" = "$MIMIC"] && [ "$MIMIC" = "$SWIFT" ] && [ "$SWIFT" = "$RBSPEAK" ] && [ "$RBSPEAK" = "$GTTS" ] ; then 1170 if [ "$FESTIVAL" = "$FLITE" ] && [ "$FLITE" = "$ESPEAK" ] && [ "$ESPEAK" = "$SAPI" ] && [ "$SAPI" = "$MIMIC"] && [ "$MIMIC" = "$SWIFT" ] && [ "$SWIFT" = "$GTTS" ] && [ "$GTTS" = "$RBSPEAK" ] ; then
1171 echo "You need Festival, eSpeak, Mimic, Flite, or rbspeak in your path, or SAPI available to build voice files" 1171 echo "You need Festival, eSpeak, Mimic, Flite, gtts, or rbspeak in your path, or SAPI available to build voice files"
1172 exit 3 1172 exit 3
1173 fi 1173 fi
1174 1174
@@ -1181,42 +1181,42 @@ voiceconfig () {
1181 advopts="$advopts --tts=$option" 1181 advopts="$advopts --tts=$option"
1182 fi 1182 fi
1183 case "$option" in 1183 case "$option" in
1184 [Ll]) 1184 [Ll]|flite)
1185 TTS_ENGINE="flite" 1185 TTS_ENGINE="flite"
1186 NOISEFLOOR="500" # TODO: check this value 1186 NOISEFLOOR="500" # TODO: check this value
1187 TTS_OPTS=$FLITE_OPTS 1187 TTS_OPTS=$FLITE_OPTS
1188 ;; 1188 ;;
1189 [Ee]) 1189 [Ee]|espeak)
1190 TTS_ENGINE="espeak" 1190 TTS_ENGINE="espeak"
1191 NOISEFLOOR="500" 1191 NOISEFLOOR="500"
1192 TTS_OPTS=$ESPEAK_OPTS 1192 TTS_OPTS=$ESPEAK_OPTS
1193 ;; 1193 ;;
1194 [Ff]) 1194 [Ff]|festival)
1195 TTS_ENGINE="festival" 1195 TTS_ENGINE="festival"
1196 NOISEFLOOR="500" 1196 NOISEFLOOR="500"
1197 TTS_OPTS=$FESTIVAL_OPTS 1197 TTS_OPTS=$FESTIVAL_OPTS
1198 ;; 1198 ;;
1199 [Mm]) 1199 [Mm]|mimic)
1200 TTS_ENGINE="mimic" 1200 TTS_ENGINE="mimic"
1201 NOISEFLOOR="500" 1201 NOISEFLOOR="500"
1202 TTS_OPTS=$MIMIC_OPTS 1202 TTS_OPTS=$MIMIC_OPTS
1203 ;; 1203 ;;
1204 [Ss]) 1204 [Ss]|sapi)
1205 TTS_ENGINE="sapi" 1205 TTS_ENGINE="sapi"
1206 NOISEFLOOR="500" 1206 NOISEFLOOR="500"
1207 TTS_OPTS=$SAPI_OPTS 1207 TTS_OPTS=$SAPI_OPTS
1208 ;; 1208 ;;
1209 [Ww]) 1209 [Ww]|swift)
1210 TTS_ENGINE="swift" 1210 TTS_ENGINE="swift"
1211 NOISEFLOOR="500" 1211 NOISEFLOOR="500"
1212 TTS_OPTS=$SWIFT_OPTS 1212 TTS_OPTS=$SWIFT_OPTS
1213 ;; 1213 ;;
1214 [Gg) 1214 [Gg]|gtts)
1215 TTS_ENGINE="gtts" 1215 TTS_ENGINE="gtts"
1216 NOISEFLOOR="500" 1216 NOISEFLOOR="500"
1217 TTS_OPTS=$GTTS_OPTS 1217 TTS_OPTS=$GTTS_OPTS
1218 ;; 1218 ;;
1219 [Oo]) 1219 [Oo]|rbspeak)
1220 TTS_ENGINE="rbspeak" 1220 TTS_ENGINE="rbspeak"
1221 NOISEFLOOR="500" 1221 NOISEFLOOR="500"
1222 TTS_OPTS=$RBSPEAK_OPTS 1222 TTS_OPTS=$RBSPEAK_OPTS