summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-22 16:53:31 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-22 17:00:25 +0900
commitb976006bb58bcfa68fd64522081cc6f298478c26 (patch)
tree807370b793d6a2c910d7d0591e9ea74aca04aa06
parent3126f103f0d80648418307c52e68fbb9589ce399 (diff)
downloadenlightenment-b976006bb58bcfa68fd64522081cc6f298478c26.tar.gz
meson build - fix mixer build because the defines are only for existence
we use these defines with ifdef xxxx not #if xxxx and so they should ne undefed when not there and otherwise value when defined is irrelevant as long as they are defined. so use set not set10
-rw-r--r--src/modules/mixer/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/mixer/meson.build b/src/modules/mixer/meson.build
index e427701f06..e01d19a76d 100644
--- a/src/modules/mixer/meson.build
+++ b/src/modules/mixer/meson.build
@@ -23,14 +23,14 @@ if get_option('mixer') == true
config_h.set('USE_MODULE_MIXER', '1')
dep_alsa = dependency('alsa', version: '>= 1.0.8', required: false)
- config_h.set10('HAVE_ALSA', dep_alsa.found())
+ config_h.set('HAVE_ALSA', dep_alsa.found())
dep_pulse = dependency('libpulse', required: false)
dep_pulse_simple = dependency('libpulse-simple', required: false)
- config_h.set10('HAVE_PULSE', dep_pulse.found() and dep_pulse_simple.found())
- if config_h.has('HAVE_ALSA') == true
+ config_h.set('HAVE_PULSE', dep_pulse.found() and dep_pulse_simple.found())
+ if config_h.get('HAVE_ALSA') == true
mixer_lib += ['lib/backends/alsa/alsa.c']
endif
- if config_h.has('HAVE_PULSE') == true
+ if config_h.get('HAVE_PULSE') == true
mixer_lib += [
'lib/backends/pulseaudio/pulse_ml.c',
'lib/backends/pulseaudio/pulse.c'