[Scummvm-git-logs] scummvm master -> acebff9884c8f525bdfe92af48b8ce833a7a1cac
criezy
criezy at scummvm.org
Mon Sep 2 23:26:40 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
acebff9884 CONFIGURE: Add check for NSSpeechSynthesizerDelegate protocole availability on macOS
Commit: acebff9884c8f525bdfe92af48b8ce833a7a1cac
https://github.com/scummvm/scummvm/commit/acebff9884c8f525bdfe92af48b8ce833a7a1cac
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2019-09-02T22:24:42+01:00
Commit Message:
CONFIGURE: Add check for NSSpeechSynthesizerDelegate protocole availability on macOS
Changed paths:
configure
diff --git a/configure b/configure
index fe56b92..935f53f 100755
--- a/configure
+++ b/configure
@@ -4223,7 +4223,15 @@ EOF
cc_check -lspeechd && _tts=yes
;;
darwin*)
- _tts=yes
+ # Check the API is available. The most recent API we need is for the NSSpeechSynthesizerDelegate protocole
+ cat > $TMPC << EOF
+#include <AppKit/NSSpeechSynthesizer.h>
+ at interface SpeechDelegate : NSObject<NSSpeechSynthesizerDelegate> {
+}
+ at end
+int main(void) { return 0; }
+EOF
+ cc_check -ObjC++ -lobjc && _tts=yes
;;
esac
fi
More information about the Scummvm-git-logs
mailing list