aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThierry Crozat2019-07-28 14:56:38 +0100
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit0434419b31cc6c27d2fdebb34abdf0b3131f6b99 (patch)
tree265bdd3f72c20dab7584f80ef794bfd5bdbb18e7 /configure
parente965df1e8830c994da959ceaeb153d85fae7b859 (diff)
downloadscummvm-rg350-0434419b31cc6c27d2fdebb34abdf0b3131f6b99.tar.gz
scummvm-rg350-0434419b31cc6c27d2fdebb34abdf0b3131f6b99.tar.bz2
scummvm-rg350-0434419b31cc6c27d2fdebb34abdf0b3131f6b99.zip
TTS: Implement TextToSpeechManager for macOS
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure b/configure
index f1907427a8..c0ef73be7f 100755
--- a/configure
+++ b/configure
@@ -169,6 +169,7 @@ _iconv=auto
_tts=auto
_linux_tts=no
_windows_tts=no
+_macosx_tts=no
# Default option behavior yes/no
_debug_build=auto
_release_build=auto
@@ -4224,6 +4225,9 @@ int main(void) { return 0; }
EOF
cc_check -lspeechd && _tts=yes
;;
+ darwin*)
+ _tts=yes
+ ;;
esac
fi
echo "$_tts"
@@ -5414,6 +5418,12 @@ else
define_in_config_if_yes $_windows_tts 'USE_WINDOWS_TTS'
append_var LIBS '-lsapi -lole32'
;;
+ darwin*)
+ echo "osx"
+ _tts=yes
+ _macosx_tts=yes
+ define_in_config_if_yes $_macosx_tts 'USE_MACOSX_TTS'
+ ;;
*)
echo "no"
_tts=no