mavlink/qgroundcontrol — pull request #484 by Susurrus (2014-01-29 05:04:36+00:00)
Title: Speech build fix

Refactored the build process for text-to-speech support. While it is still enabled by default on Linux, the supporting libraries are now checked to see if they exist before trying to build. Additionally speech support can now be disabled by running `qmake DEFINES+=DISABLE_SPEECH`.

Also, speech output is explicitly disabled on Windows and Mac for now, as the code support doesn't seem to exist from what I've seen. This is also stated to the user now through a qmake message.

This is a stepping stone towards Qt5, as it'll be easier if we can disable all unnecessary code, port QGC, then re-enable the additional functionality one at a time.

This should have minimal impact, so if I can get a look-over, this should be an easy merge.