Changeset 718
- Timestamp:
- 11/18/07 13:14:51 (15 years ago)
- Files:
-
- trunk/libffado/SConstruct (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/SConstruct
r717 r718 97 97 opts.Save( 'cache/' + build_base + "options.cache", env ) 98 98 99 # 100 # Check for apps... 101 # 102 def CheckForApp( context, app ): 103 context.Message( "Checking if '%s' executes... " % app ) 104 ret = context.env.WhereIs( app ) 105 if ret != "": 106 context.Result( True ) 107 else: 108 context.Result( False ) 109 return ret 110 111 tests = { 'CheckForApp' : CheckForApp } 99 100 tests = {} 112 101 tests.update( env['PKGCONFIG_TESTS'] ) 113 102 … … 160 149 # Optional checks follow: 161 150 # 162 env['PYUIC'] = conf.CheckForApp( 'pyuic' )163 151 env['ALSA_SEQ_OUTPUT'] = conf.CheckLib( 'asound', symbol='snd_seq_event_output_direct', autoadd=0 ) 164 152 … … 203 191 env['sharedir'] = Template( os.path.join( env['SHAREDIR'] ) ).safe_substitute( env ) 204 192 193 env.Command( target=env['sharedir'], source="", action=Mkdir( env['sharedir'] ) ) 194 205 195 env.Alias( "install", env['libdir'] ) 206 196 env.Alias( "install", env['includedir'] )