aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-03-13 09:31:29 -0500
committerEric Engestrom2018-03-14 06:50:08 -0500
commita58490de0d8ae5c290d2db6e59fc44edc829d9c6 (patch)
tree305b7b578dfb42fc6b82e381c87ba462785ee78f
parent2bd461e32a5fd50169704786ba975324ddc11cb2 (diff)
downloadexternal-libgbm-a58490de0d8ae5c290d2db6e59fc44edc829d9c6.tar.gz
external-libgbm-a58490de0d8ae5c290d2db6e59fc44edc829d9c6.tar.xz
external-libgbm-a58490de0d8ae5c290d2db6e59fc44edc829d9c6.zip
meson: detect alloca.h
amdgpu makes use of it Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index b85f1d7a..2a6c4680 100644
--- a/meson.build
+++ b/meson.build
@@ -186,7 +186,7 @@ else
186 dep_rt = [] 186 dep_rt = []
187endif 187endif
188dep_m = cc.find_library('m', required : false) 188dep_m = cc.find_library('m', required : false)
189foreach header : ['sys/sysctl.h', 'sys/select.h'] 189foreach header : ['sys/sysctl.h', 'sys/select.h', 'alloca.h']
190 if cc.compiles('#include <@0@>'.format(header), name : '@0@ works'.format(header)) 190 if cc.compiles('#include <@0@>'.format(header), name : '@0@ works'.format(header))
191 config.set10('HAVE_' + header.underscorify().to_upper(), true) 191 config.set10('HAVE_' + header.underscorify().to_upper(), true)
192 endif 192 endif