aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorsluicebox2019-10-09 12:19:31 -0700
committerFilippos Karapetis2019-10-10 22:55:12 +0300
commit912bbf364c1c287f891291229d30226a5a71eed9 (patch)
tree19aab23318a982ff80636685f5d920d25b80ffdc /configure
parentc1697cd177eee47dc413273ff9f50b93cfcd5f9f (diff)
downloadscummvm-rg350-912bbf364c1c287f891291229d30226a5a71eed9.tar.gz
scummvm-rg350-912bbf364c1c287f891291229d30226a5a71eed9.tar.bz2
scummvm-rg350-912bbf364c1c287f891291229d30226a5a71eed9.zip
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
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 <windows.h>
+#include <Servprov.h>
+#include <sapi.h>
+int main(void) { return 0; }
+EOF
+ cc_check -lsapi -lole32 && _tts=yes
+ ;;
linux*)
cat > $TMPC << EOF
#include <speech-dispatcher/libspeechd.h>