scons: Disable protobuf if pkg-config and CheckLib fails
authorAndreas Hansson <andreas.hansson@arm.com>
Mon, 21 Jan 2013 14:20:18 +0000 (09:20 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Mon, 21 Jan 2013 14:20:18 +0000 (09:20 -0500)
commit62544f938a8a7387bd22b397d36c637a2656f34a
tree9bd774edfe81870e42fc5106650b52f3dd802070
parent1429d2124406440946fbe80a6e9dfe1148f3af91
scons: Disable protobuf if pkg-config and CheckLib fails

This patch changes the use of pkg-config such that protobuf is still
evaluated with CheckLib even if it fails. This is to allow setups
where libprotobuf is available, but not configured through
protobuf. Moreover, if CheckLib fails to use libprotobuf then all the
tracing is disabled, but scons is allowed to continue with a warning.
SConstruct