projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scons: Test for random_r()
[mesa.git]
/
scons
/
gallium.py
diff --git
a/scons/gallium.py
b/scons/gallium.py
index 27727612d1415c2caf445c284b3898acb466053f..6d5b2fccc17319b7eddf9687926ee273be0d5a2a 100755
(executable)
--- a/
scons/gallium.py
+++ b/
scons/gallium.py
@@
-368,6
+368,9
@@
def generate(env):
if check_functions(env, ['strtod_l', 'strtof_l']):
cppdefines += ['HAVE_STRTOD_L']
+ if check_functions(env, 'random_r'):
+ cppdefines += ['HAVE_RANDOM_R']
+
if check_functions(env, ['timespec_get']):
cppdefines += ['HAVE_TIMESPEC_GET']