aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-10 10:49:29 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commitf78fc85f3a0c92245802098327425d21670d9479 (patch)
tree4ae190e34e8b90c6dd8ce5a5a0ecedcba62c691e /configure
parentb1b03b18d35d59ad0d712c723a3d4f8c02dcfc18 (diff)
downloadscummvm-rg350-f78fc85f3a0c92245802098327425d21670d9479.tar.gz
scummvm-rg350-f78fc85f3a0c92245802098327425d21670d9479.tar.bz2
scummvm-rg350-f78fc85f3a0c92245802098327425d21670d9479.zip
TTS: Create a TTS skeleton
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure24
1 files changed, 24 insertions, 0 deletions
diff --git a/configure b/configure
index dfbbdb7b9f..8cfe58473e 100755
--- a/configure
+++ b/configure
@@ -166,6 +166,8 @@ _updates=no
_libunity=auto
_dialogs=auto
_iconv=auto
+_tts=auto
+_linux_tts=no
# Default option behavior yes/no
_debug_build=auto
_release_build=auto
@@ -1250,6 +1252,8 @@ for ac_option in $@; do
--disable-updates) _updates=no ;;
--enable-libunity) _libunity=yes ;;
--disable-libunity) _libunity=no ;;
+ --enable-tts) _tts=yes ;;
+ --disable-tts) _tts=no ;;
--enable-bink) _bink=yes ;;
--disable-bink) _bink=no ;;
--opengl-mode=*)
@@ -5357,6 +5361,26 @@ fi
define_in_config_if_yes $_dialogs 'USE_SYSDIALOGS'
#
+# Check whether to build TTS integration support
+#
+echo_n "Building text-to-speech integration support... "
+if test "$_tts" = "no"; then
+ echo "no"
+else
+ case $_host_os in
+ linux*)
+ echo "linux"
+ _tts=yes
+ _linux_tts=yes
+ ;;
+ *)
+ ;;
+ esac
+fi
+define_in_config_if_yes $_tts 'USE_TTS'
+define_in_config_if_yes $_linux_tts 'USE_LINUX_TTS'
+
+#
# Check whether to build Bink video support
#
echo_n "Building Bink video support... "