diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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> +@interface SpeechDelegate : NSObject<NSSpeechSynthesizerDelegate> { +} +@end +int main(void) { return 0; } +EOF + cc_check -ObjC++ -lobjc && _tts=yes ;; esac fi |