summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2009-12-08 10:24:59 +0000
committerBjörn Stenberg <bjorn@haxx.se>2009-12-08 10:24:59 +0000
commitf5ef0b9f1060e336495b71aa8f73cb15a6bb18d4 (patch)
treee75af55e66aebe74c514c82c96154d215346b21e /tools
parent953f4d4accd4ee1ef1fab880a01fa65ec85614a5 (diff)
downloadrockbox-f5ef0b9f1060e336495b71aa8f73cb15a6bb18d4.tar.gz
rockbox-f5ef0b9f1060e336495b71aa8f73cb15a6bb18d4.zip
Do not prompt for encoder and tts options. They are now command line only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23895 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools')
-rwxr-xr-xtools/configure29
1 files changed, 8 insertions, 21 deletions
diff --git a/tools/configure b/tools/configure
index eeb13fa21f..fa7be456f6 100755
--- a/tools/configure
+++ b/tools/configure
@@ -628,19 +628,12 @@ voiceconfig () {
echo "(voice_$TTS_FESTIVAL_VOICE)" > festival-prolog.scm
fi
- # Allow the user to input manual commandline options
+ # Read custom tts options from command line
if [ "$ARG_TTSOPTS" ]; then
- USER_TTS_OPTS=$ARG_TTSOPTS
- else
- printf "Enter $TTS_ENGINE options (enter for defaults \"$TTS_OPTS\"): "
- USER_TTS_OPTS=`input`
- echo ""
- fi
- advopts="$advopts --ttsopts='$USER_TTS_OPTS'"
- if [ -n "$USER_TTS_OPTS" ]; then
- TTS_OPTS="$USER_TTS_OPTS"
+ TTS_OPTS="$ARG_TTS_OPTS"
+ advopts="$advopts --ttsopts='$TTS_OPTS'"
+ echo "$TTS_ENGINE options set to $TTS_OPTS"
fi
- echo "$TTS_ENGINE options set to $TTS_OPTS"
if [ "$swcodec" = "yes" ]; then
ENCODER="rbspeexenc"
@@ -660,18 +653,12 @@ voiceconfig () {
echo "Using $ENCODER for encoding voice clips"
- # Allow the user to input manual commandline options
+ # Read custom encoder options from command line
if [ "$ARG_ENCOPTS" ]; then
- USER_ENC_OPTS=$ARG_ENCOPTS
- else
- printf "Enter $ENCODER options (enter for defaults \"$ENC_OPTS\"): "
- USER_ENC_OPTS=`input`
- fi
- advopts="$advopts --encopts='$USER_ENC_OPTS'"
- if [ -n "$USER_ENC_OPTS" ]; then
- ENC_OPTS=$USER_ENC_OPTS
+ ENC_OPTS="$ARG_ENCOPTS"
+ advopts="$advopts --encopts='$ENC_OPTS'"
+ echo "$ENCODER options set to $ENC_OPTS"
fi
- echo "$ENCODER options set to $ENC_OPTS"
TEMPDIR="${pwd}"
if [ -n "`findtool cygpath`" ]; then