diff options
author | Eric Engestrom | 2018-01-26 09:08:39 -0600 |
---|---|---|
committer | Eric Engestrom | 2018-01-29 09:41:52 -0600 |
commit | 1d7bbf852094481a8f514ed786b7a7a8af67e5fe (patch) | |
tree | e8390c053121a6ccca2991e7c8027e1cfaafbe32 /meson.build | |
parent | d2b0a4ec70d93040159af0cbc15717d35812ffc5 (diff) | |
download | external-libdrm-1d7bbf852094481a8f514ed786b7a7a8af67e5fe.tar.gz external-libdrm-1d7bbf852094481a8f514ed786b7a7a8af67e5fe.tar.xz external-libdrm-1d7bbf852094481a8f514ed786b7a7a8af67e5fe.zip |
always define HAVE_VALGRIND
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/meson.build b/meson.build index 15a1d405..76a081a9 100644 --- a/meson.build +++ b/meson.build | |||
@@ -257,16 +257,13 @@ foreach t : [[with_intel, 'INTEL'], [with_vmwgfx, 'VMWGFX'], | |||
257 | [with_vc4, 'VC4'], | 257 | [with_vc4, 'VC4'], |
258 | [with_freedreno_kgsl, 'FREEDRENO_KGSL'], | 258 | [with_freedreno_kgsl, 'FREEDRENO_KGSL'], |
259 | [dep_cairo.found(), 'CAIRO'], | 259 | [dep_cairo.found(), 'CAIRO'], |
260 | [dep_valgrind.found(), 'VALGRIND'], | ||
260 | [with_radeon, 'RADEON']] | 261 | [with_radeon, 'RADEON']] |
261 | config.set10('HAVE_@0@'.format(t[1]), t[0]) | 262 | config.set10('HAVE_@0@'.format(t[1]), t[0]) |
262 | endforeach | 263 | endforeach |
263 | if with_freedreno_kgsl and not with_freedreno | 264 | if with_freedreno_kgsl and not with_freedreno |
264 | error('cannot enable freedreno-kgsl without freedreno support') | 265 | error('cannot enable freedreno-kgsl without freedreno support') |
265 | endif | 266 | endif |
266 | if dep_valgrind.found() | ||
267 | config.set10('HAVE_VALGRIND', true) | ||
268 | endif | ||
269 | |||
270 | config.set10('_GNU_SOURCE', true) | 267 | config.set10('_GNU_SOURCE', true) |
271 | config_file = configure_file( | 268 | config_file = configure_file( |
272 | configuration : config, | 269 | configuration : config, |