From 0434419b31cc6c27d2fdebb34abdf0b3131f6b99 Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sun, 28 Jul 2019 14:56:38 +0100 Subject: TTS: Implement TextToSpeechManager for macOS --- configure | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3