raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b976006bb58bcfa68fd64522081cc6f298478c26

commit b976006bb58bcfa68fd64522081cc6f298478c26
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sat Jul 22 16:53:31 2017 +0900

    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
---
 src/modules/mixer/meson.build | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/mixer/meson.build b/src/modules/mixer/meson.build
index e427701f0..e01d19a76 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'

-- 


Reply via email to