speech-dispatcher 0.8 has changed the location where the libspeechd.h header
file is installed, and users are expected to reference it from the top-level
directory, ie.
#include <speech-dispatcher/libspeechd.h>
Version 0.8 also installs a .pc pkg-config file.
Since speech-dispatcher 0.7 is still very widespread, we cannot assume this new
structure and .pc file are always available, so resort to adding the
"speech-dispatcher/" prefix to the #include based on whether `pkg-config
--exists' does not fail.
Arguably, we should also start calling `pkg-config --{cflags,libs-only-l,etc}',
but not having the .pc file always available would make the changes more
complicated. Since everything has worked so far without that, keeping the
status quo for now should be fine.
BUG=
TEST=Build with speech-dispatcher >= 0.8 installed.
Review URL: https://chromiumcodereview.appspot.com/14296005
git-svn-id: http://src.chromium.org/svn/trunk/src/build@195204 4ff67af0-8c30-449e-8e8b-ad334ec8d88c