meson: sort HAVE_* defines
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>main
parent
1d7bbf8520
commit
5457e0082d
11
meson.build
11
meson.build
|
@ -251,14 +251,17 @@ if cc.compiles('''int foo_hidden(void) __attribute__((visibility(("hidden"))));'
|
||||||
config.set10('HAVE_VISIBILITY', true)
|
config.set10('HAVE_VISIBILITY', true)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
foreach t : [[with_intel, 'INTEL'], [with_vmwgfx, 'VMWGFX'],
|
foreach t : [
|
||||||
[with_nouveau, 'NOUVEAU'],
|
|
||||||
[with_exynos, 'EXYNOS'],
|
[with_exynos, 'EXYNOS'],
|
||||||
[with_vc4, 'VC4'],
|
|
||||||
[with_freedreno_kgsl, 'FREEDRENO_KGSL'],
|
[with_freedreno_kgsl, 'FREEDRENO_KGSL'],
|
||||||
|
[with_intel, 'INTEL'],
|
||||||
|
[with_nouveau, 'NOUVEAU'],
|
||||||
|
[with_radeon, 'RADEON'],
|
||||||
|
[with_vc4, 'VC4'],
|
||||||
|
[with_vmwgfx, 'VMWGFX'],
|
||||||
[dep_cairo.found(), 'CAIRO'],
|
[dep_cairo.found(), 'CAIRO'],
|
||||||
[dep_valgrind.found(), 'VALGRIND'],
|
[dep_valgrind.found(), 'VALGRIND'],
|
||||||
[with_radeon, 'RADEON']]
|
]
|
||||||
config.set10('HAVE_@0@'.format(t[1]), t[0])
|
config.set10('HAVE_@0@'.format(t[1]), t[0])
|
||||||
endforeach
|
endforeach
|
||||||
if with_freedreno_kgsl and not with_freedreno
|
if with_freedreno_kgsl and not with_freedreno
|
||||||
|
|
Loading…
Reference in New Issue