author | Chris Wilson <chris@chris-wilson.co.uk> | |
Mon, 13 Feb 2012 00:19:17 +0000 (00:19 +0000) | ||
committer | Chris Wilson <chris@chris-wilson.co.uk> | |
Mon, 13 Feb 2012 00:24:14 +0000 (00:24 +0000) | ||
commit | ced219ebbd3b266ac8326223bad62f994907ae6b | |
tree | e0e983205c69428a69e84d2a0c1bf5df2106785b | tree | snapshot (tar.xz tar.gz zip) |
parent | 90b23cc24c19fbe131d84237c55311cafeb4ca21 | commit | diff |
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: Tobias Jakobi <liquid.acid@gmx.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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: Tobias Jakobi <liquid.acid@gmx.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
configure.ac | diff | blob | history |