diff options
author | sluicebox | 2019-10-09 12:19:31 -0700 |
---|---|---|
committer | Filippos Karapetis | 2019-10-10 22:55:12 +0300 |
commit | 912bbf364c1c287f891291229d30226a5a71eed9 (patch) | |
tree | 19aab23318a982ff80636685f5d920d25b80ffdc /configure | |
parent | c1697cd177eee47dc413273ff9f50b93cfcd5f9f (diff) | |
download | scummvm-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-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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> |