projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bd461e
)
meson: detect alloca.h
author
Eric Engestrom
<eric.engestrom@imgtec.com>
Tue, 13 Mar 2018 14:31:29 +0000
(14:31 +0000)
committer
Eric Engestrom
<eric.engestrom@imgtec.com>
Wed, 14 Mar 2018 11:50:08 +0000
(11:50 +0000)
amdgpu makes use of it
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
b85f1d7
..
2a6c468
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-186,7
+186,7
@@
else
dep_rt = []
endif
dep_m = cc.find_library('m', required : false)
-foreach header : ['sys/sysctl.h', 'sys/select.h']
+foreach header : ['sys/sysctl.h', 'sys/select.h'
, 'alloca.h'
]
if cc.compiles('#include <@0@>'.format(header), name : '@0@ works'.format(header))
config.set10('HAVE_' + header.underscorify().to_upper(), true)
endif