Changeset 1699

Show
Ignore:
Timestamp:
11/02/09 13:48:55 (14 years ago)
Author:
arnonym
Message:

Fix alsa-dependancy.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/support/alsa/SConscript

    r1550 r1699  
    3737sources = ["alsa_plugin.cpp"] 
    3838 
    39 if env['ALSA_FLAGS']: 
     39if env.has_key("ALSA_FLAGS") and env['ALSA_FLAGS']: 
    4040    env.MergeFlags( env["ALSA_FLAGS"] ) 
    4141    env.MergeFlags( "-DPIC" ) 
  • trunk/libffado/tests/SConscript

    r1550 r1699  
    4646        "ffado-test" : "test-ffado.cpp", 
    4747        "test-fw410" : "test-fw410.cpp", 
    48         "test-avccmd" : "test-avccmd.cpp", 
    4948        #"test-extplugcmd" : "test-extplugcmd.cpp", 
    5049        "test-volume" : "test-volume.cpp", 
     
    6766        apps.update( { "test-focusrite" : "test-focusrite.cpp" } ) 
    6867if env['ENABLE_GENERICAVC']: 
    69         env.MergeFlags( env["ALSA_FLAGS"] ) # FIXME: only used here 
    70         apps.update( { "test-scs" : "test-scs.cpp" } ) 
     68        if env.has_key("ALSA_FLAGS") and env["ALSA_FLAGS"]: 
     69                env.MergeFlags( env["ALSA_FLAGS"] ) 
     70                apps.update( { "test-scs" : "test-scs.cpp" } ) 
     71        apps.update( { "test-avccmd" : "test-avccmd.cpp" } ) 
    7172if env['ENABLE_FIREWORKS']: 
    7273        apps.update( { "test-echomixer" : "test-echomixer.cpp" } )