aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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