Skip to content
Commit ced219eb authored by Chris Wilson's avatar Chris Wilson
Browse files

configure: Fix pkg-config test in absence of valgrind



The empty string used for the not case is replaced by the default
if-else clause and so causes the configure to fail in the absence of
valgrind. Which is not quite what was intended.

Instead use the common idiom of setting a variable depending on whether
the true or false branch is taken and emit the conditional code as a
second step.

Reported-by: default avatarTobias Jakobi <liquid.acid@gmx.net>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 90b23cc2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment