summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2018-01-26 16:23:01 +0000
committerEric Engestrom <eric.engestrom@imgtec.com>2018-01-29 15:41:52 +0000
commit5457e0082df2516ee20f2f08370eb063675e4de3 (patch)
treeefdc87f586dec5e790f3a158748453f4d43a8051
parent1d7bbf852094481a8f514ed786b7a7a8af67e5fe (diff)
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>
-rw-r--r--meson.build11
1 files changed, 7 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index 76a081a9..65366eee 100644
--- a/meson.build
+++ b/meson.build
@@ -251,14 +251,17 @@ if cc.compiles('''int foo_hidden(void) __attribute__((visibility(("hidden"))));'
config.set10('HAVE_VISIBILITY', true)
endif
-foreach t : [[with_intel, 'INTEL'], [with_vmwgfx, 'VMWGFX'],
- [with_nouveau, 'NOUVEAU'],
+foreach t : [
[with_exynos, 'EXYNOS'],
- [with_vc4, 'VC4'],
[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_valgrind.found(), 'VALGRIND'],
- [with_radeon, 'RADEON']]
+ ]
config.set10('HAVE_@0@'.format(t[1]), t[0])
endforeach
if with_freedreno_kgsl and not with_freedreno