From 912bbf364c1c287f891291229d30226a5a71eed9 Mon Sep 17 00:00:00 2001 From: sluicebox Date: Wed, 9 Oct 2019 12:19:31 -0700 Subject: TTS: Enable in Mingw-w64 builds TTS libraries can now be used in default Mingw-w64 environments. - Removes reference to sapiddk.h which isn't used and isn't in Mingw-w64 - Defines guids whose symbols are missing from Mingw-w64 - Restores TTS detection to configure script --- configure | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 401da536c8..86d80c40c4 100755 --- a/configure +++ b/configure @@ -4239,6 +4239,15 @@ echocheck "TTS libraries" if test "$_tts" = auto ; then _tts=no case $_host_os in + mingw*) + cat > $TMPC << EOF +#include +#include +#include +int main(void) { return 0; } +EOF + cc_check -lsapi -lole32 && _tts=yes + ;; linux*) cat > $TMPC << EOF #include -- cgit v1.2.3