projects
/
platform
/
upstream
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e013ac2
)
meson: Define HAVE_UDEV when udev is found
author
Arnaud Rebillout
<arnaud.rebillout@collabora.com>
Thu, 20 Sep 2018 11:57:17 +0000
(18:57 +0700)
committer
Arun Raghavan
<arun@arunraghavan.net>
Thu, 4 Oct 2018 03:14:18 +0000
(08:44 +0530)
Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
8b95297
..
6e656ab
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-221,6
+221,9
@@
cdata.set('DISABLE_ORC', 1)
# Module dependencies
udev_dep = dependency('libudev', version : '>= 143', required : false)
+if udev_dep.found()
+ cdata.set('HAVE_UDEV', 1)
+endif
# Now generate config.h from everything above
configure_file(output : 'config.h', configuration : cdata)